src/cpu/x86/vm/c1_MacroAssembler_x86.cpp

changeset 1215
c96bf21b756f
parent 739
dc7f315e41f7
child 1279
bd02caa94611
     1.1 --- a/src/cpu/x86/vm/c1_MacroAssembler_x86.cpp	Fri May 08 10:34:31 2009 -0700
     1.2 +++ b/src/cpu/x86/vm/c1_MacroAssembler_x86.cpp	Fri May 08 10:44:20 2009 -0700
     1.3 @@ -258,7 +258,7 @@
     1.4      }
     1.5    }
     1.6  
     1.7 -  if (DTraceAllocProbes) {
     1.8 +  if (CURRENT_ENV->dtrace_alloc_probes()) {
     1.9      assert(obj == rax, "must be");
    1.10      call(RuntimeAddress(Runtime1::entry_for(Runtime1::dtrace_object_alloc_id)));
    1.11    }
    1.12 @@ -291,7 +291,7 @@
    1.13    const Register len_zero = len;
    1.14    initialize_body(obj, arr_size, header_size * BytesPerWord, len_zero);
    1.15  
    1.16 -  if (DTraceAllocProbes) {
    1.17 +  if (CURRENT_ENV->dtrace_alloc_probes()) {
    1.18      assert(obj == rax, "must be");
    1.19      call(RuntimeAddress(Runtime1::entry_for(Runtime1::dtrace_object_alloc_id)));
    1.20    }

mercurial