Chromium Code Reviews| Index: src/wasm/wasm-module.cc |
| diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
| index dbacfb85dc1cd9446ff1b0075eee9c1d9aa45e27..ee87e8f84e802a4956de66e01997815c18d9e062 100644 |
| --- a/src/wasm/wasm-module.cc |
| +++ b/src/wasm/wasm-module.cc |
| @@ -174,7 +174,8 @@ class JSToWasmWrapperCache { |
| if (target->kind() == Code::WASM_FUNCTION || |
| target->kind() == Code::WASM_TO_JS_FUNCTION || |
| target->builtin_index() == Builtins::kIllegal) { |
| - it.rinfo()->set_target_address(wasm_code->instruction_start()); |
| + it.rinfo()->set_target_address(target->GetIsolate(), |
|
ahaas
2017/03/17 10:24:07
I think you could also just use {isolate}.
neis
2017/03/17 10:31:51
Acknowledged.
|
| + wasm_code->instruction_start()); |
| break; |
| } |
| } |