[wasm] Disable node splitting for asm.js code.
R=herhut@chromium.org BUG=chromium:903197 Change-Id: Ibc9225afe4237f221ae169de3ce6b3abb45e2708 Reviewed-on: https://chromium-review.googlesource.com/c/1328925 Reviewed-by: Stephan Herhut <herhut@chromium.org> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#57390}
This commit is contained in:
parent
be9cd5edc5
commit
631dd28db8
@ -1062,6 +1062,9 @@ PipelineWasmCompilationJob::ExecuteJobImpl() {
|
||||
PipelineData* data = &data_;
|
||||
data->BeginPhaseKind("wasm optimization");
|
||||
const bool is_asm_js = native_module_->module()->origin == wasm::kAsmJsOrigin;
|
||||
if (FLAG_turbo_splitting && !is_asm_js) {
|
||||
data->info()->MarkAsSplittingEnabled();
|
||||
}
|
||||
if (FLAG_wasm_opt || is_asm_js) {
|
||||
PipelineRunScope scope(data, "wasm full optimization");
|
||||
GraphReducer graph_reducer(scope.zone(), data->graph(),
|
||||
|
@ -79,9 +79,6 @@ void OptimizedCompilationInfo::ConfigureFlags() {
|
||||
break;
|
||||
case Code::WASM_FUNCTION:
|
||||
SetFlag(kSwitchJumpTableEnabled);
|
||||
if (FLAG_turbo_splitting) {
|
||||
MarkAsSplittingEnabled();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user