Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 18172:c59612b9d110
Use arrayOop subclasses in graalJavaAccess
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 24 Oct 2014 12:45:27 -0700 |
parents | 94faadc823ea |
children | a8cff27ca2e1 |
comparison
equal
deleted
inserted
replaced
18171:9bb816169777 | 18172:c59612b9d110 |
---|---|
987 | 987 |
988 // all locals are materialized by now | 988 // all locals are materialized by now |
989 HotSpotStackFrameReference::set_localIsVirtual(hs_frame, NULL); | 989 HotSpotStackFrameReference::set_localIsVirtual(hs_frame, NULL); |
990 | 990 |
991 // update the locals array | 991 // update the locals array |
992 objArrayHandle array = (objArrayOop) HotSpotStackFrameReference::locals(hs_frame); | 992 objArrayHandle array = HotSpotStackFrameReference::locals(hs_frame); |
993 StackValueCollection* locals = virtualFrames->at(last_frame_number)->locals(); | 993 StackValueCollection* locals = virtualFrames->at(last_frame_number)->locals(); |
994 for (int i = 0; i < locals->size(); i++) { | 994 for (int i = 0; i < locals->size(); i++) { |
995 StackValue* var = locals->at(i); | 995 StackValue* var = locals->at(i); |
996 if (var->type() == T_OBJECT) { | 996 if (var->type() == T_OBJECT) { |
997 array->obj_at_put(i, locals->at(i)->get_obj()()); | 997 array->obj_at_put(i, locals->at(i)->get_obj()()); |