aboutsummaryrefslogtreecommitdiffstats
path: root/moth
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2012-11-20 09:48:11 +0100
committerLars Knoll <lars.knoll@digia.com>2012-11-20 12:04:27 +0100
commit72cda7ed8c06103d0a66a6441ddf1ab52d3010f1 (patch)
tree4e0bbbaeb2d526f8e75bd0e05b748ca20c9c006e /moth
parent3780a47c4654d228933eeecef036d1b7963e256a (diff)
Actually return the return value from the interpreter.
Change-Id: I38cb4bc431f1bab796f08fc217747e06070a2c78 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'moth')
-rw-r--r--moth/qv4vme_moth.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/moth/qv4vme_moth.cpp b/moth/qv4vme_moth.cpp
index 080d3953bc..48a02f6032 100644
--- a/moth/qv4vme_moth.cpp
+++ b/moth/qv4vme_moth.cpp
@@ -360,8 +360,7 @@ void **VME::instructionJumpTable()
VM::Value VME::exec(VM::ExecutionContext *ctxt, const uchar *code)
{
VME vme;
- vme(ctxt, code);
- return VM::Value::undefinedValue();
+ return vme(ctxt, code);
}
void VME::restoreState(VM::ExecutionContext *context, int &targetTempIndex, const uchar *&code)