equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2003-2010 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 // definition. See stubRoutines.hpp for a description on how to |
26 // definition. See stubRoutines.hpp for a description on how to |
27 // extend it. |
27 // extend it. |
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 code_size1 = 19000, // simply increase if too small (assembler will crash if too small) |
33 code_size1 = 19000, // simply increase if too small (assembler will |
33 code_size2 = 22000 // simply increase if too small (assembler will crash if too small) |
34 // crash if too small) |
34 }; |
35 code_size2 = 22000 // simply increase if too small (assembler will |
35 |
36 // crash if too small) |
36 // MethodHandles adapters |
|
37 enum method_handles_platform_dependent_constants { |
|
38 method_handles_adapters_code_size = 13000 |
37 }; |
39 }; |
38 |
40 |
39 class x86 { |
41 class x86 { |
40 friend class StubGenerator; |
42 friend class StubGenerator; |
41 |
43 |