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

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

Issue 2793923002: [Interpreter] Optimize code of the form 'if (x === undefined)'. (Closed)
Patch Set: Rebase Created 3 years, 9 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
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 c62127519c5bdfdfeb4c4dd6644ab15325e003fd..ad568a82f4dd31611f4068b61da4d4585c0ce321 100644
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden
@@ -280,7 +280,7 @@ snippet: "
"
frame size: 18
parameter count: 1
-bytecode array length: 754
+bytecode array length: 751
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(33),
@@ -474,14 +474,13 @@ bytecodes: [
B(Star), R(11),
B(LdaZero),
B(TestEqualStrict), R(11), U8(16),
- B(JumpIfTrue), U8(153),
+ B(JumpIfTrue), U8(150),
B(LdaContextSlot), R(1), U8(7), U8(0),
B(Star), R(11),
B(LdaNamedProperty), R(11), U8(9), U8(17),
B(StaContextSlot), R(1), U8(11), U8(0),
B(LdaContextSlot), R(1), U8(11), U8(0),
- B(Star), R(11),
- B(TestUndetectable), R(11),
+ B(TestUndetectable),
B(JumpIfFalse), U8(4),
B(Jump), U8(127),
B(LdaContextSlot), R(1), U8(9), U8(0),
@@ -617,12 +616,12 @@ constant pool: [
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
FIXED_ARRAY_TYPE,
- Smi [566],
+ Smi [563],
]
handlers: [
- [51, 678, 684],
+ [51, 675, 681],
[146, 437, 443],
[149, 393, 395],
- [533, 549, 551],
+ [530, 546, 548],
]

Powered by Google App Engine
This is Rietveld 408576698