Skip to content

Commit

Permalink
Merged: [wasm] Remove temp_instance in LoadTableSegments
Browse files Browse the repository at this point in the history
Revision: 7273f70

BUG=v8:6146
LOG=N
NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true

Change-Id: I5dc0fc5a593e2b66ed928e8451ed10c46c1ce6bf
Reviewed-on: https://chromium-review.googlesource.com/464867
Reviewed-by: Clemens Hammacher <[email protected]>
Cr-Commit-Position: refs/branch-heads/5.8@{crosswalk-project#45}
Cr-Branched-From: eda659c-refs/heads/5.8.283@{crosswalk-project#1}
Cr-Branched-From: 4310cd0-refs/heads/master@{#43429}
  • Loading branch information
gahaas committed Mar 31, 2017
1 parent 99e7b37 commit db030b5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/wasm/wasm-module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2019,11 +2019,6 @@ class InstantiationHelper {
// TODO(titzer): We compile JS->WASM wrappers for functions are
// not exported but are in an exported table. This should be done
// at module compile time and cached instead.
WasmInstance temp_instance(module_);
temp_instance.context = isolate_->native_context();
temp_instance.mem_size = 0;
temp_instance.mem_start = nullptr;
temp_instance.globals_start = nullptr;

Handle<Code> wrapper_code =
js_to_wasm_cache_.CloneOrCompileJSToWasmWrapper(
Expand Down

0 comments on commit db030b5

Please sign in to comment.