Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: test/cctest/interpreter/bytecode_expectations/Generators.golden

Issue 1968263002: Remove unused 'receiver' field from generators (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: weaken dcheck Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | test/cctest/test-ast-expression-visitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/bytecode_expectations/Generators.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Generators.golden b/test/cctest/interpreter/bytecode_expectations/Generators.golden
index 0fd3ca11dee728ab4d344f2b5949f9895b04d647..4c1ea9a3acf4f75b83dc59bada7e81516c45c597 100644
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden
@@ -15,7 +15,7 @@ snippet: "
"
frame size: 11
parameter count: 1
-bytecode array length: 197
+bytecode array length: 192
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(12),
@@ -23,7 +23,7 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1),
- B(JumpIfTrue), U8(49),
+ B(JumpIfTrue), U8(44),
B(Illegal),
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -33,9 +33,7 @@ bytecodes: [
B(Mov), R(context), R(4),
B(Ldar), R(closure),
B(Star), R(5),
- B(LdaContextSlot), R(context), U8(4),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(2),
+ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(1),
B(StaContextSlot), R(context), U8(5),
B(Star), R(5),
B(LdaContextSlot), R(context), U8(5),
@@ -111,7 +109,7 @@ bytecodes: [
constant pool: [
]
handlers: [
- [30, 133, 139],
+ [30, 128, 134],
]
---
@@ -120,7 +118,7 @@ snippet: "
"
frame size: 11
parameter count: 1
-bytecode array length: 293
+bytecode array length: 288
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(18),
@@ -128,10 +126,10 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1),
- B(JumpIfTrue), U8(55),
+ B(JumpIfTrue), U8(50),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(1),
- B(JumpIfTrueConstant), U8(0),
+ B(JumpIfTrue), U8(124),
B(Illegal),
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -141,9 +139,7 @@ bytecodes: [
B(Mov), R(context), R(4),
B(Ldar), R(closure),
B(Star), R(5),
- B(LdaContextSlot), R(context), U8(4),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(2),
+ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(1),
B(StaContextSlot), R(context), U8(5),
B(Star), R(5),
B(LdaContextSlot), R(context), U8(5),
@@ -258,10 +254,9 @@ bytecodes: [
/* 25 S> */ B(Return),
]
constant pool: [
- kInstanceTypeDontCare,
]
handlers: [
- [36, 220, 226],
+ [36, 215, 221],
]
---
@@ -270,7 +265,7 @@ snippet: "
"
frame size: 17
parameter count: 1
-bytecode array length: 794
+bytecode array length: 789
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(18),
@@ -278,7 +273,7 @@ bytecodes: [
B(Star), R(3),
B(LdaZero),
B(TestEqualStrict), R(3),
- B(JumpIfTrue), U8(55),
+ B(JumpIfTrue), U8(50),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(3),
B(JumpIfTrueConstant), U8(3),
@@ -291,9 +286,7 @@ bytecodes: [
B(Mov), R(context), R(6),
B(Ldar), R(closure),
B(Star), R(7),
- B(LdaContextSlot), R(context), U8(4),
- B(Star), R(8),
- B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8(2),
+ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8(1),
B(StaContextSlot), R(context), U8(5),
B(Star), R(7),
B(LdaContextSlot), R(context), U8(5),
@@ -634,9 +627,9 @@ constant pool: [
kInstanceTypeDontCare,
]
handlers: [
- [36, 712, 718],
- [150, 448, 454],
- [153, 399, 401],
- [556, 571, 573],
+ [36, 707, 713],
+ [145, 443, 449],
+ [148, 394, 396],
+ [551, 566, 568],
]
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | test/cctest/test-ast-expression-visitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698