src/share/vm/opto/runtime.cpp

changeset 5106
e76dd894b984
parent 4364
2d6c433b1f38
child 5353
b800986664f4
child 6441
d2907f74462e
     1.1 --- a/src/share/vm/opto/runtime.cpp	Fri May 03 09:32:50 2013 +0200
     1.2 +++ b/src/share/vm/opto/runtime.cpp	Wed Apr 24 14:26:09 2013 +0200
     1.3 @@ -126,17 +126,15 @@
     1.4  
     1.5  // This should be called in an assertion at the start of OptoRuntime routines
     1.6  // which are entered from compiled code (all of them)
     1.7 -#ifndef PRODUCT
     1.8 +#ifdef ASSERT
     1.9  static bool check_compiled_frame(JavaThread* thread) {
    1.10    assert(thread->last_frame().is_runtime_frame(), "cannot call runtime directly from compiled code");
    1.11 -#ifdef ASSERT
    1.12    RegisterMap map(thread, false);
    1.13    frame caller = thread->last_frame().sender(&map);
    1.14    assert(caller.is_compiled_frame(), "not being called from compiled like code");
    1.15 -#endif  /* ASSERT */
    1.16    return true;
    1.17  }
    1.18 -#endif
    1.19 +#endif // ASSERT
    1.20  
    1.21  
    1.22  #define gen(env, var, type_func_gen, c_func, fancy_jump, pass_tls, save_arg_regs, return_pc) \

mercurial