0b69b05a08
This allows us to remove the PatternRewriter. Change-Id: I54ec74ed3bd31e76e38c69f9b0b2a78f8620cd89 Reviewed-on: https://chromium-review.googlesource.com/c/1429863 Commit-Queue: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/master@{#59028}
36 lines
431 B
Plaintext
36 lines
431 B
Plaintext
Embedding script 'function c(f, ...args) { return f(...args); }'
|
|
Tests that stepping works on snapshotted function
|
|
paused
|
|
}
|
|
#debugger;
|
|
c(f, 2);
|
|
|
|
paused
|
|
debugger;
|
|
#c(f, 2);
|
|
}
|
|
|
|
paused
|
|
function c(f, ...args) { #return f(...args); }
|
|
|
|
paused
|
|
function f(x) {
|
|
#return x * 2;
|
|
}
|
|
|
|
paused
|
|
function f(x) {
|
|
return x * 2;#
|
|
}
|
|
|
|
paused
|
|
function c(f, ...args) { return f(...args);# }
|
|
|
|
paused
|
|
c(f, 2);
|
|
#}
|
|
|
|
paused
|
|
test()#
|
|
|