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

Unified Diff: test/cctest/interpreter/bytecode_expectations/DoExpression.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/DoExpression.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/DoExpression.golden b/test/cctest/interpreter/bytecode_expectations/DoExpression.golden
index dd8a085fc47c66866ddac24a60c9597b6c706f8b..0fae9e67a4b77bfbdbd943e110d8e1ab277a3e1f 100644
--- a/test/cctest/interpreter/bytecode_expectations/DoExpression.golden
+++ b/test/cctest/interpreter/bytecode_expectations/DoExpression.golden
@@ -54,7 +54,7 @@ snippet: "
"
frame size: 2
parameter count: 1
-bytecode array length: 24
+bytecode array length: 17
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 34 E> */ B(StackCheck),
@@ -63,11 +63,8 @@ bytecodes: [
/* 69 S> */ B(Inc),
B(Star), R(1),
B(Star), R(0),
- /* 74 S> */ B(Jump), U8(11),
- B(Mov), R(0), R(1),
- /* 84 S> */ B(LdaSmi), U8(20),
- B(Star), R(1),
- B(Jump), U8(-19),
+ /* 74 S> */ B(Jump), U8(4),
+ B(Jump), U8(-12),
B(LdaUndefined),
/* 94 S> */ B(Return),
]

Powered by Google App Engine
This is Rietveld 408576698