Index: src/wasm/wasm-interpreter.cc |
diff --git a/src/wasm/wasm-interpreter.cc b/src/wasm/wasm-interpreter.cc |
index 164da8dfe509939b4e3716797b09e79342614375..25265fa314d5739179a888361e757aea11c1fdc6 100644 |
--- a/src/wasm/wasm-interpreter.cc |
+++ b/src/wasm/wasm-interpreter.cc |
@@ -1036,7 +1036,8 @@ class ThreadImpl : public WasmInterpreter::Thread { |
if (state_ == WasmInterpreter::STOPPED || |
state_ == WasmInterpreter::PAUSED) { |
state_ = WasmInterpreter::RUNNING; |
- Execute(frames_.back().code, frames_.back().ret_pc, kRunSteps); |
+ Execute(codemap()->Preprocess(frames_.back().code), |
titzer
2016/09/22 14:18:24
Maybe PushFrame should do this?
ahaas
2016/09/22 14:40:37
I moved Preprocess to FindCode in the CodeMap. I t
|
+ frames_.back().ret_pc, kRunSteps); |
} |
} while (state_ == WasmInterpreter::STOPPED); |
return state_; |