Mercurial > hg > graal-compiler
diff src/share/vm/prims/jvmtiClassFileReconstituter.cpp @ 6976:8aaef2cee3b2
Merge
author | minqi |
---|---|
date | Thu, 08 Nov 2012 16:48:01 -0800 |
parents | 64812523d72e 18fb7da42534 |
children | c456f4510385 |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp Wed Oct 31 16:20:03 2012 -0700 +++ b/src/share/vm/prims/jvmtiClassFileReconstituter.cpp Thu Nov 08 16:48:01 2012 -0800 @@ -753,7 +753,7 @@ unsigned char* p = bytecodes; Bytecodes::Code code; - bool is_rewritten = InstanceKlass::cast(mh->method_holder())->is_rewritten(); + bool is_rewritten = mh->method_holder()->is_rewritten(); while ((code = bs.next()) >= 0) { assert(Bytecodes::is_java_code(code), "sanity check");