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

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

Issue 2254493002: [interpreter] Use VisitForTest for loop conditions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase(line) golden file 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/BasicLoops.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden
index f46d6a470347312e0b07562be3f022ed581ccbee..d44e469fb5986bf9478164cdfe3fcb652b5e6105 100644
--- a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden
+++ b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden
@@ -165,7 +165,7 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 39
+bytecode array length: 37
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaZero),
@@ -184,8 +184,7 @@ bytecodes: [
B(Jump), U8(-20),
/* 122 S> */ B(AddSmi), U8(1), R(0),
B(Star), R(0),
- /* 135 S> */ B(Jump), U8(4),
- B(Jump), U8(-30),
+ /* 135 S> */ B(Jump), U8(2),
/* 144 S> */ B(Ldar), R(0),
/* 154 S> */ B(Return),
]
@@ -287,7 +286,7 @@ snippet: "
"
frame size: 2
parameter count: 1
-bytecode array length: 29
+bytecode array length: 27
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(10),
@@ -300,8 +299,7 @@ bytecodes: [
B(Star), R(1),
/* 78 S> */ B(SubSmi), U8(1), R(0),
B(Star), R(0),
- /* 98 S> */ B(Ldar), R(0),
- B(JumpIfToBooleanTrue), U8(-15),
+ /* 98 S> */ B(JumpIfToBooleanTrue), U8(-13),
/* 102 S> */ B(Ldar), R(1),
/* 112 S> */ B(Return),
]

Powered by Google App Engine
This is Rietveld 408576698