Mercurial > hg > truffle
comparison src/share/vm/interpreter/abstractInterpreter.hpp @ 1339:09ac706c2623
Merge
author | asaha |
---|---|
date | Wed, 24 Mar 2010 17:16:33 -0700 |
parents | ddb7834449d0 |
children | 2338d41fbd81 |
comparison
equal
deleted
inserted
replaced
1338:f5dd08ad65df | 1339:09ac706c2623 |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2009 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. |
107 static address entry_for_kind(MethodKind k) { assert(0 <= k && k < number_of_method_entries, "illegal kind"); return _entry_table[k]; } | 107 static address entry_for_kind(MethodKind k) { assert(0 <= k && k < number_of_method_entries, "illegal kind"); return _entry_table[k]; } |
108 static address entry_for_method(methodHandle m) { return _entry_table[method_kind(m)]; } | 108 static address entry_for_method(methodHandle m) { return _entry_table[method_kind(m)]; } |
109 | 109 |
110 static void print_method_kind(MethodKind kind) PRODUCT_RETURN; | 110 static void print_method_kind(MethodKind kind) PRODUCT_RETURN; |
111 | 111 |
112 static bool can_be_compiled(methodHandle m); | |
113 | |
112 // Runtime support | 114 // Runtime support |
113 | 115 |
114 // length = invoke bytecode length (to advance to next bytecode) | 116 // length = invoke bytecode length (to advance to next bytecode) |
115 static address deopt_entry (TosState state, int length) { ShouldNotReachHere(); return NULL; } | 117 static address deopt_entry (TosState state, int length) { ShouldNotReachHere(); return NULL; } |
116 static address return_entry (TosState state, int length) { ShouldNotReachHere(); return NULL; } | 118 static address return_entry (TosState state, int length) { ShouldNotReachHere(); return NULL; } |