< prev index next >

src/share/vm/ci/ciArray.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1999, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 64,73 **** --- 64,75 ---- oop elem = objary->obj_at(index); ciEnv* env = CURRENT_ENV; ciObject* box = env->get_object(elem); return ciConstant(T_OBJECT, box); } + default: + break; } assert(ary->is_typeArray(), ""); typeArrayOop tary = (typeArrayOop) ary; jint value = 0; switch (elembt) {
< prev index next >