diff src/share/vm/ci/ciStreams.hpp @ 3897:de847cac9235

7078382: JSR 292: don't count method handle adapters against inlining budgets Reviewed-by: kvn, never
author twisti
date Wed, 31 Aug 2011 01:40:45 -0700
parents 8012aa3ccede
children 1d7922586cf6
line wrap: on
line diff
--- a/src/share/vm/ci/ciStreams.hpp	Tue Aug 30 19:01:58 2011 -0700
+++ b/src/share/vm/ci/ciStreams.hpp	Wed Aug 31 01:40:45 2011 -0700
@@ -129,7 +129,8 @@
   // Return current ByteCode and increment PC to next bytecode, skipping all
   // intermediate constants.  Returns EOBC at end.
   // Expected usage:
-  //     while( (bc = iter.next()) != EOBC() ) { ... }
+  //     ciBytecodeStream iter(m);
+  //     while (iter.next() != ciBytecodeStream::EOBC()) { ... }
   Bytecodes::Code next() {
     _bc_start = _pc;                        // Capture start of bc
     if( _pc >= _end ) return EOBC();        // End-Of-Bytecodes