summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden')
-rw-r--r--deps/v8/test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden116
1 files changed, 61 insertions, 55 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden
index d870c4362f..849f7beba3 100644
--- a/deps/v8/test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden
+++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden
@@ -381,35 +381,32 @@ snippet: "
"
frame size: 12
parameter count: 1
-bytecode array length: 140
+bytecode array length: 144
bytecodes: [
/* 16 E> */ B(StackCheck),
B(CallJSRuntime), U8(%async_function_promise_create), R(0), U8(0),
- B(Star), R(3),
+ B(Star), R(0),
B(Mov), R(context), R(6),
B(Mov), R(context), R(7),
/* 36 S> */ B(LdaZero),
- B(Star), R(1),
+ B(Star), R(2),
/* 41 S> */ B(LdaSmi), I8(10),
- /* 41 E> */ B(TestLessThan), R(1), U8(0),
+ /* 41 E> */ B(TestLessThan), R(2), U8(0),
B(JumpIfFalse), U8(15),
/* 23 E> */ B(StackCheck),
- /* 62 S> */ B(Mov), R(1), R(0),
- /* 49 S> */ B(Ldar), R(0),
+ /* 62 S> */ B(Mov), R(2), R(1),
+ /* 49 S> */ B(Ldar), R(1),
B(Inc), U8(1),
- B(Star), R(1),
+ B(Star), R(2),
B(JumpLoop), U8(17), I8(0),
B(LdaUndefined),
- B(Star), R(9),
- B(Mov), R(3), R(8),
- /* 49 E> */ B(InvokeIntrinsic), U8(Runtime::k_ResolvePromise), R(8), U8(2),
+ B(Star), R(5),
B(LdaZero),
B(Star), R(4),
- B(Mov), R(3), R(5),
- B(Jump), U8(55),
- B(Jump), U8(39),
+ B(Jump), U8(56),
+ B(Jump), U8(40),
B(Star), R(8),
- B(CreateCatchContext), R(8), U8(0),
+ /* 49 E> */ B(CreateCatchContext), R(8), U8(0),
B(Star), R(7),
B(LdaTheHole),
B(SetPendingMessage),
@@ -419,32 +416,37 @@ bytecodes: [
B(Star), R(10),
B(LdaFalse),
B(Star), R(11),
- B(Mov), R(3), R(9),
+ B(Mov), R(0), R(9),
B(InvokeIntrinsic), U8(Runtime::k_RejectPromise), R(9), U8(3),
B(PopContext), R(8),
- B(LdaZero),
+ B(LdaSmi), I8(1),
B(Star), R(4),
- B(Mov), R(3), R(5),
+ B(Mov), R(0), R(5),
B(Jump), U8(16),
B(LdaSmi), I8(-1),
B(Star), R(5),
B(Star), R(4),
B(Jump), U8(8),
B(Star), R(5),
- B(LdaSmi), I8(1),
+ B(LdaSmi), I8(2),
B(Star), R(4),
B(LdaTheHole),
B(SetPendingMessage),
B(Star), R(6),
B(LdaFalse),
B(Star), R(8),
- B(Mov), R(3), R(7),
+ B(Mov), R(0), R(7),
B(CallJSRuntime), U8(%async_function_promise_release), R(7), U8(2),
B(Ldar), R(6),
B(SetPendingMessage),
B(Ldar), R(4),
- B(SwitchOnSmiNoFeedback), U8(1), U8(2), I8(0),
- B(Jump), U8(8),
+ B(SwitchOnSmiNoFeedback), U8(1), U8(3), I8(0),
+ B(Jump), U8(21),
+ B(Mov), R(0), R(7),
+ B(Mov), R(5), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_ResolvePromise), R(7), U8(2),
+ B(Ldar), R(0),
+ /* 67 S> */ B(Return),
B(Ldar), R(5),
/* 67 S> */ B(Return),
B(Ldar), R(5),
@@ -455,11 +457,12 @@ bytecodes: [
constant pool: [
SCOPE_INFO_TYPE,
Smi [6],
- Smi [9],
+ Smi [19],
+ Smi [22],
]
handlers: [
- [10, 93, 101],
- [13, 54, 56],
+ [10, 84, 92],
+ [13, 44, 46],
]
---
@@ -471,53 +474,50 @@ snippet: "
"
frame size: 11
parameter count: 1
-bytecode array length: 191
+bytecode array length: 195
bytecodes: [
- B(SwitchOnGeneratorState), R(1), U8(0), U8(1),
+ B(SwitchOnGeneratorState), R(2), U8(0), U8(1),
B(Mov), R(closure), R(3),
B(Mov), R(this), R(4),
B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(3), U8(2),
- B(Star), R(1),
+ B(Star), R(2),
/* 16 E> */ B(StackCheck),
B(CallJSRuntime), U8(%async_function_promise_create), R(0), U8(0),
- B(Star), R(2),
+ B(Star), R(0),
B(Mov), R(context), R(5),
B(Mov), R(context), R(6),
/* 36 S> */ B(LdaZero),
- B(Star), R(0),
+ B(Star), R(1),
/* 41 S> */ B(LdaSmi), I8(10),
- /* 41 E> */ B(TestLessThan), R(0), U8(0),
+ /* 41 E> */ B(TestLessThan), R(1), U8(0),
B(JumpIfFalse), U8(50),
/* 23 E> */ B(StackCheck),
- /* 52 S> */ B(Mov), R(1), R(7),
- B(Mov), R(0), R(8),
- B(Mov), R(2), R(9),
+ /* 52 S> */ B(Mov), R(2), R(7),
+ B(Mov), R(1), R(8),
+ B(Mov), R(0), R(9),
B(CallJSRuntime), U8(%async_function_await_uncaught), R(7), U8(3),
- /* 52 E> */ B(SuspendGenerator), R(1), R(0), U8(7), U8(0),
- B(ResumeGenerator), R(1), R(0), U8(7),
+ /* 52 E> */ B(SuspendGenerator), R(2), R(0), U8(7), U8(0),
+ B(ResumeGenerator), R(2), R(0), U8(7),
B(Star), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(1), U8(1),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(2), U8(1),
B(Star), R(8),
B(LdaZero),
B(TestReferenceEqual), R(8),
B(JumpIfTrue), U8(5),
B(Ldar), R(7),
B(ReThrow),
- /* 49 S> */ B(Ldar), R(0),
+ /* 49 S> */ B(Ldar), R(1),
B(Inc), U8(1),
- B(Star), R(0),
+ B(Star), R(1),
B(JumpLoop), U8(52), I8(0),
B(LdaUndefined),
- B(Star), R(8),
- B(Mov), R(2), R(7),
- /* 49 E> */ B(InvokeIntrinsic), U8(Runtime::k_ResolvePromise), R(7), U8(2),
+ B(Star), R(4),
B(LdaZero),
B(Star), R(3),
- B(Mov), R(2), R(4),
- B(Jump), U8(55),
- B(Jump), U8(39),
+ B(Jump), U8(56),
+ B(Jump), U8(40),
B(Star), R(7),
- B(CreateCatchContext), R(7), U8(1),
+ /* 49 E> */ B(CreateCatchContext), R(7), U8(1),
B(Star), R(6),
B(LdaTheHole),
B(SetPendingMessage),
@@ -527,32 +527,37 @@ bytecodes: [
B(Star), R(9),
B(LdaFalse),
B(Star), R(10),
- B(Mov), R(2), R(8),
+ B(Mov), R(0), R(8),
B(InvokeIntrinsic), U8(Runtime::k_RejectPromise), R(8), U8(3),
B(PopContext), R(7),
- B(LdaZero),
+ B(LdaSmi), I8(1),
B(Star), R(3),
- B(Mov), R(2), R(4),
+ B(Mov), R(0), R(4),
B(Jump), U8(16),
B(LdaSmi), I8(-1),
B(Star), R(4),
B(Star), R(3),
B(Jump), U8(8),
B(Star), R(4),
- B(LdaSmi), I8(1),
+ B(LdaSmi), I8(2),
B(Star), R(3),
B(LdaTheHole),
B(SetPendingMessage),
B(Star), R(5),
B(LdaTrue),
B(Star), R(7),
- B(Mov), R(2), R(6),
+ B(Mov), R(0), R(6),
B(CallJSRuntime), U8(%async_function_promise_release), R(6), U8(2),
B(Ldar), R(5),
B(SetPendingMessage),
B(Ldar), R(3),
- B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0),
- B(Jump), U8(8),
+ B(SwitchOnSmiNoFeedback), U8(2), U8(3), I8(0),
+ B(Jump), U8(21),
+ B(Mov), R(0), R(6),
+ B(Mov), R(4), R(7),
+ B(InvokeIntrinsic), U8(Runtime::k_ResolvePromise), R(6), U8(2),
+ B(Ldar), R(0),
+ /* 61 S> */ B(Return),
B(Ldar), R(4),
/* 61 S> */ B(Return),
B(Ldar), R(4),
@@ -564,10 +569,11 @@ constant pool: [
Smi [58],
SCOPE_INFO_TYPE,
Smi [6],
- Smi [9],
+ Smi [19],
+ Smi [22],
]
handlers: [
- [26, 144, 152],
- [29, 105, 107],
+ [26, 135, 143],
+ [29, 95, 97],
]