dea16c9a42
Reason for revert: [Sheriff] Fails on nosnap debug: https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20debug/builds/8403 Original issue's description: > [Interpreter] Collect type feedback for 'new' in the bytecode handler > > Collect type feedback in the bytecode handler for 'new' bytecode. The > earlier cl (https://codereview.chromium.org/2153433002/) was reverted > because that implementation did not collect allocation site feedback. > This regressed delta blue by an order of magnitude. This implementation > includes collection of allocation site feedback. > > BUG=v8:4280, v8:4780 > LOG=N > > Committed: https://crrev.com/9d5e6129c4c7f9cbfe81a5fad2a470f219fe137c > Cr-Commit-Position: refs/heads/master@{#38364} TBR=bmeurer@chromium.org,rmcilroy@chromium.org,balazs.kilvady@imgtec.com,mythria@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:4280, v8:4780 Review-Url: https://codereview.chromium.org/2212343002 Cr-Commit-Position: refs/heads/master@{#38368}
87 lines
1.6 KiB
Plaintext
87 lines
1.6 KiB
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
pool type: mixed
|
|
execute: yes
|
|
wrap: no
|
|
test function name: f
|
|
|
|
---
|
|
snippet: "
|
|
function bar() { this.value = 0; }
|
|
function f() { return new bar(); }
|
|
f();
|
|
"
|
|
frame size: 1
|
|
parameter count: 1
|
|
bytecode array length: 11
|
|
bytecodes: [
|
|
/* 45 E> */ B(StackCheck),
|
|
/* 50 S> */ B(LdrGlobal), U8(3), R(0),
|
|
B(Ldar), R(0),
|
|
/* 57 E> */ B(New), R(0), R(0), U8(0),
|
|
/* 68 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
function bar(x) { this.value = 18; this.x = x;}
|
|
function f() { return new bar(3); }
|
|
f();
|
|
"
|
|
frame size: 2
|
|
parameter count: 1
|
|
bytecode array length: 15
|
|
bytecodes: [
|
|
/* 58 E> */ B(StackCheck),
|
|
/* 63 S> */ B(LdrGlobal), U8(3), R(0),
|
|
B(LdaSmi), U8(3),
|
|
B(Star), R(1),
|
|
B(Ldar), R(0),
|
|
/* 70 E> */ B(New), R(0), R(1), U8(1),
|
|
/* 82 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
function bar(w, x, y, z) {
|
|
this.value = 18;
|
|
this.x = x;
|
|
this.y = y;
|
|
this.z = z;
|
|
}
|
|
function f() { return new bar(3, 4, 5); }
|
|
f();
|
|
"
|
|
frame size: 4
|
|
parameter count: 1
|
|
bytecode array length: 23
|
|
bytecodes: [
|
|
/* 100 E> */ B(StackCheck),
|
|
/* 105 S> */ B(LdrGlobal), U8(3), R(0),
|
|
B(LdaSmi), U8(3),
|
|
B(Star), R(1),
|
|
B(LdaSmi), U8(4),
|
|
B(Star), R(2),
|
|
B(LdaSmi), U8(5),
|
|
B(Star), R(3),
|
|
B(Ldar), R(0),
|
|
/* 112 E> */ B(New), R(0), R(1), U8(3),
|
|
/* 130 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
]
|
|
handlers: [
|
|
]
|
|
|