28 |
28 |
29 static bool returns_to_call_stub(address return_pc) { return return_pc == _call_stub_return_address; } |
29 static bool returns_to_call_stub(address return_pc) { return return_pc == _call_stub_return_address; } |
30 |
30 |
31 enum platform_dependent_constants |
31 enum platform_dependent_constants |
32 { |
32 { |
33 code_size1 = 9000, // simply increase if too small (assembler will |
33 code_size1 = 19000, // simply increase if too small (assembler will |
34 // crash if too small) |
34 // crash if too small) |
35 code_size2 = 22000 // simply increase if too small (assembler will |
35 code_size2 = 22000 // simply increase if too small (assembler will |
36 // crash if too small) |
36 // crash if too small) |
37 }; |
37 }; |
38 |
38 |
39 class amd64 { |
39 class x86 { |
40 friend class StubGenerator; |
40 friend class StubGenerator; |
41 |
41 |
42 private: |
42 private: |
43 static address _get_previous_fp_entry; |
43 static address _get_previous_fp_entry; |
44 static address _verify_mxcsr_entry; |
44 static address _verify_mxcsr_entry; |