90ddc99bb2
Bug: v8:5368, v8:8330 Change-Id: I237541223289546b8de031f905d42bb9234c8448 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2184649 Commit-Queue: Joyee Cheung <joyee@igalia.com> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#67667}
85 lines
1.7 KiB
Plaintext
85 lines
1.7 KiB
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
wrap: no
|
|
test function name: test
|
|
private methods: yes
|
|
|
|
---
|
|
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: [
|
|
]
|
|
|