Commit 45d5dc8c authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[asm.js] Re-enable asm-wasm translation timer

This timer is disabled since the switch to the new validator.
This CL brings it back.

R=mstarzinger@chromium.org

Change-Id: Ie454af72205564d6fec05dd4b7b44c1e3d0c37d6
Reviewed-on: https://chromium-review.googlesource.com/505610Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45300}
parent f2b9c500
...@@ -118,6 +118,9 @@ MaybeHandle<FixedArray> AsmJs::CompileAsmViaWasm(CompilationInfo* info) { ...@@ -118,6 +118,9 @@ MaybeHandle<FixedArray> AsmJs::CompileAsmViaWasm(CompilationInfo* info) {
asm_wasm_timer.Start(); asm_wasm_timer.Start();
size_t asm_wasm_zone_start = info->zone()->allocation_size(); size_t asm_wasm_zone_start = info->zone()->allocation_size();
{ {
HistogramTimerScope asm_wasm_time_scope(
info->isolate()->counters()->asm_wasm_translation_time());
wasm::AsmJsParser parser(info->isolate(), info->zone(), info->script(), wasm::AsmJsParser parser(info->isolate(), info->zone(), info->script(),
info->literal()->start_position(), info->literal()->start_position(),
info->literal()->end_position()); info->literal()->end_position());
......
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