# HG changeset patch # User Doug Simon # Date 1415056410 -3600 # Node ID 95b2f8b8250e41c05eda5e4c7ce5e3be8c3c3c8d # Parent e04712c8928a8861215249b5c146c98dc6b2876c fixed spelling mistake diff -r e04712c8928a -r 95b2f8b8250e graal/com.oracle.graal.baseline/src/com/oracle/graal/baseline/BaselineFrameStateBuilder.java --- a/graal/com.oracle.graal.baseline/src/com/oracle/graal/baseline/BaselineFrameStateBuilder.java Mon Nov 03 10:31:39 2014 -0800 +++ b/graal/com.oracle.graal.baseline/src/com/oracle/graal/baseline/BaselineFrameStateBuilder.java Tue Nov 04 00:13:30 2014 +0100 @@ -40,7 +40,7 @@ } @Override - protected Value[] getEmtpyArray() { + protected Value[] getEmptyArray() { return EMPTY_ARRAY; } diff -r e04712c8928a -r 95b2f8b8250e graal/com.oracle.graal.java/src/com/oracle/graal/java/AbstractFrameStateBuilder.java --- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/AbstractFrameStateBuilder.java Mon Nov 03 10:31:39 2014 -0800 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/AbstractFrameStateBuilder.java Tue Nov 04 00:13:30 2014 +0100 @@ -55,7 +55,7 @@ this.stackSize = other.stackSize; this.locals = other.locals.clone(); this.stack = other.stack.clone(); - this.lockedObjects = other.lockedObjects == getEmtpyArray() ? getEmtpyArray() : other.lockedObjects.clone(); + this.lockedObjects = other.lockedObjects == getEmptyArray() ? getEmptyArray() : other.lockedObjects.clone(); this.rethrowException = other.rethrowException; assert locals.length == method.getMaxLocals(); @@ -64,7 +64,7 @@ public abstract S copy(); - protected abstract T[] getEmtpyArray(); + protected abstract T[] getEmptyArray(); public abstract boolean isCompatibleWith(S other); @@ -371,7 +371,7 @@ stackindex += stackSlots(element.getKind()); } stackSize = base; - return r.toArray(getEmtpyArray()); + return r.toArray(getEmptyArray()); } /** diff -r e04712c8928a -r 95b2f8b8250e graal/com.oracle.graal.java/src/com/oracle/graal/java/HIRFrameStateBuilder.java --- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/HIRFrameStateBuilder.java Mon Nov 03 10:31:39 2014 -0800 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/HIRFrameStateBuilder.java Tue Nov 04 00:13:30 2014 +0100 @@ -95,7 +95,7 @@ } @Override - protected ValueNode[] getEmtpyArray() { + protected ValueNode[] getEmptyArray() { return EMPTY_ARRAY; }