diff core/src/luan/impl/LuanStateImpl.java @ 663:b438a47196bc

finish compiling function blocks
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Apr 2016 00:01:10 -0600
parents f1150518c467
children 58ebfec6178b
line wrap: on
line diff
--- a/core/src/luan/impl/LuanStateImpl.java	Wed Apr 06 21:47:45 2016 -0600
+++ b/core/src/luan/impl/LuanStateImpl.java	Thu Apr 07 00:01:10 2016 -0600
@@ -53,7 +53,6 @@
 	}
 
 	private Frame frame = null;
-	public Object returnValues;
 
 	LuanStateImpl() {}
 
@@ -69,13 +68,11 @@
 
 	// returns stack
 	Object[] newFrame(Closure closure, int stackSize, Object[] varArgs) {
-		returnValues = LuanFunction.NOTHING;
 		frame = new Frame(frame,closure,stackSize,varArgs);
 		return frame.stack;
 	}
 
 	void popFrame() {
-		returnValues = LuanFunction.NOTHING;
 		frame = frame.previousFrame;
 	}