[wasm] Load imported functions with LoadImmutableFromObject
This is the only change in crrev.com/c/3398111 that may have impacted performance. Bug: chromium:1289597 Change-Id: I375535aa5c8382073565f1270dc5cc9c5598af4e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3406534 Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#78734}
This commit is contained in:
parent
57c7f7b93a
commit
0b4bc0a81a
@ -3068,7 +3068,7 @@ Node* WasmGraphBuilder::BuildImportCall(const wasm::FunctionSig* sig,
|
||||
func_index_intptr, gasm_->IntPtrConstant(kSystemPointerSize));
|
||||
Node* imported_targets =
|
||||
LOAD_INSTANCE_FIELD(ImportedFunctionTargets, MachineType::Pointer());
|
||||
Node* target_node = gasm_->LoadImmutable(
|
||||
Node* target_node = gasm_->LoadImmutableFromObject(
|
||||
MachineType::Pointer(), imported_targets, func_index_times_pointersize);
|
||||
args[0] = target_node;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user