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

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

Issue 2030583002: [Interpreter] Don't try to eliminate dead-code in bytecode-array-builder (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Test 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
Index: test/cctest/interpreter/bytecode_expectations/IfConditions.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
index d86154283ae08773a33ccaab0f9159619c9e1061..957ccd947408c0c4aee27f6920d2119665c394d3 100644
--- a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
+++ b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
@@ -150,14 +150,15 @@ snippet: "
"
frame size: 0
parameter count: 2
-bytecode array length: 18
+bytecode array length: 20
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 18 S> */ B(LdaZero),
/* 24 E> */ B(TestLessThanOrEqual), R(arg0),
- B(JumpIfFalse), U8(7),
+ B(JumpIfFalse), U8(9),
/* 36 S> */ B(Wide), B(LdaSmi), U16(200),
/* 80 S> */ B(Return),
+ B(Jump), U8(7),
/* 63 S> */ B(Wide), B(LdaSmi), U16(-200),
/* 80 S> */ B(Return),
B(LdaUndefined),
@@ -262,7 +263,7 @@ snippet: "
"
frame size: 2
parameter count: 2
-bytecode array length: 537
+bytecode array length: 539
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 24 S> */ B(LdaZero),
@@ -530,6 +531,7 @@ bytecodes: [
B(Mov), R(1), R(0),
/* 1081 S> */ B(Wide), B(LdaSmi), U16(200),
/* 1117 S> */ B(Return),
+ B(Jump), U8(7),
/* 1102 S> */ B(Wide), B(LdaSmi), U16(-200),
/* 1117 S> */ B(Return),
B(LdaUndefined),
@@ -617,7 +619,7 @@ snippet: "
"
frame size: 2
parameter count: 1
-bytecode array length: 535
+bytecode array length: 537
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 25 S> */ B(LdaZero),
@@ -884,6 +886,7 @@ bytecodes: [
B(Mov), R(1), R(0),
/* 1076 S> */ B(Wide), B(LdaSmi), U16(200),
/* 1112 S> */ B(Return),
+ B(Jump), U8(7),
/* 1097 S> */ B(Wide), B(LdaSmi), U16(-200),
/* 1112 S> */ B(Return),
B(LdaUndefined),
@@ -985,14 +988,15 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 14
+bytecode array length: 16
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 25 S> */ B(LdaZero),
B(Star), R(0),
- /* 30 S> */ B(JumpIfToBooleanFalse), U8(5),
+ /* 30 S> */ B(JumpIfToBooleanFalse), U8(7),
/* 43 S> */ B(LdaSmi), U8(20),
/* 85 S> */ B(Return),
+ B(Jump), U8(5),
/* 69 S> */ B(LdaSmi), U8(-20),
/* 85 S> */ B(Return),
B(LdaUndefined),

Powered by Google App Engine
This is Rietveld 408576698