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

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

Issue 2254493002: [interpreter] Use VisitForTest for loop conditions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix for as well Created 4 years, 4 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/ForOf.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
index 2bb1e05507245c80214e6ca088d4cfa046af2bbe..7157f83cf05aae3897c9462a65c336130ab2bcc6 100644
--- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
@@ -153,7 +153,7 @@ snippet: "
"
frame size: 17
parameter count: 1
-bytecode array length: 295
+bytecode array length: 293
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaConstant), U8(0),
@@ -174,7 +174,7 @@ bytecodes: [
B(JumpIfFalse), U8(7),
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(2), U8(1),
B(LdaNamedProperty), R(2), U8(3), U8(9),
- B(JumpIfToBooleanTrue), U8(28),
+ B(JumpIfToBooleanTrue), U8(26),
B(LdrNamedProperty), R(2), U8(4), U8(11), R(4),
B(LdaSmi), U8(2),
B(Star), R(3),
@@ -184,8 +184,7 @@ bytecodes: [
/* 73 S> */ B(LdaZero),
B(Star), R(10),
B(Mov), R(0), R(11),
- B(Jump), U8(57),
- B(Jump), U8(-54),
+ B(Jump), U8(55),
B(Jump), U8(41),
B(Star), R(15),
B(LdaConstant), U8(5),
@@ -288,9 +287,9 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
]
handlers: [
- [11, 124, 130],
- [14, 83, 85],
- [203, 213, 215],
+ [11, 122, 128],
+ [14, 81, 83],
+ [201, 211, 213],
]
---
@@ -450,7 +449,7 @@ snippet: "
"
frame size: 15
parameter count: 1
-bytecode array length: 308
+bytecode array length: 306
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8),
@@ -473,7 +472,7 @@ bytecodes: [
B(JumpIfFalse), U8(7),
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(1), U8(1),
B(LdaNamedProperty), R(1), U8(4), U8(9),
- B(JumpIfToBooleanTrue), U8(31),
+ B(JumpIfToBooleanTrue), U8(29),
/* 67 E> */ B(LdrNamedProperty), R(1), U8(5), U8(11), R(3),
B(LdaSmi), U8(2),
B(Star), R(2),
@@ -484,8 +483,7 @@ bytecodes: [
/* 96 E> */ B(LdrNamedProperty), R(6), U8(6), U8(15), R(9),
B(LdaZero),
B(Star), R(8),
- B(Jump), U8(57),
- B(Jump), U8(-57),
+ B(Jump), U8(55),
B(Jump), U8(41),
B(Star), R(13),
B(LdaConstant), U8(7),
@@ -590,8 +588,8 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
]
handlers: [
- [15, 137, 143],
- [18, 96, 98],
- [216, 226, 228],
+ [15, 135, 141],
+ [18, 94, 96],
+ [214, 224, 226],
]

Powered by Google App Engine
This is Rietveld 408576698