equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 1997-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. |
35 (return_pc == _call_stub_return_address ); |
35 (return_pc == _call_stub_return_address ); |
36 } |
36 } |
37 |
37 |
38 enum /* platform_dependent_constants */ { |
38 enum /* platform_dependent_constants */ { |
39 // %%%%%%%% May be able to shrink this a lot |
39 // %%%%%%%% May be able to shrink this a lot |
40 code_size1 = 20000, // simply increase if too small (assembler will crash if too small) |
40 code_size1 = 20000, // simply increase if too small (assembler will crash if too small) |
41 code_size2 = 20000 // simply increase if too small (assembler will crash if too small) |
41 code_size2 = 20000 // simply increase if too small (assembler will crash if too small) |
|
42 }; |
|
43 |
|
44 // MethodHandles adapters |
|
45 enum method_handles_platform_dependent_constants { |
|
46 method_handles_adapters_code_size = 5000 |
42 }; |
47 }; |
43 |
48 |
44 class Sparc { |
49 class Sparc { |
45 friend class StubGenerator; |
50 friend class StubGenerator; |
46 |
51 |