diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-08-01 08:38:30 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-08-01 12:53:56 +0200 |
commit | 2dcc3665abf57c3607cebffdeeca062f5894885d (patch) | |
tree | 4f560748132edcfb4c22d6f967a7e80d23d7ea2c /deps/v8/test/cctest/interpreter/bytecode_expectations | |
parent | 1ee47d550c6de132f06110aa13eceb7551d643b3 (diff) | |
download | node-new-2dcc3665abf57c3607cebffdeeca062f5894885d.tar.gz |
deps: update V8 to 7.6.303.28
PR-URL: https://github.com/nodejs/node/pull/28016
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations')
10 files changed, 281 insertions, 186 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden index 231a9050b8..adbe5c9b92 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden @@ -14,9 +14,9 @@ snippet: " " frame size: 8 parameter count: 1 -bytecode array length: 180 +bytecode array length: 148 bytecodes: [ - B(SwitchOnGeneratorState), R(0), U8(0), U8(2), + B(SwitchOnGeneratorState), R(0), U8(0), U8(1), B(Mov), R(closure), R(1), B(Mov), R(this), R(2), B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(1), U8(2), @@ -29,33 +29,17 @@ bytecodes: [ B(ResumeGenerator), R(0), R(0), U8(5), B(Star), R(5), B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), + B(SwitchOnSmiNoFeedback), U8(1), U8(2), I8(0), B(Ldar), R(5), /* 17 E> */ B(Throw), B(LdaSmi), I8(1), B(Star), R(1), B(Mov), R(5), R(2), - B(Jump), U8(85), - B(LdaUndefined), - B(Star), R(6), - B(Mov), R(0), R(5), - B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(5), U8(2), - B(SuspendGenerator), R(0), R(0), U8(5), U8(1), - B(ResumeGenerator), R(0), R(0), U8(5), - B(Star), R(5), - B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(Star), R(6), - B(LdaZero), - B(TestReferenceEqual), R(6), - B(JumpIfTrue), U8(5), + B(Jump), U8(53), B(Ldar), R(5), - B(ReThrow), - B(LdaSmi), I8(1), - B(Star), R(1), - B(Mov), R(5), R(2), - B(Jump), U8(41), + B(Jump), U8(36), B(Star), R(5), - B(CreateCatchContext), R(5), U8(4), + B(CreateCatchContext), R(5), U8(3), B(Star), R(4), B(LdaTheHole), B(SetPendingMessage), @@ -69,6 +53,10 @@ bytecodes: [ B(Star), R(2), B(LdaSmi), I8(2), B(Star), R(1), + B(Jump), U8(15), + B(LdaSmi), I8(-1), + B(Star), R(2), + B(Star), R(1), B(Jump), U8(7), B(Star), R(2), B(LdaZero), @@ -80,7 +68,7 @@ bytecodes: [ B(Ldar), R(3), B(SetPendingMessage), B(Ldar), R(1), - B(SwitchOnSmiNoFeedback), U8(5), U8(3), I8(0), + B(SwitchOnSmiNoFeedback), U8(4), U8(3), I8(0), B(Jump), U8(22), B(Ldar), R(2), B(ReThrow), @@ -97,7 +85,6 @@ bytecodes: [ ] constant pool: [ Smi [30], - Smi [71], Smi [16], Smi [7], SCOPE_INFO_TYPE, @@ -106,8 +93,8 @@ constant pool: [ Smi [23], ] handlers: [ - [20, 134, 134], - [23, 100, 100], + [20, 94, 102], + [23, 56, 60], ] --- @@ -117,9 +104,9 @@ snippet: " " frame size: 8 parameter count: 1 -bytecode array length: 225 +bytecode array length: 193 bytecodes: [ - B(SwitchOnGeneratorState), R(0), U8(0), U8(3), + B(SwitchOnGeneratorState), R(0), U8(0), U8(2), B(Mov), R(closure), R(1), B(Mov), R(this), R(2), B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(1), U8(2), @@ -132,13 +119,13 @@ bytecodes: [ B(ResumeGenerator), R(0), R(0), U8(5), B(Star), R(5), B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(SwitchOnSmiNoFeedback), U8(3), U8(2), I8(0), + B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), B(Ldar), R(5), /* 17 E> */ B(Throw), B(LdaSmi), I8(1), B(Star), R(1), B(Mov), R(5), R(2), - B(Jump), U8(130), + B(Jump), U8(98), /* 22 S> */ B(LdaSmi), I8(42), B(Star), R(6), B(LdaFalse), @@ -149,33 +136,17 @@ bytecodes: [ B(ResumeGenerator), R(0), R(0), U8(5), B(Star), R(5), B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(SwitchOnSmiNoFeedback), U8(5), U8(2), I8(0), + B(SwitchOnSmiNoFeedback), U8(4), U8(2), I8(0), B(Ldar), R(5), /* 22 E> */ B(Throw), B(LdaSmi), I8(1), B(Star), R(1), B(Mov), R(5), R(2), - B(Jump), U8(85), - B(LdaUndefined), - B(Star), R(6), - B(Mov), R(0), R(5), - B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(5), U8(2), - B(SuspendGenerator), R(0), R(0), U8(5), U8(2), - B(ResumeGenerator), R(0), R(0), U8(5), - B(Star), R(5), - B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(Star), R(6), - B(LdaZero), - B(TestReferenceEqual), R(6), - B(JumpIfTrue), U8(5), + B(Jump), U8(53), B(Ldar), R(5), - B(ReThrow), - B(LdaSmi), I8(1), - B(Star), R(1), - B(Mov), R(5), R(2), - B(Jump), U8(41), + B(Jump), U8(36), B(Star), R(5), - B(CreateCatchContext), R(5), U8(7), + B(CreateCatchContext), R(5), U8(6), B(Star), R(4), B(LdaTheHole), B(SetPendingMessage), @@ -189,6 +160,10 @@ bytecodes: [ B(Star), R(2), B(LdaSmi), I8(2), B(Star), R(1), + B(Jump), U8(15), + B(LdaSmi), I8(-1), + B(Star), R(2), + B(Star), R(1), B(Jump), U8(7), B(Star), R(2), B(LdaZero), @@ -200,7 +175,7 @@ bytecodes: [ B(Ldar), R(3), B(SetPendingMessage), B(Ldar), R(1), - B(SwitchOnSmiNoFeedback), U8(8), U8(3), I8(0), + B(SwitchOnSmiNoFeedback), U8(7), U8(3), I8(0), B(Jump), U8(22), B(Ldar), R(2), B(ReThrow), @@ -218,7 +193,6 @@ bytecodes: [ constant pool: [ Smi [30], Smi [75], - Smi [116], Smi [16], Smi [7], Smi [16], @@ -229,8 +203,8 @@ constant pool: [ Smi [23], ] handlers: [ - [20, 179, 179], - [23, 145, 145], + [20, 139, 147], + [23, 101, 105], ] --- @@ -240,9 +214,9 @@ snippet: " " frame size: 20 parameter count: 1 -bytecode array length: 406 +bytecode array length: 372 bytecodes: [ - B(SwitchOnGeneratorState), R(0), U8(0), U8(3), + B(SwitchOnGeneratorState), R(0), U8(0), U8(2), B(Mov), R(closure), R(4), B(Mov), R(this), R(5), B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(4), U8(2), @@ -255,22 +229,22 @@ bytecodes: [ B(ResumeGenerator), R(0), R(0), U8(8), B(Star), R(8), B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(SwitchOnSmiNoFeedback), U8(3), U8(2), I8(0), + B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), B(Ldar), R(8), /* 17 E> */ B(Throw), B(LdaSmi), I8(1), B(Star), R(4), B(Mov), R(8), R(5), - B(JumpConstant), U8(17), - /* 36 S> */ B(CreateArrayLiteral), U8(5), U8(0), U8(37), + B(JumpConstant), U8(16), + /* 36 S> */ B(CreateArrayLiteral), U8(4), U8(0), U8(37), B(Star), R(10), - B(LdaNamedProperty), R(10), U8(6), U8(1), + B(LdaNamedProperty), R(10), U8(5), U8(1), B(Star), R(11), B(CallProperty0), R(11), R(10), U8(3), B(JumpIfJSReceiver), U8(7), B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), B(Star), R(9), - B(LdaNamedProperty), R(9), U8(7), U8(5), + B(LdaNamedProperty), R(9), U8(6), U8(5), B(Star), R(8), B(LdaFalse), B(Star), R(12), @@ -281,9 +255,9 @@ bytecodes: [ B(Star), R(16), B(JumpIfJSReceiver), U8(7), B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(16), U8(1), - B(LdaNamedProperty), R(16), U8(8), U8(9), + B(LdaNamedProperty), R(16), U8(7), U8(9), B(JumpIfToBooleanTrue), U8(67), - B(LdaNamedProperty), R(16), U8(9), U8(11), + B(LdaNamedProperty), R(16), U8(8), U8(11), B(Star), R(16), B(LdaFalse), B(Star), R(12), @@ -299,7 +273,7 @@ bytecodes: [ B(ResumeGenerator), R(0), R(0), U8(17), B(Star), R(17), B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(SwitchOnSmiNoFeedback), U8(10), U8(2), I8(0), + B(SwitchOnSmiNoFeedback), U8(9), U8(2), I8(0), B(Ldar), R(17), /* 42 E> */ B(Throw), B(LdaSmi), I8(1), @@ -320,15 +294,15 @@ bytecodes: [ B(Star), R(15), B(Ldar), R(12), B(JumpIfToBooleanTrue), U8(60), - B(LdaNamedProperty), R(9), U8(12), U8(13), + B(LdaNamedProperty), R(9), U8(11), U8(13), B(Star), R(17), B(JumpIfUndefined), U8(52), B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(18), - B(LdaConstant), U8(13), + B(LdaConstant), U8(12), B(Star), R(19), B(CallRuntime), U16(Runtime::kNewTypeError), R(18), U8(2), B(Throw), @@ -347,34 +321,17 @@ bytecodes: [ B(Ldar), R(15), B(SetPendingMessage), B(Ldar), R(13), - B(SwitchOnSmiNoFeedback), U8(14), U8(2), I8(0), + B(SwitchOnSmiNoFeedback), U8(13), U8(2), I8(0), B(Jump), U8(14), B(Ldar), R(14), B(ReThrow), B(LdaSmi), I8(1), B(Star), R(4), B(Mov), R(14), R(5), - B(Jump), U8(85), - B(LdaUndefined), - B(Star), R(9), - B(Mov), R(0), R(8), - B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(8), U8(2), - B(SuspendGenerator), R(0), R(0), U8(8), U8(2), - B(ResumeGenerator), R(0), R(0), U8(8), + B(Jump), U8(51), + B(Jump), U8(36), B(Star), R(8), - B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(Star), R(9), - B(LdaZero), - B(TestReferenceEqual), R(9), - B(JumpIfTrue), U8(5), - B(Ldar), R(8), - B(ReThrow), - B(LdaSmi), I8(1), - B(Star), R(4), - B(Mov), R(8), R(5), - B(Jump), U8(41), - B(Star), R(8), - B(CreateCatchContext), R(8), U8(16), + B(CreateCatchContext), R(8), U8(15), B(Star), R(7), B(LdaTheHole), B(SetPendingMessage), @@ -388,6 +345,10 @@ bytecodes: [ B(Star), R(5), B(LdaSmi), I8(2), B(Star), R(4), + B(Jump), U8(15), + B(LdaSmi), I8(-1), + B(Star), R(5), + B(Star), R(4), B(Jump), U8(7), B(Star), R(5), B(LdaZero), @@ -399,7 +360,7 @@ bytecodes: [ B(Ldar), R(6), B(SetPendingMessage), B(Ldar), R(4), - B(SwitchOnSmiNoFeedback), U8(18), U8(3), I8(0), + B(SwitchOnSmiNoFeedback), U8(17), U8(3), I8(0), B(Jump), U8(22), B(Ldar), R(5), B(ReThrow), @@ -417,7 +378,6 @@ bytecodes: [ constant pool: [ Smi [30], Smi [149], - Smi [297], Smi [16], Smi [7], ARRAY_BOILERPLATE_DESCRIPTION_TYPE, @@ -432,14 +392,14 @@ constant pool: [ Smi [6], Smi [9], SCOPE_INFO_TYPE, - Smi [311], + Smi [277], Smi [6], Smi [9], Smi [23], ] handlers: [ - [20, 360, 360], - [23, 326, 326], + [20, 318, 326], + [23, 282, 284], [93, 180, 188], [234, 247, 249], ] @@ -450,9 +410,9 @@ snippet: " async function* f() { yield* g() } f(); " -frame size: 17 +frame size: 19 parameter count: 1 -bytecode array length: 472 +bytecode array length: 475 bytecodes: [ B(SwitchOnGeneratorState), R(0), U8(0), U8(5), B(Mov), R(closure), R(1), @@ -500,78 +460,91 @@ bytecodes: [ B(Ldar), R(6), B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(1), B(CallProperty1), R(9), R(7), R(8), U8(14), - B(Jump), U8(111), + B(Jump), U8(146), B(LdaNamedProperty), R(7), U8(13), U8(16), B(JumpIfUndefined), U8(13), B(JumpIfNull), U8(11), B(Star), R(12), B(CallProperty1), R(12), R(7), R(8), U8(18), - B(Jump), U8(94), + B(Jump), U8(129), + B(Mov), R(0), R(12), + B(Mov), R(8), R(13), + B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(12), U8(2), + /* 49 E> */ B(SuspendGenerator), R(0), R(0), U8(12), U8(1), + B(ResumeGenerator), R(0), R(0), U8(12), + B(Star), R(12), + B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), + B(Star), R(13), + B(LdaZero), + B(TestReferenceEqual), R(13), + B(JumpIfTrue), U8(5), + B(Ldar), R(12), + B(ReThrow), B(LdaSmi), I8(1), B(Star), R(1), - B(Mov), R(8), R(2), - B(JumpConstant), U8(19), + B(Mov), R(12), R(2), + B(Jump), U8(245), B(LdaNamedProperty), R(7), U8(14), U8(20), B(JumpIfUndefined), U8(13), B(JumpIfNull), U8(11), - B(Star), R(12), - B(CallProperty1), R(12), R(7), R(8), U8(22), + B(Star), R(14), + B(CallProperty1), R(14), R(7), R(8), U8(22), B(Jump), U8(68), B(LdaNamedProperty), R(7), U8(13), U8(24), B(JumpIfUndefined), U8(57), B(JumpIfNull), U8(55), - B(Star), R(12), - B(CallProperty0), R(12), R(7), U8(26), + B(Star), R(14), + B(CallProperty0), R(14), R(7), U8(26), B(Jump), U8(2), - B(Star), R(13), - B(Mov), R(0), R(12), - B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(12), U8(2), - /* 49 E> */ B(SuspendGenerator), R(0), R(0), U8(12), U8(1), - B(ResumeGenerator), R(0), R(0), U8(12), - B(Star), R(12), + B(Star), R(15), + B(Mov), R(0), R(14), + B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(14), U8(2), + /* 49 E> */ B(SuspendGenerator), R(0), R(0), U8(14), U8(2), + B(ResumeGenerator), R(0), R(0), U8(14), + B(Star), R(14), B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(Star), R(13), + B(Star), R(15), B(LdaZero), - B(TestReferenceEqual), R(13), + B(TestReferenceEqual), R(15), B(JumpIfTrue), U8(5), - B(Ldar), R(12), + B(Ldar), R(14), B(ReThrow), - B(Ldar), R(12), + B(Ldar), R(14), B(JumpIfJSReceiver), U8(9), - B(Star), R(14), - B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(14), U8(1), + B(Star), R(16), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(16), U8(1), B(CallRuntime), U16(Runtime::kThrowThrowMethodMissing), R(0), U8(0), - B(Star), R(13), - B(Mov), R(0), R(12), - B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(12), U8(2), - /* 49 E> */ B(SuspendGenerator), R(0), R(0), U8(12), U8(2), - B(ResumeGenerator), R(0), R(0), U8(12), - B(Star), R(12), + B(Star), R(15), + B(Mov), R(0), R(14), + B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(14), U8(2), + /* 49 E> */ B(SuspendGenerator), R(0), R(0), U8(14), U8(3), + B(ResumeGenerator), R(0), R(0), U8(14), + B(Star), R(14), B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(Star), R(13), + B(Star), R(15), B(LdaZero), - B(TestReferenceEqual), R(13), + B(TestReferenceEqual), R(15), B(JumpIfTrue), U8(5), - B(Ldar), R(12), + B(Ldar), R(14), B(ReThrow), - B(Ldar), R(12), - B(Mov), R(12), R(5), + B(Ldar), R(14), + B(Mov), R(14), R(5), B(JumpIfJSReceiver), U8(7), B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(5), U8(1), B(LdaNamedProperty), R(5), U8(15), U8(28), B(JumpIfToBooleanTrue), U8(38), B(LdaNamedProperty), R(5), U8(16), U8(30), - B(Star), R(15), + B(Star), R(17), B(LdaFalse), - B(Star), R(16), - B(Mov), R(0), R(14), - B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorYield), R(14), U8(3), - /* 49 E> */ B(SuspendGenerator), R(0), R(0), U8(14), U8(3), - B(ResumeGenerator), R(0), R(0), U8(14), + B(Star), R(18), + B(Mov), R(0), R(16), + B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorYield), R(16), U8(3), + /* 49 E> */ B(SuspendGenerator), R(0), R(0), U8(16), U8(4), + B(ResumeGenerator), R(0), R(0), U8(16), B(Star), R(8), B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), B(Star), R(6), - B(JumpLoop), U8(207), I8(0), + B(JumpLoop), U8(242), I8(0), B(LdaNamedProperty), R(5), U8(16), U8(32), B(Star), R(7), B(LdaSmi), I8(1), @@ -580,25 +553,9 @@ bytecodes: [ B(LdaSmi), I8(1), B(Star), R(1), B(Mov), R(7), R(2), - B(Jump), U8(85), - B(LdaUndefined), - B(Star), R(6), - B(Mov), R(0), R(5), - B(InvokeIntrinsic), U8(Runtime::k_AsyncGeneratorAwaitUncaught), R(5), U8(2), - B(SuspendGenerator), R(0), R(0), U8(5), U8(4), - B(ResumeGenerator), R(0), R(0), U8(5), - B(Star), R(5), - B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1), - B(Star), R(6), - B(LdaZero), - B(TestReferenceEqual), R(6), - B(JumpIfTrue), U8(5), - B(Ldar), R(5), - B(ReThrow), - B(LdaSmi), I8(1), - B(Star), R(1), - B(Mov), R(5), R(2), - B(Jump), U8(41), + B(Jump), U8(53), + B(Ldar), R(7), + B(Jump), U8(36), B(Star), R(5), B(CreateCatchContext), R(5), U8(17), B(Star), R(4), @@ -614,6 +571,10 @@ bytecodes: [ B(Star), R(2), B(LdaSmi), I8(2), B(Star), R(1), + B(Jump), U8(15), + B(LdaSmi), I8(-1), + B(Star), R(2), + B(Star), R(1), B(Jump), U8(7), B(Star), R(2), B(LdaZero), @@ -625,7 +586,7 @@ bytecodes: [ B(Ldar), R(3), B(SetPendingMessage), B(Ldar), R(1), - B(SwitchOnSmiNoFeedback), U8(20), U8(3), I8(0), + B(SwitchOnSmiNoFeedback), U8(19), U8(3), I8(0), B(Jump), U8(22), B(Ldar), R(2), B(ReThrow), @@ -642,10 +603,10 @@ bytecodes: [ ] constant pool: [ Smi [30], - Smi [203], - Smi [253], - Smi [312], - Smi [363], + Smi [162], + Smi [238], + Smi [288], + Smi [347], Smi [16], Smi [7], ONE_BYTE_INTERNALIZED_STRING_TYPE ["g"], @@ -653,20 +614,19 @@ constant pool: [ SYMBOL_TYPE, ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], Smi [11], - Smi [37], + Smi [72], ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["throw"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], SCOPE_INFO_TYPE, - Smi [377], - Smi [277], + Smi [380], Smi [6], Smi [9], Smi [23], ] handlers: [ - [20, 426, 426], - [23, 392, 392], + [20, 421, 429], + [23, 383, 387], ] diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/DestructuringAssignment.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/DestructuringAssignment.golden index f4a7c340c4..43515711db 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/DestructuringAssignment.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/DestructuringAssignment.golden @@ -66,7 +66,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(13), B(LdaConstant), U8(6), B(Star), R(14), @@ -203,7 +203,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(14), B(LdaConstant), U8(6), B(Star), R(15), @@ -327,7 +327,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(15), B(LdaConstant), U8(7), B(Star), R(16), diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden index 6fe59da400..82d51820bb 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden @@ -94,7 +94,7 @@ bytecodes: [ B(JumpIfNull), U8(86), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(17), B(LdaConstant), U8(9), B(Star), R(18), @@ -263,7 +263,7 @@ bytecodes: [ B(JumpIfNull), U8(86), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(17), B(LdaConstant), U8(9), B(Star), R(18), @@ -448,7 +448,7 @@ bytecodes: [ B(JumpIfNull), U8(86), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(17), B(LdaConstant), U8(9), B(Star), R(18), @@ -600,7 +600,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(14), B(LdaConstant), U8(8), B(Star), R(15), diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden index 571002d16e..dffa8f577b 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden @@ -62,7 +62,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(12), B(LdaConstant), U8(6), B(Star), R(13), @@ -165,7 +165,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(13), B(LdaConstant), U8(6), B(Star), R(14), @@ -278,7 +278,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(12), B(LdaConstant), U8(6), B(Star), R(13), @@ -384,7 +384,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(12), B(LdaConstant), U8(8), B(Star), R(13), diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOfLoop.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOfLoop.golden index f85f09c1f7..1752a3124e 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOfLoop.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOfLoop.golden @@ -66,7 +66,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(14), B(LdaConstant), U8(5), B(Star), R(15), @@ -203,7 +203,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(15), B(LdaConstant), U8(10), B(Star), R(16), @@ -318,7 +318,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(13), B(LdaConstant), U8(7), B(Star), R(14), @@ -430,7 +430,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(16), B(LdaConstant), U8(7), B(Star), R(17), @@ -547,7 +547,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(15), B(LdaConstant), U8(8), B(Star), R(16), @@ -679,7 +679,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(14), B(LdaConstant), U8(11), B(Star), R(15), @@ -795,7 +795,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(16), B(LdaConstant), U8(5), B(Star), R(17), @@ -935,7 +935,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(15), B(LdaConstant), U8(6), B(Star), R(16), diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/Generators.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/Generators.golden index 77b1924c73..996c15d2af 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/Generators.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/Generators.golden @@ -180,7 +180,7 @@ bytecodes: [ B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(155), + B(Wide), B(LdaSmi), I16(158), B(Star), R(14), B(LdaConstant), U8(12), B(Star), R(15), diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/PrivateClassFields.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/PrivateClassFields.golden index c7f5101dd7..dbe688f814 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/PrivateClassFields.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/PrivateClassFields.golden @@ -4,7 +4,6 @@ --- wrap: yes -private fields: yes --- snippet: " diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/PrivateMethods.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/PrivateMethods.golden new file mode 100644 index 0000000000..e783d81376 --- /dev/null +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/PrivateMethods.golden @@ -0,0 +1,139 @@ +# +# Autogenerated by generate-bytecode-expectations. +# + +--- +wrap: yes +private methods: yes + +--- +snippet: " + { + class A { + #a() { return 1; } + } + + new A; + } +" +frame size: 7 +parameter count: 1 +bytecode array length: 62 +bytecodes: [ + /* 30 E> */ B(StackCheck), + B(CreateBlockContext), U8(0), + B(PushContext), R(2), + B(LdaTheHole), + B(Star), R(6), + B(CreateClosure), U8(2), U8(0), U8(2), + B(Star), R(3), + B(LdaConstant), U8(1), + B(Star), R(4), + B(CreateClosure), U8(3), U8(1), U8(2), + B(StaCurrentContextSlot), U8(4), + B(Mov), R(3), R(5), + B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(3), + B(Star), R(4), + B(Mov), R(5), R(1), + B(LdaConstant), U8(4), + B(Star), R(5), + B(CallRuntime), U16(Runtime::kCreatePrivateNameSymbol), R(5), U8(1), + B(StaCurrentContextSlot), U8(5), + B(PopContext), R(2), + B(Mov), R(1), R(0), + /* 78 S> */ B(Ldar), R(0), + /* 78 E> */ B(Construct), R(0), R(0), U8(0), U8(0), + B(LdaUndefined), + /* 87 S> */ B(Return), +] +constant pool: [ + SCOPE_INFO_TYPE, + FIXED_ARRAY_TYPE, + SHARED_FUNCTION_INFO_TYPE, + SHARED_FUNCTION_INFO_TYPE, + ONE_BYTE_INTERNALIZED_STRING_TYPE ["A"], +] +handlers: [ +] + +--- +snippet: " + { + class D { + #d() {} + } + + class E extends D { + #e() {} + } + + new D; + new E; + } +" +frame size: 9 +parameter count: 1 +bytecode array length: 121 +bytecodes: [ + /* 30 E> */ B(StackCheck), + B(CreateBlockContext), U8(0), + B(PushContext), R(4), + B(LdaTheHole), + B(Star), R(8), + B(CreateClosure), U8(2), U8(0), U8(2), + B(Star), R(5), + B(LdaConstant), U8(1), + B(Star), R(6), + B(CreateClosure), U8(3), U8(1), U8(2), + B(StaCurrentContextSlot), U8(4), + B(Mov), R(5), R(7), + B(CallRuntime), U16(Runtime::kDefineClass), R(6), U8(3), + B(Star), R(6), + B(Mov), R(7), R(3), + B(LdaConstant), U8(4), + B(Star), R(7), + B(CallRuntime), U16(Runtime::kCreatePrivateNameSymbol), R(7), U8(1), + B(StaCurrentContextSlot), U8(5), + B(PopContext), R(4), + B(Mov), R(3), R(0), + /* 38 E> */ B(CreateBlockContext), U8(5), + B(PushContext), R(4), + /* 83 E> */ B(CreateClosure), U8(7), U8(2), U8(2), + B(Star), R(5), + B(LdaConstant), U8(6), + B(Star), R(6), + B(CreateClosure), U8(8), U8(3), U8(2), + B(StaCurrentContextSlot), U8(4), + B(Mov), R(5), R(7), + B(Mov), R(3), R(8), + B(CallRuntime), U16(Runtime::kDefineClass), R(6), U8(3), + B(Star), R(6), + B(Mov), R(7), R(2), + B(LdaConstant), U8(9), + B(Star), R(7), + B(CallRuntime), U16(Runtime::kCreatePrivateNameSymbol), R(7), U8(1), + B(StaCurrentContextSlot), U8(5), + B(PopContext), R(4), + B(Mov), R(2), R(1), + /* 106 S> */ B(Ldar), R(3), + /* 106 E> */ B(Construct), R(3), R(0), U8(0), U8(0), + /* 115 S> */ B(Ldar), R(2), + /* 115 E> */ B(Construct), R(2), R(0), U8(0), U8(2), + B(LdaUndefined), + /* 124 S> */ B(Return), +] +constant pool: [ + SCOPE_INFO_TYPE, + FIXED_ARRAY_TYPE, + SHARED_FUNCTION_INFO_TYPE, + SHARED_FUNCTION_INFO_TYPE, + ONE_BYTE_INTERNALIZED_STRING_TYPE ["D"], + SCOPE_INFO_TYPE, + FIXED_ARRAY_TYPE, + SHARED_FUNCTION_INFO_TYPE, + SHARED_FUNCTION_INFO_TYPE, + ONE_BYTE_INTERNALIZED_STRING_TYPE ["E"], +] +handlers: [ +] + diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/PublicClassFields.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/PublicClassFields.golden index 6671c1fb06..c91e7b06aa 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/PublicClassFields.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/PublicClassFields.golden @@ -4,7 +4,6 @@ --- wrap: yes -public fields: yes --- snippet: " diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/StaticClassFields.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/StaticClassFields.golden index 752e4cdc6f..f03337e4aa 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/StaticClassFields.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/StaticClassFields.golden @@ -4,8 +4,6 @@ --- wrap: yes -public fields: yes -static fields: yes --- snippet: " |