1.1 --- a/src/share/vm/c1/c1_LIRAssembler.cpp Fri Aug 31 16:39:35 2012 -0700 1.2 +++ b/src/share/vm/c1/c1_LIRAssembler.cpp Sat Sep 01 13:25:18 2012 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -74,13 +74,19 @@ 1.11 } 1.12 } else if (patch->id() == PatchingStub::load_klass_id) { 1.13 switch (code) { 1.14 - case Bytecodes::_putstatic: 1.15 - case Bytecodes::_getstatic: 1.16 case Bytecodes::_new: 1.17 case Bytecodes::_anewarray: 1.18 case Bytecodes::_multianewarray: 1.19 case Bytecodes::_instanceof: 1.20 case Bytecodes::_checkcast: 1.21 + break; 1.22 + default: 1.23 + ShouldNotReachHere(); 1.24 + } 1.25 + } else if (patch->id() == PatchingStub::load_mirror_id) { 1.26 + switch (code) { 1.27 + case Bytecodes::_putstatic: 1.28 + case Bytecodes::_getstatic: 1.29 case Bytecodes::_ldc: 1.30 case Bytecodes::_ldc_w: 1.31 break;