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}
63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
Tests stepping to javascript from wasm
|
|
Installing code and global variable.
|
|
Calling instantiate function.
|
|
Waiting for wasm scripts to be parsed.
|
|
Ignoring script with url v8://test/callInstantiate
|
|
Got wasm script: wasm://wasm/242f4a16
|
|
Setting breakpoint at start of wasm function
|
|
{
|
|
columnNumber : 33
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
}
|
|
Start run 1
|
|
paused
|
|
function test() {
|
|
#debugger;
|
|
instance.exports.main();
|
|
|
|
Debugger.resume
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 33: Wasm opcode 0x1
|
|
Debugger.stepOut
|
|
paused
|
|
instance.exports.main();
|
|
var x = #1;
|
|
x++;
|
|
|
|
Debugger.resume
|
|
exports.main returned!
|
|
Finished run 1!
|
|
|
|
Start run 2
|
|
paused
|
|
function test() {
|
|
#debugger;
|
|
instance.exports.main();
|
|
|
|
Debugger.resume
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 33: Wasm opcode 0x1
|
|
Debugger.stepOver
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 34: Wasm opcode 0xb
|
|
Debugger.resume
|
|
exports.main returned!
|
|
Finished run 2!
|
|
|
|
Start run 3
|
|
paused
|
|
function test() {
|
|
#debugger;
|
|
instance.exports.main();
|
|
|
|
Debugger.resume
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 33: Wasm opcode 0x1
|
|
Debugger.stepInto
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 34: Wasm opcode 0xb
|
|
Debugger.resume
|
|
exports.main returned!
|
|
Finished run 3!
|