Mercurial > hg > truffle
changeset 16888:8f4150982bc3
validateFormat should validate caller too
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 21 Aug 2014 17:50:00 -0700 |
parents | aa412e64808e |
children | 3d190fc2e081 |
files | graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/BytecodeFrame.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/BytecodeFrame.java Thu Aug 21 17:40:00 2014 -0700 +++ b/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/BytecodeFrame.java Thu Aug 21 17:50:00 2014 -0700 @@ -161,6 +161,9 @@ * because of Word type rewriting and alternative backends that can't be done. */ public boolean validateFormat() { + if (caller() != null) { + caller().validateFormat(); + } for (int i = 0; i < numLocals + numStack; i++) { if (values[i] != null) { Kind kind = values[i].getKind();