41f231a25a
For memory tracing, output a 'T' for Turbofan code and an 'L' for Liftoff code. To do this, the WasmCodeWrapper now has some dispatch functions which work for both on-the-heap and off-the-heap code. We can probably refactor more code by having this mechanism. Since the output of --wasm-trace-memory differs now between Turbofan and Liftoff, the message test is split in two. R=titzer@chromium.org CC=mstarzinger@chromium.org Bug: v8:6600 Change-Id: Ic5fd18c631f5c8aaad19d639df75b18098895b5a Reviewed-on: https://chromium-review.googlesource.com/868214 Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#50655}
10 lines
528 B
Plaintext
10 lines
528 B
Plaintext
L 0+0x3 load @00000004 i32:0 / 00000000
|
|
L 1+0x3 load @00000001 i8:0 / 00
|
|
L 3+0x5 store @00000004 i32:305419896 / 12345678
|
|
L 0+0x3 load @00000002 i32:1450704896 / 56780000
|
|
L 1+0x3 load @00000006 i8:52 / 34
|
|
L 2+0x3 load @00000002 f32:68169720922112.000000 / 56780000
|
|
L 4+0x5 store @00000004 i8:171 / ab
|
|
L 0+0x3 load @00000002 i32:1454047232 / 56ab0000
|
|
L 2+0x3 load @00000002 f32:94008244174848.000000 / 56ab0000
|