comparison src/share/vm/interpreter/abstractInterpreter.hpp @ 1174:ddb7834449d0

6849984: Value methods for platform dependent math functions constant fold incorrectly Reviewed-by: kvn, twisti
author never
date Fri, 15 Jan 2010 11:53:33 -0800
parents 9987d9d5eb0e
children 2338d41fbd81
comparison
equal deleted inserted replaced
1173:73b22f919c34 1174:ddb7834449d0
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; }