5f18a2e6a7
It's shipped since M84. Bug: v8:8330 Change-Id: Ia643948c0de83fc9a8faf7307b7fd86a1e117dc1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2511034 Commit-Queue: Shu-yu Guo <syg@chromium.org> Reviewed-by: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#71166}
84 lines
1.7 KiB
Plaintext
84 lines
1.7 KiB
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
wrap: no
|
|
test function name: test
|
|
|
|
---
|
|
snippet: "
|
|
class A {
|
|
#a;
|
|
#b;
|
|
constructor() {
|
|
this.#a = this.#b;
|
|
}
|
|
}
|
|
|
|
var test = A;
|
|
new test;
|
|
"
|
|
frame size: 4
|
|
parameter count: 1
|
|
bytecode array length: 30
|
|
bytecodes: [
|
|
/* 35 E> */ B(LdaNamedProperty), R(closure), U8(0), U8(0),
|
|
B(JumpIfUndefined), U8(11),
|
|
B(Star), R(1),
|
|
B(CallProperty0), R(1), R(this), U8(2),
|
|
B(Mov), R(this), R(0),
|
|
/* 44 S> */ B(LdaImmutableCurrentContextSlot), U8(2),
|
|
B(Star), R(3),
|
|
B(LdaImmutableCurrentContextSlot), U8(3),
|
|
/* 59 E> */ B(LdaKeyedProperty), R(this), U8(4),
|
|
/* 52 E> */ B(StaKeyedProperty), R(this), R(3), U8(6),
|
|
B(LdaUndefined),
|
|
/* 65 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
SYMBOL_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
class B {
|
|
#a;
|
|
#b;
|
|
constructor() {
|
|
this.#a = this.#b;
|
|
}
|
|
force(str) {
|
|
eval(str);
|
|
}
|
|
}
|
|
|
|
var test = B;
|
|
new test;
|
|
"
|
|
frame size: 4
|
|
parameter count: 1
|
|
bytecode array length: 30
|
|
bytecodes: [
|
|
/* 35 E> */ B(LdaNamedProperty), R(closure), U8(0), U8(0),
|
|
B(JumpIfUndefined), U8(11),
|
|
B(Star), R(1),
|
|
B(CallProperty0), R(1), R(this), U8(2),
|
|
B(Mov), R(this), R(0),
|
|
/* 44 S> */ B(LdaImmutableCurrentContextSlot), U8(2),
|
|
B(Star), R(3),
|
|
B(LdaImmutableCurrentContextSlot), U8(3),
|
|
/* 59 E> */ B(LdaKeyedProperty), R(this), U8(4),
|
|
/* 52 E> */ B(StaKeyedProperty), R(this), R(3), U8(6),
|
|
B(LdaUndefined),
|
|
/* 65 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
SYMBOL_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|