v8/test/inspector/debugger/wasm-scope-info-liftoff-expected.txt
Jakob Kummerow 8d7747a715 [strings] Reclaim a bit in the hash field
By replacing usage of the IsNotArrayIndex bit with IsNotIntegerIndex,
we get back one bit that we can use to increase the number of hash bits
stored. The price is that strings that represent array/integer indices
beyond the cacheable range will have to be scanned more often, but these
strings should be rare, and we expect that the additional hash bit is
more worthwhile to have.

Bug: v8:9904
Change-Id: I33f74b0a73f4754aee85805d4b7c409177668439
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2051947
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66299}
2020-02-17 18:26:07 +00:00

146 lines
4.0 KiB
Plaintext

Test retrieving scope information from compiled Liftoff frames
Installing instantiate code.
Waiting for wasm script to be parsed.
Calling instantiate function.
Got wasm script!
Setting breakpoint on line 2 (first instruction) of third function
{
columnNumber : 85
lineNumber : 0
scriptId : <scriptId>
}
Paused:
Script wasm://wasm/c4eb034a byte offset 85: Wasm opcode 0x20
Scope:
at C (interpreted) (0:85):
- scope (global):
globals: "global#0": 0 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
stack:
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 0 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 0 (number)
- scope (local):
locals: "arg#0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
Script wasm://wasm/c4eb034a byte offset 87: Wasm opcode 0x24
Scope:
at C (interpreted) (0:87):
- scope (global):
globals: "global#0": 0 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
stack: "0": 42 (number)
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 0 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 0 (number)
- scope (local):
locals: "arg#0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
Script wasm://wasm/c4eb034a byte offset 89: Wasm opcode 0x41
Scope:
at C (interpreted) (0:89):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
stack:
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "arg#0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
Script wasm://wasm/c4eb034a byte offset 91: Wasm opcode 0x21
Scope:
at C (interpreted) (0:91):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
stack: "0": 47 (number)
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "arg#0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
Script wasm://wasm/c4eb034a byte offset 93: Wasm opcode 0xb
Scope:
at C (interpreted) (0:93):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 47 (number)
stack:
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 42 (number)
- scope (local):
locals: "arg#0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
instance.exports.main(42)#
Scope:
at (anonymous) (0:25):
- scope (global):
-- skipped globals
exports.main returned. Test finished.