mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
777 B
55 lines
777 B
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
pool type: number
|
|
execute: yes
|
|
wrap: yes
|
|
|
|
---
|
|
snippet: "
|
|
return 1 ? 2 : 3;
|
|
"
|
|
frame size: 0
|
|
parameter count: 1
|
|
bytecode array length: 12
|
|
bytecodes: [
|
|
B(StackCheck),
|
|
B(LdaSmi), U8(1),
|
|
B(JumpIfToBooleanFalse), U8(6),
|
|
B(LdaSmi), U8(2),
|
|
B(Jump), U8(4),
|
|
B(LdaSmi), U8(3),
|
|
B(Return),
|
|
]
|
|
constant pool: [
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
return 1 ? 2 ? 3 : 4 : 5;
|
|
"
|
|
frame size: 0
|
|
parameter count: 1
|
|
bytecode array length: 20
|
|
bytecodes: [
|
|
B(StackCheck),
|
|
B(LdaSmi), U8(1),
|
|
B(JumpIfToBooleanFalse), U8(14),
|
|
B(LdaSmi), U8(2),
|
|
B(JumpIfToBooleanFalse), U8(6),
|
|
B(LdaSmi), U8(3),
|
|
B(Jump), U8(4),
|
|
B(LdaSmi), U8(4),
|
|
B(Jump), U8(4),
|
|
B(LdaSmi), U8(5),
|
|
B(Return),
|
|
]
|
|
constant pool: [
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
|