src/hotspot/share/interpreter/rewriter.cpp
changeset 51592 1ddd1ec04431
parent 51467 12997ebbc0d8
child 53746 bdccafc038a2
equal deleted inserted replaced
51591:9183040e34d8 51592:1ddd1ec04431
   398         prefix_length = 1;
   398         prefix_length = 1;
   399         c = (Bytecodes::Code)bcp[1];
   399         c = (Bytecodes::Code)bcp[1];
   400       }
   400       }
   401     }
   401     }
   402 
   402 
   403     assert(bc_length != 0, "impossible bytecode length");
   403     // Continuing with an invalid bytecode will fail in the loop below.
       
   404     // So guarantee here.
       
   405     guarantee(bc_length > 0, "Verifier should have caught this invalid bytecode");
   404 
   406 
   405     switch (c) {
   407     switch (c) {
   406       case Bytecodes::_lookupswitch   : {
   408       case Bytecodes::_lookupswitch   : {
   407 #ifndef CC_INTERP
   409 #ifndef CC_INTERP
   408         Bytecode_lookupswitch bc(method, bcp);
   410         Bytecode_lookupswitch bc(method, bcp);