Commit a4283771 authored by Dominik Inführ's avatar Dominik Inführ Committed by Commit Bot

[compiler] Allow heap access from JSIntrinsicLowering

ReduceToString performs heap access on the background thread.

Change-Id: Ic93ee21d6eeb96fe1dbd2b98043e6ccff0eefa64
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2577458
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71648}
parent 13314a20
......@@ -27,8 +27,6 @@ JSIntrinsicLowering::JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph,
: AdvancedReducer(editor), jsgraph_(jsgraph), broker_(broker) {}
Reduction JSIntrinsicLowering::Reduce(Node* node) {
DisallowHeapAccessIf no_heap_access(broker()->is_concurrent_inlining());
if (node->opcode() != IrOpcode::kJSCallRuntime) return NoChange();
const Runtime::Function* const f =
Runtime::FunctionForId(CallRuntimeParametersOf(node->op()).id());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment