hotspot/src/share/vm/c1/c1_Runtime1.cpp
changeset 6418 6671edbd230e
parent 6176 4d9030fe341f
child 6453 970dc585ab63
--- a/hotspot/src/share/vm/c1/c1_Runtime1.cpp	Mon Aug 23 09:09:36 2010 -0700
+++ b/hotspot/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);