8d7747a715
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}
301 lines
6.0 KiB
Plaintext
301 lines
6.0 KiB
Plaintext
Tests stepping through wasm scripts by byte offsets
|
|
Setting up global instance variable.
|
|
Got wasm script: wasm://wasm/befe41aa
|
|
Setting breakpoint on offset 59 (should be propagated to 60, the offset of the call), url wasm://wasm/befe41aa
|
|
{
|
|
columnNumber : 60
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
}
|
|
Paused at wasm://wasm/befe41aa:0:60
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":3}
|
|
stack: {"0":1024}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:39
|
|
at wasm_A (0:39):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1024}
|
|
stack: {}
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":3}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepOver called
|
|
Paused at wasm://wasm/befe41aa:0:40
|
|
at wasm_A (0:40):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1024}
|
|
stack: {}
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":3}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepOut called
|
|
Paused at wasm://wasm/befe41aa:0:62
|
|
at wasm_B (0:62):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":3}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepOut called
|
|
Paused at wasm://wasm/befe41aa:0:60
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":2}
|
|
stack: {"0":1024}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepOver called
|
|
Paused at wasm://wasm/befe41aa:0:62
|
|
at wasm_B (0:62):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":2}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:44
|
|
at wasm_B (0:44):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":2}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.resume called
|
|
Paused at wasm://wasm/befe41aa:0:60
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {"0":1024}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:39
|
|
at wasm_A (0:39):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1024}
|
|
stack: {}
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepOut called
|
|
Paused at wasm://wasm/befe41aa:0:62
|
|
at wasm_B (0:62):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:44
|
|
at wasm_B (0:44):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:46
|
|
at wasm_B (0:46):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:48
|
|
at wasm_B (0:48):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {"0":1}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:50
|
|
at wasm_B (0:50):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:52
|
|
at wasm_B (0:52):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {"0":1}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:54
|
|
at wasm_B (0:54):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {"0":1,"1":1}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:55
|
|
at wasm_B (0:55):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1}
|
|
stack: {"0":0}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:57
|
|
at wasm_B (0:57):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":0}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:60
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":0}
|
|
stack: {"0":1024}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:39
|
|
at wasm_A (0:39):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1024}
|
|
stack: {}
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":0}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:40
|
|
at wasm_A (0:40):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1024}
|
|
stack: {}
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":0}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:41
|
|
at wasm_A (0:41):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":1024}
|
|
stack: {}
|
|
at wasm_B (0:60):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":0}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.stepInto called
|
|
Paused at wasm://wasm/befe41aa:0:62
|
|
at wasm_B (0:62):
|
|
- scope (global):
|
|
-- skipped
|
|
- scope (local):
|
|
locals: {"arg#0":0}
|
|
stack: {}
|
|
at (anonymous) (0:17):
|
|
- scope (global):
|
|
-- skipped
|
|
Debugger.resume called
|
|
exports.main returned!
|
|
Finished!
|