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

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

Issue 2038083002: [Interpreter] Add a simple dead-code elimination bytecode optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_jump_writer
Patch Set: Fix tests Created 4 years, 6 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 ae1122b2bbfd0a6f429ef6d660d4654276160ee3..98c822931418f1d0ffcf1bbd87bcc7f350a15e4d 100644
--- a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
+++ b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
@@ -150,15 +150,14 @@ snippet: "
"
frame size: 0
parameter count: 2
-bytecode array length: 20
+bytecode array length: 18
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 18 S> */ B(LdaZero),
/* 24 E> */ B(TestLessThanOrEqual), R(arg0),
- B(JumpIfFalse), U8(9),
+ B(JumpIfFalse), U8(7),
/* 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 +261,7 @@ snippet: "
"
frame size: 2
parameter count: 2
-bytecode array length: 411
+bytecode array length: 409
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 24 S> */ B(LdaZero),
@@ -402,7 +401,6 @@ bytecodes: [
/* 1073 S> */ 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),
@@ -490,7 +488,7 @@ snippet: "
"
frame size: 2
parameter count: 1
-bytecode array length: 409
+bytecode array length: 407
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 25 S> */ B(LdaZero),
@@ -629,7 +627,6 @@ bytecodes: [
/* 1067 S> */ 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),
@@ -723,15 +720,14 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 16
+bytecode array length: 14
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 25 S> */ B(LdaZero),
B(Star), R(0),
- /* 30 S> */ B(JumpIfToBooleanFalse), U8(7),
+ /* 30 S> */ B(JumpIfToBooleanFalse), U8(5),
/* 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