diff src/share/vm/c1/c1_Runtime1.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 126ea7725993
children d5d065957597
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Runtime1.cpp	Mon Aug 23 09:09:36 2010 -0700
+++ b/src/share/vm/c1/c1_Runtime1.cpp	Wed Aug 25 05:27:54 2010 -0700
@@ -118,8 +118,7 @@
   assert(0 <= id && id < number_of_ids, "illegal stub id");
   ResourceMark rm;
   // create code buffer for code storage
-  CodeBuffer code(buffer_blob->instructions_begin(),
-                  buffer_blob->instructions_size());
+  CodeBuffer code(buffer_blob);
 
   Compilation::setup_code_buffer(&code, 0);