Mercurial > hg > graal-compiler
diff src/share/vm/opto/runtime.cpp @ 9160:f2aebc22372a
Fix hotspot optimized build
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 16 Apr 2013 17:17:22 +0200 |
parents | 4fc2763e670e |
children | 836a62f43af9 |
line wrap: on
line diff
--- a/src/share/vm/opto/runtime.cpp Tue Apr 16 17:39:46 2013 +0200 +++ b/src/share/vm/opto/runtime.cpp Tue Apr 16 17:17:22 2013 +0200 @@ -126,14 +126,12 @@ // This should be called in an assertion at the start of OptoRuntime routines // which are entered from compiled code (all of them) -#ifndef PRODUCT +#ifdef ASSERT static bool check_compiled_frame(JavaThread* thread) { assert(thread->last_frame().is_runtime_frame(), "cannot call runtime directly from compiled code"); -#ifdef ASSERT RegisterMap map(thread, false); frame caller = thread->last_frame().sender(&map); assert(caller.is_compiled_frame(), "not being called from compiled like code"); -#endif /* ASSERT */ return true; } #endif