[wasm] Make sure the interpreter only executes preprocessed code.
BUG=chromium:646753 R=titzer@chromium.org Review-Url: https://codereview.chromium.org/2365633002 Cr-Commit-Position: refs/heads/master@{#39638}
This commit is contained in:
parent
e5ac75c635
commit
813be42791
@ -941,7 +941,7 @@ class CodeMap {
|
||||
if (function->func_index < interpreter_code_.size()) {
|
||||
InterpreterCode* code = &interpreter_code_[function->func_index];
|
||||
DCHECK_EQ(function, code->function);
|
||||
return code;
|
||||
return Preprocess(code);
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user