diff src/cpu/x86/vm/vm_version_x86.cpp @ 1748:3e8fbc61cee8

6978355: renaming for 6961697 Summary: This is the renaming part of 6961697 to keep the actual changes small for review. Reviewed-by: kvn, never
author twisti
date Wed, 25 Aug 2010 05:27:54 -0700
parents f55c4f82ab9d
children f95d63e2154a
line wrap: on
line diff
--- a/src/cpu/x86/vm/vm_version_x86.cpp	Mon Aug 23 09:09:36 2010 -0700
+++ b/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());