2016-12-06 11:32:09 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var obj_a = {val:1};
|
|
|
|
var b = 10;
|
|
|
|
if (obj_a == null) { b = 20;}
|
|
|
|
return b;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
2017-04-03 14:17:16 +00:00
|
|
|
bytecode array length: 25
|
2016-12-06 11:32:09 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-29 09:41:52 +00:00
|
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(19), R(2),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Mov), R(2), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Star), R(1),
|
2017-04-03 14:17:16 +00:00
|
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
|
|
B(TestUndetectable),
|
2017-04-05 15:40:27 +00:00
|
|
|
B(JumpIfFalse), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 88 S> */ B(LdaSmi), I8(20),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
/* 97 S> */ B(Ldar), R(1),
|
|
|
|
/* 107 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var obj_a = {val:1};
|
|
|
|
var b = 10;
|
|
|
|
if (obj_a == undefined) { b = 20;}
|
|
|
|
return b;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
2017-04-03 14:17:16 +00:00
|
|
|
bytecode array length: 25
|
2016-12-06 11:32:09 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-29 09:41:52 +00:00
|
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(19), R(2),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Mov), R(2), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Star), R(1),
|
2017-04-03 14:17:16 +00:00
|
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
|
|
B(TestUndetectable),
|
2017-04-05 15:40:27 +00:00
|
|
|
B(JumpIfFalse), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 93 S> */ B(LdaSmi), I8(20),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
/* 102 S> */ B(Ldar), R(1),
|
|
|
|
/* 112 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var obj_a = {val:1};
|
|
|
|
var b = 10;
|
|
|
|
if (obj_a != null) { b = 20;}
|
|
|
|
return b;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
2017-04-03 14:17:16 +00:00
|
|
|
bytecode array length: 25
|
2016-12-06 11:32:09 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-29 09:41:52 +00:00
|
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(19), R(2),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Mov), R(2), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Star), R(1),
|
2017-04-03 14:17:16 +00:00
|
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
|
|
B(TestUndetectable),
|
2017-04-05 15:40:27 +00:00
|
|
|
B(JumpIfTrue), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 88 S> */ B(LdaSmi), I8(20),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
/* 97 S> */ B(Ldar), R(1),
|
|
|
|
/* 107 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var obj_a = {val:1};
|
|
|
|
var b = 10;
|
|
|
|
if (obj_a != undefined) { b = 20;}
|
|
|
|
return b;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
2017-04-03 14:17:16 +00:00
|
|
|
bytecode array length: 25
|
2016-12-06 11:32:09 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-29 09:41:52 +00:00
|
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(19), R(2),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Mov), R(2), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Star), R(1),
|
2017-04-03 14:17:16 +00:00
|
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
|
|
B(TestUndetectable),
|
2017-04-05 15:40:27 +00:00
|
|
|
B(JumpIfTrue), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 93 S> */ B(LdaSmi), I8(20),
|
2016-12-06 11:32:09 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
/* 102 S> */ B(Ldar), R(1),
|
|
|
|
/* 112 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
2016-12-16 15:01:08 +00:00
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var obj_a = {val:1};
|
|
|
|
var b = 10;
|
|
|
|
if (obj_a === null) { b = 20;}
|
|
|
|
return b;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 24
|
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-29 09:41:52 +00:00
|
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(19), R(2),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Mov), R(2), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Star), R(1),
|
2017-04-03 14:17:16 +00:00
|
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
|
|
B(JumpIfNotNull), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 89 S> */ B(LdaSmi), I8(20),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
/* 98 S> */ B(Ldar), R(1),
|
|
|
|
/* 108 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var obj_a = {val:1};
|
|
|
|
var b = 10;
|
|
|
|
if (obj_a === undefined) { b = 20;}
|
|
|
|
return b;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 24
|
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-29 09:41:52 +00:00
|
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(19), R(2),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Mov), R(2), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Star), R(1),
|
2017-04-03 14:17:16 +00:00
|
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
|
|
B(JumpIfNotUndefined), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 94 S> */ B(LdaSmi), I8(20),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
/* 103 S> */ B(Ldar), R(1),
|
|
|
|
/* 113 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var obj_a = {val:1};
|
|
|
|
var b = 10;
|
|
|
|
if (obj_a !== null) { b = 20;}
|
|
|
|
return b;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 24
|
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-29 09:41:52 +00:00
|
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(19), R(2),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Mov), R(2), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Star), R(1),
|
2017-04-03 14:17:16 +00:00
|
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
|
|
B(JumpIfNull), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 89 S> */ B(LdaSmi), I8(20),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
/* 98 S> */ B(Ldar), R(1),
|
|
|
|
/* 108 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var obj_a = {val:1};
|
|
|
|
var b = 10;
|
|
|
|
if (obj_a !== undefined) { b = 20;}
|
|
|
|
return b;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 24
|
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-29 09:41:52 +00:00
|
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(19), R(2),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Mov), R(2), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Star), R(1),
|
2017-04-03 14:17:16 +00:00
|
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
|
|
B(JumpIfUndefined), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 94 S> */ B(LdaSmi), I8(20),
|
2016-12-16 15:01:08 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
/* 103 S> */ B(Ldar), R(1),
|
|
|
|
/* 113 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|