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

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

Issue 1736233002: [interpreter] ToObject never yields null. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/ForIn.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ForIn.golden b/test/cctest/interpreter/bytecode_expectations/ForIn.golden
index fd6c7ede82296612ee787a8b2a1ebad60542c0be..25656ae26f8cfacd23cff23e3a6d8368216321a6 100644
--- a/test/cctest/interpreter/bytecode_expectations/ForIn.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ForIn.golden
@@ -65,15 +65,14 @@ snippet: "
"
frame size: 8
parameter count: 1
-bytecode array length: 46
+bytecode array length: 44
bytecodes: [
B(StackCheck),
B(LdaConstant), U8(0),
B(Star), R(1),
- B(JumpIfUndefined), U8(39),
- B(JumpIfNull), U8(37),
+ B(JumpIfUndefined), U8(37),
+ B(JumpIfNull), U8(35),
B(ToObject),
- B(JumpIfNull), U8(34),
B(Star), R(3),
B(ForInPrepare), R(4),
B(LdaZero),
@@ -106,16 +105,15 @@ snippet: "
"
frame size: 9
parameter count: 1
-bytecode array length: 58
+bytecode array length: 56
bytecodes: [
B(StackCheck),
B(LdaZero),
B(Star), R(1),
B(CreateArrayLiteral), U8(0), U8(0), U8(3),
- B(JumpIfUndefined), U8(48),
- B(JumpIfNull), U8(46),
+ B(JumpIfUndefined), U8(46),
+ B(JumpIfNull), U8(44),
B(ToObject),
- B(JumpIfNull), U8(43),
B(Star), R(3),
B(ForInPrepare), R(4),
B(LdaZero),
@@ -155,17 +153,16 @@ snippet: "
"
frame size: 8
parameter count: 1
-bytecode array length: 95
+bytecode array length: 93
bytecodes: [
B(StackCheck),
B(CreateObjectLiteral), U8(0), U8(0), U8(9),
B(Star), R(1),
B(Star), R(0),
B(CreateArrayLiteral), U8(1), U8(1), U8(3),
- B(JumpIfUndefined), U8(80),
- B(JumpIfNull), U8(78),
+ B(JumpIfUndefined), U8(78),
+ B(JumpIfNull), U8(76),
B(ToObject),
- B(JumpIfNull), U8(75),
B(Star), R(1),
B(ForInPrepare), R(2),
B(LdaZero),
@@ -217,16 +214,15 @@ snippet: "
"
frame size: 9
parameter count: 1
-bytecode array length: 70
+bytecode array length: 68
bytecodes: [
B(StackCheck),
B(CreateArrayLiteral), U8(0), U8(0), U8(3),
B(Star), R(0),
B(CreateArrayLiteral), U8(1), U8(1), U8(3),
- B(JumpIfUndefined), U8(57),
- B(JumpIfNull), U8(55),
+ B(JumpIfUndefined), U8(55),
+ B(JumpIfNull), U8(53),
B(ToObject),
- B(JumpIfNull), U8(52),
B(Star), R(1),
B(ForInPrepare), R(2),
B(LdaZero),
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | test/cctest/interpreter/bytecode_expectations/WideRegisters.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698