Mercurial > hg > truffle
comparison src/cpu/x86/vm/stubRoutines_x86_64.hpp @ 3753:cba7b5c2d53f
7045514: SPARC assembly code for JSR 292 ricochet frames
Reviewed-by: kvn, jrose
author | never |
---|---|
date | Fri, 03 Jun 2011 22:31:43 -0700 |
parents | 167b70ff3abc |
children | da4be62fb889 |
comparison
equal
deleted
inserted
replaced
3752:f918d6096e23 | 3753:cba7b5c2d53f |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. 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. |
32 static bool returns_to_call_stub(address return_pc) { return return_pc == _call_stub_return_address; } | 32 static bool returns_to_call_stub(address return_pc) { return return_pc == _call_stub_return_address; } |
33 | 33 |
34 enum platform_dependent_constants { | 34 enum platform_dependent_constants { |
35 code_size1 = 19000, // simply increase if too small (assembler will crash if too small) | 35 code_size1 = 19000, // simply increase if too small (assembler will crash if too small) |
36 code_size2 = 22000 // simply increase if too small (assembler will crash if too small) | 36 code_size2 = 22000 // simply increase if too small (assembler will crash if too small) |
37 }; | |
38 | |
39 // MethodHandles adapters | |
40 enum method_handles_platform_dependent_constants { | |
41 method_handles_adapters_code_size = 80000 DEBUG_ONLY(+ 120000) | |
42 }; | 37 }; |
43 | 38 |
44 class x86 { | 39 class x86 { |
45 friend class StubGenerator; | 40 friend class StubGenerator; |
46 | 41 |