hotspot/src/share/vm/code/codeBlob.cpp
changeset 6432 d36e09b60939
parent 6418 6671edbd230e
child 7397 5b173b4ca846
--- a/hotspot/src/share/vm/code/codeBlob.cpp	Thu Aug 26 11:05:25 2010 -0700
+++ b/hotspot/src/share/vm/code/codeBlob.cpp	Fri Aug 27 01:51:27 2010 -0700
@@ -92,7 +92,7 @@
   _header_size           = header_size;
   _relocation_size       = round_to(cb->total_relocation_size(), oopSize);
   _content_offset        = align_code_offset(header_size + _relocation_size);
-  _code_offset           = _content_offset + cb->total_offset_of(cb->insts()->start());
+  _code_offset           = _content_offset + cb->total_offset_of(cb->insts());
   _data_offset           = _content_offset + round_to(cb->total_content_size(), oopSize);
   assert(_data_offset <= size, "codeBlob is too small");