equal
deleted
inserted
replaced
28 |
28 |
29 // This file holds the platform specific parts of the StubRoutines |
29 // This file holds the platform specific parts of the StubRoutines |
30 // definition. See stubRoutines.hpp for a description on how to |
30 // definition. See stubRoutines.hpp for a description on how to |
31 // extend it. |
31 // extend it. |
32 |
32 |
33 // n.b. if we are notifying entry/exit to the simulator then the call |
|
34 // stub does a notify at normal return placing |
|
35 // call_stub_return_address one instruction beyond the notify. the |
|
36 // latter address is sued by the stack unwind code when doign an |
|
37 // exception return. |
|
38 static bool returns_to_call_stub(address return_pc) { |
33 static bool returns_to_call_stub(address return_pc) { |
39 return return_pc == _call_stub_return_address + (NotifySimulator ? -4 : 0); |
34 return return_pc == _call_stub_return_address; |
40 } |
35 } |
41 |
36 |
42 enum platform_dependent_constants { |
37 enum platform_dependent_constants { |
43 code_size1 = 19000, // simply increase if too small (assembler will crash if too small) |
38 code_size1 = 19000, // simply increase if too small (assembler will crash if too small) |
44 code_size2 = 28000 // simply increase if too small (assembler will crash if too small) |
39 code_size2 = 28000 // simply increase if too small (assembler will crash if too small) |