2016-04-18 14:13:04 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
test function name: f
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function* f() { }
|
2016-05-24 12:51:18 +00:00
|
|
|
f();
|
2016-04-18 14:13:04 +00:00
|
|
|
"
|
2018-01-23 13:51:38 +00:00
|
|
|
frame size: 3
|
2016-04-18 14:13:04 +00:00
|
|
|
parameter count: 1
|
2021-02-17 14:36:58 +00:00
|
|
|
bytecode array length: 41
|
2016-04-18 14:13:04 +00:00
|
|
|
bytecodes: [
|
2018-01-23 13:51:38 +00:00
|
|
|
B(SwitchOnGeneratorState), R(0), U8(0), U8(1),
|
|
|
|
B(Mov), R(closure), R(1),
|
|
|
|
B(Mov), R(this), R(2),
|
2020-02-10 16:09:27 +00:00
|
|
|
/* 11 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(1), U8(2),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star0),
|
2018-01-23 13:51:38 +00:00
|
|
|
/* 11 E> */ B(SuspendGenerator), R(0), R(0), U8(1), U8(0),
|
|
|
|
B(ResumeGenerator), R(0), R(0), U8(1),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star1),
|
2017-08-11 15:16:31 +00:00
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
B(SwitchOnSmiNoFeedback), U8(1), U8(2), I8(0),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
/* 11 E> */ B(Throw),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 16 S> */ B(Return),
|
|
|
|
B(LdaUndefined),
|
|
|
|
/* 16 S> */ B(Return),
|
2016-04-18 14:13:04 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2021-02-17 14:36:58 +00:00
|
|
|
Smi [20],
|
2017-06-13 13:49:45 +00:00
|
|
|
Smi [10],
|
2017-06-05 13:23:20 +00:00
|
|
|
Smi [7],
|
2016-04-18 14:13:04 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function* f() { yield 42 }
|
2016-05-24 12:51:18 +00:00
|
|
|
f();
|
2016-04-18 14:13:04 +00:00
|
|
|
"
|
2018-01-23 13:51:38 +00:00
|
|
|
frame size: 3
|
2016-04-18 14:13:04 +00:00
|
|
|
parameter count: 1
|
2021-02-17 14:36:58 +00:00
|
|
|
bytecode array length: 74
|
2016-04-18 14:13:04 +00:00
|
|
|
bytecodes: [
|
2018-01-23 13:51:38 +00:00
|
|
|
B(SwitchOnGeneratorState), R(0), U8(0), U8(2),
|
|
|
|
B(Mov), R(closure), R(1),
|
|
|
|
B(Mov), R(this), R(2),
|
2020-02-10 16:09:27 +00:00
|
|
|
/* 11 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(1), U8(2),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star0),
|
2018-01-23 13:51:38 +00:00
|
|
|
/* 11 E> */ B(SuspendGenerator), R(0), R(0), U8(1), U8(0),
|
|
|
|
B(ResumeGenerator), R(0), R(0), U8(1),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star1),
|
2017-08-11 15:16:31 +00:00
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
/* 11 E> */ B(Throw),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2017-06-05 19:54:14 +00:00
|
|
|
/* 25 S> */ B(Return),
|
2017-05-24 13:54:57 +00:00
|
|
|
/* 16 S> */ B(LdaSmi), I8(42),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star1),
|
2017-07-20 12:35:28 +00:00
|
|
|
B(LdaFalse),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star2),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(1), U8(2),
|
|
|
|
/* 16 E> */ B(SuspendGenerator), R(0), R(0), U8(1), U8(1),
|
|
|
|
B(ResumeGenerator), R(0), R(0), U8(1),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star1),
|
2017-08-11 15:16:31 +00:00
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
B(SwitchOnSmiNoFeedback), U8(4), U8(2), I8(0),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
/* 16 E> */ B(Throw),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 25 S> */ B(Return),
|
|
|
|
B(LdaUndefined),
|
|
|
|
/* 25 S> */ B(Return),
|
2016-04-18 14:13:04 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2021-02-17 14:36:58 +00:00
|
|
|
Smi [20],
|
|
|
|
Smi [53],
|
2017-06-13 13:49:45 +00:00
|
|
|
Smi [10],
|
2017-06-05 13:23:20 +00:00
|
|
|
Smi [7],
|
2017-06-13 13:49:45 +00:00
|
|
|
Smi [10],
|
2017-06-05 13:23:20 +00:00
|
|
|
Smi [7],
|
2016-04-18 14:13:04 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function* f() { for (let x of [42]) yield x }
|
2016-05-24 12:51:18 +00:00
|
|
|
f();
|
2016-04-18 14:13:04 +00:00
|
|
|
"
|
2020-05-07 19:34:44 +00:00
|
|
|
frame size: 14
|
2016-04-18 14:13:04 +00:00
|
|
|
parameter count: 1
|
2021-02-17 14:36:58 +00:00
|
|
|
bytecode array length: 210
|
2016-04-18 14:13:04 +00:00
|
|
|
bytecodes: [
|
2019-01-31 15:36:58 +00:00
|
|
|
B(SwitchOnGeneratorState), R(0), U8(0), U8(2),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(Mov), R(closure), R(4),
|
|
|
|
B(Mov), R(this), R(5),
|
2020-02-10 16:09:27 +00:00
|
|
|
/* 11 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(4), U8(2),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star0),
|
2019-01-31 15:36:58 +00:00
|
|
|
/* 11 E> */ B(SuspendGenerator), R(0), R(0), U8(4), U8(0),
|
|
|
|
B(ResumeGenerator), R(0), R(0), U8(4),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star4),
|
2019-01-31 15:36:58 +00:00
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(Ldar), R(4),
|
2017-06-05 13:23:20 +00:00
|
|
|
/* 11 E> */ B(Throw),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(Ldar), R(4),
|
2017-06-05 19:54:14 +00:00
|
|
|
/* 44 S> */ B(Return),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 30 S> */ B(CreateArrayLiteral), U8(4), U8(0), U8(37),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star6),
|
2019-09-06 12:41:00 +00:00
|
|
|
B(GetIterator), R(6), U8(1), U8(3),
|
2019-12-20 14:06:40 +00:00
|
|
|
B(JumpIfJSReceiver), U8(7),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star5),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(LdaNamedProperty), R(5), U8(5), U8(5),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star4),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(LdaFalse),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star6),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Mov), R(context), R(9),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(LdaTrue),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star6),
|
2019-01-14 14:15:52 +00:00
|
|
|
/* 25 S> */ B(CallProperty0), R(4), R(5), U8(7),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star10),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(JumpIfJSReceiver), U8(7),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(10), U8(1),
|
|
|
|
B(LdaNamedProperty), R(10), U8(6), U8(9),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfToBooleanTrue), U8(58),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(LdaNamedProperty), R(10), U8(7), U8(11),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star10),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(LdaFalse),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star6),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Mov), R(10), R(1),
|
2019-01-31 15:36:58 +00:00
|
|
|
/* 25 S> */ B(Mov), R(1), R(3),
|
2017-07-20 12:35:28 +00:00
|
|
|
/* 36 S> */ B(LdaFalse),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star12),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Mov), R(3), R(11),
|
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(11), U8(2),
|
|
|
|
/* 36 E> */ B(SuspendGenerator), R(0), R(0), U8(11), U8(1),
|
|
|
|
B(ResumeGenerator), R(0), R(0), U8(11),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star11),
|
2019-01-31 15:36:58 +00:00
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(SwitchOnSmiNoFeedback), U8(8), U8(2), I8(0),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Ldar), R(11),
|
2017-06-05 13:23:20 +00:00
|
|
|
/* 36 E> */ B(Throw),
|
2019-01-02 16:12:54 +00:00
|
|
|
B(LdaSmi), I8(1),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star7),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Mov), R(11), R(8),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Jump), U8(16),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Ldar), R(11),
|
2021-02-17 14:36:58 +00:00
|
|
|
/* 16 E> */ B(JumpLoop), U8(73), I8(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
B(LdaSmi), I8(-1),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star8),
|
|
|
|
B(Star7),
|
|
|
|
B(Jump), U8(5),
|
|
|
|
B(Star8),
|
2019-01-02 16:12:54 +00:00
|
|
|
B(LdaZero),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star7),
|
2016-11-16 10:46:23 +00:00
|
|
|
B(LdaTheHole),
|
|
|
|
B(SetPendingMessage),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star9),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Ldar), R(6),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfToBooleanTrue), U8(35),
|
2020-05-07 19:34:44 +00:00
|
|
|
B(Mov), R(context), R(11),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(LdaNamedProperty), R(5), U8(10), U8(13),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfUndefinedOrNull), U8(26),
|
|
|
|
B(Star12),
|
2020-05-07 19:34:44 +00:00
|
|
|
B(CallProperty0), R(12), R(5), U8(15),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfJSReceiver), U8(19),
|
|
|
|
B(Star13),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Jump), U8(11),
|
|
|
|
B(Star11),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(LdaZero),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(TestReferenceEqual), R(7),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(JumpIfTrue), U8(5),
|
2020-05-07 19:34:44 +00:00
|
|
|
B(Ldar), R(11),
|
2019-01-14 14:15:52 +00:00
|
|
|
B(ReThrow),
|
|
|
|
B(Ldar), R(9),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(SetPendingMessage),
|
|
|
|
B(Ldar), R(7),
|
2020-05-07 19:34:44 +00:00
|
|
|
B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(0),
|
2017-06-13 13:49:45 +00:00
|
|
|
B(Jump), U8(8),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Ldar), R(8),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(ReThrow),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(Ldar), R(8),
|
2019-01-02 16:12:54 +00:00
|
|
|
/* 44 S> */ B(Return),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
/* 44 S> */ B(Return),
|
2016-04-18 14:13:04 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2021-02-17 14:36:58 +00:00
|
|
|
Smi [20],
|
|
|
|
Smi [113],
|
2017-06-13 13:49:45 +00:00
|
|
|
Smi [10],
|
2017-06-05 13:23:20 +00:00
|
|
|
Smi [7],
|
2018-07-05 18:34:09 +00:00
|
|
|
ARRAY_BOILERPLATE_DESCRIPTION_TYPE,
|
2016-09-06 16:10:19 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
|
2021-02-17 14:36:58 +00:00
|
|
|
Smi [15],
|
2017-06-05 13:23:20 +00:00
|
|
|
Smi [7],
|
2016-09-06 16:10:19 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
|
2017-05-16 11:36:04 +00:00
|
|
|
Smi [6],
|
2017-06-13 13:49:45 +00:00
|
|
|
Smi [9],
|
2016-04-18 14:13:04 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
2021-02-17 14:36:58 +00:00
|
|
|
[66, 142, 148],
|
|
|
|
[161, 180, 182],
|
2016-04-18 14:13:04 +00:00
|
|
|
]
|
|
|
|
|
2017-05-22 14:52:07 +00:00
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function* g() { yield 42 }
|
|
|
|
function* f() { yield* g() }
|
|
|
|
f();
|
|
|
|
"
|
2019-09-06 12:41:00 +00:00
|
|
|
frame size: 7
|
2017-05-22 14:52:07 +00:00
|
|
|
parameter count: 1
|
2021-02-17 14:36:58 +00:00
|
|
|
bytecode array length: 188
|
2017-05-22 14:52:07 +00:00
|
|
|
bytecodes: [
|
2018-01-23 13:51:38 +00:00
|
|
|
B(SwitchOnGeneratorState), R(0), U8(0), U8(2),
|
|
|
|
B(Mov), R(closure), R(1),
|
|
|
|
B(Mov), R(this), R(2),
|
2020-02-10 16:09:27 +00:00
|
|
|
/* 38 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(1), U8(2),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star0),
|
2018-01-23 13:51:38 +00:00
|
|
|
/* 38 E> */ B(SuspendGenerator), R(0), R(0), U8(1), U8(0),
|
|
|
|
B(ResumeGenerator), R(0), R(0), U8(1),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star1),
|
2017-08-11 15:16:31 +00:00
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2017-06-05 13:23:20 +00:00
|
|
|
/* 38 E> */ B(Throw),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2017-06-05 19:54:14 +00:00
|
|
|
/* 54 S> */ B(Return),
|
2017-10-19 15:12:42 +00:00
|
|
|
/* 43 S> */ B(LdaGlobal), U8(4), U8(0),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star5),
|
2019-01-02 16:12:54 +00:00
|
|
|
/* 50 E> */ B(CallUndefinedReceiver0), R(5), U8(2),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star6),
|
2019-09-06 12:41:00 +00:00
|
|
|
B(GetIterator), R(6), U8(4), U8(6),
|
2019-12-20 14:06:40 +00:00
|
|
|
B(JumpIfJSReceiver), U8(7),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star3),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(LdaNamedProperty), R(3), U8(5), U8(8),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star5),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(LdaUndefined),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star4),
|
2017-06-22 16:31:00 +00:00
|
|
|
B(LdaZero),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star2),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(2),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(SwitchOnSmiNoFeedback), U8(6), U8(2), I8(1),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(CallProperty1), R(5), R(3), R(4), U8(10),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Jump), U8(59),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(LdaNamedProperty), R(3), U8(8), U8(12),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfUndefinedOrNull), U8(10),
|
|
|
|
B(Star6),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(CallProperty1), R(6), R(3), R(4), U8(14),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Jump), U8(45),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(4),
|
2017-06-05 19:54:14 +00:00
|
|
|
/* 54 S> */ B(Return),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(LdaNamedProperty), R(3), U8(9), U8(16),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfUndefinedOrNull), U8(10),
|
|
|
|
B(Star6),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(CallProperty1), R(6), R(3), R(4), U8(18),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Jump), U8(28),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(LdaNamedProperty), R(3), U8(8), U8(20),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfUndefinedOrNull), U8(17),
|
|
|
|
B(Star6),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(CallProperty0), R(6), R(3), U8(22),
|
2018-01-11 17:24:11 +00:00
|
|
|
B(Jump), U8(2),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfJSReceiver), U8(8),
|
|
|
|
B(Star6),
|
2019-08-23 14:23:52 +00:00
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(6), U8(1),
|
2017-06-22 16:31:00 +00:00
|
|
|
B(CallRuntime), U16(Runtime::kThrowThrowMethodMissing), R(0), U8(0),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star1),
|
2017-06-22 16:31:00 +00:00
|
|
|
B(JumpIfJSReceiver), U8(7),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(1), U8(1),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(LdaNamedProperty), R(1), U8(10), U8(24),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(JumpIfToBooleanTrue), U8(22),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(1),
|
2019-08-23 14:23:52 +00:00
|
|
|
/* 43 E> */ B(SuspendGenerator), R(0), R(0), U8(6), U8(1),
|
|
|
|
B(ResumeGenerator), R(0), R(0), U8(6),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star4),
|
2017-08-11 15:16:31 +00:00
|
|
|
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star2),
|
|
|
|
B(JumpLoop), U8(101), I8(0),
|
2019-08-08 20:43:41 +00:00
|
|
|
B(LdaNamedProperty), R(1), U8(11), U8(26),
|
2021-02-17 14:36:58 +00:00
|
|
|
B(Star3),
|
2017-05-22 14:52:07 +00:00
|
|
|
B(LdaSmi), I8(1),
|
2018-04-18 00:04:34 +00:00
|
|
|
B(TestReferenceEqual), R(2),
|
2017-06-22 16:31:00 +00:00
|
|
|
B(JumpIfFalse), U8(5),
|
2018-01-23 13:51:38 +00:00
|
|
|
B(Ldar), R(3),
|
2017-06-05 19:54:14 +00:00
|
|
|
/* 54 S> */ B(Return),
|
2017-05-22 14:52:07 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
/* 54 S> */ B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
2021-02-17 14:36:58 +00:00
|
|
|
Smi [20],
|
|
|
|
Smi [159],
|
2017-06-13 13:49:45 +00:00
|
|
|
Smi [10],
|
2017-06-05 13:23:20 +00:00
|
|
|
Smi [7],
|
2017-05-22 14:52:07 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["g"],
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
|
2018-01-11 17:24:11 +00:00
|
|
|
Smi [11],
|
2021-02-17 14:36:58 +00:00
|
|
|
Smi [28],
|
2017-05-22 14:52:07 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["throw"],
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|