hotspot/src/share/vm/interpreter/interpreter.hpp
changeset 6418 6671edbd230e
parent 6176 4d9030fe341f
child 7397 5b173b4ca846
--- a/hotspot/src/share/vm/interpreter/interpreter.hpp	Mon Aug 23 09:09:36 2010 -0700
+++ b/hotspot/src/share/vm/interpreter/interpreter.hpp	Wed Aug 25 05:27:54 2010 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -117,7 +117,7 @@
 
 
     // commit Codelet
-    AbstractInterpreter::code()->commit((*_masm)->code()->pure_code_size());
+    AbstractInterpreter::code()->commit((*_masm)->code()->pure_insts_size());
     // make sure nobody can use _masm outside a CodeletMark lifespan
     *_masm = NULL;
   }