hotspot/src/cpu/x86/vm/vm_version_x86.cpp
changeset 6418 6671edbd230e
parent 6272 94a20ad0e9de
child 7397 5b173b4ca846
--- a/hotspot/src/cpu/x86/vm/vm_version_x86.cpp	Mon Aug 23 09:09:36 2010 -0700
+++ b/hotspot/src/cpu/x86/vm/vm_version_x86.cpp	Wed Aug 25 05:27:54 2010 -0700
@@ -595,8 +595,7 @@
   if (stub_blob == NULL) {
     vm_exit_during_initialization("Unable to allocate getPsrInfo_stub");
   }
-  CodeBuffer c(stub_blob->instructions_begin(),
-               stub_blob->instructions_size());
+  CodeBuffer c(stub_blob);
   VM_Version_StubGenerator g(&c);
   getPsrInfo_stub = CAST_TO_FN_PTR(getPsrInfo_stub_t,
                                    g.generate_getPsrInfo());