Mercurial > hg > truffle
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 19732:6a3832494e24
Check for derived pointers before passing BytecodeFrame into HotSpot
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 09 Mar 2015 13:07:18 -0700 |
parents | d0b4f9771622 |
children | deab43a789ad |
comparison
equal
deleted
inserted
replaced
19731:d0b4f9771622 | 19732:6a3832494e24 |
---|---|
210 } | 210 } |
211 | 211 |
212 oop lirKind = AbstractValue::lirKind(value); | 212 oop lirKind = AbstractValue::lirKind(value); |
213 oop platformKind = LIRKind::platformKind(lirKind); | 213 oop platformKind = LIRKind::platformKind(lirKind); |
214 jint referenceMask = LIRKind::referenceMask(lirKind); | 214 jint referenceMask = LIRKind::referenceMask(lirKind); |
215 assert(referenceMask != -1, "derived pointers are not allowed"); | |
215 assert(referenceMask == 0 || referenceMask == 1, "unexpected referenceMask"); | 216 assert(referenceMask == 0 || referenceMask == 1, "unexpected referenceMask"); |
216 bool reference = referenceMask == 1; | 217 bool reference = referenceMask == 1; |
217 | 218 |
218 BasicType type = GraalRuntime::kindToBasicType(Kind::typeChar(platformKind)); | 219 BasicType type = GraalRuntime::kindToBasicType(Kind::typeChar(platformKind)); |
219 | 220 |