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

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

Issue 2111923002: [interpreter] Introduce binary op bytecodes for Smi operand. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 5 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/Switch.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Switch.golden b/test/cctest/interpreter/bytecode_expectations/Switch.golden
index ddb8a7aa655220dd725b74fbd3d82327a289885f..e08c6ddce5b39e80b6fec7bec642cbde90d88479 100644
--- a/test/cctest/interpreter/bytecode_expectations/Switch.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Switch.golden
@@ -481,7 +481,7 @@ snippet: "
"
frame size: 5
parameter count: 1
-bytecode array length: 59
+bytecode array length: 58
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(1),
@@ -493,10 +493,9 @@ bytecodes: [
B(JumpIfToBooleanTrue), U8(10),
B(LdaSmi), U8(2),
B(TestEqualStrict), R(3),
- B(JumpIfTrue), U8(33),
- B(Jump), U8(35),
- B(LdaSmi), U8(1),
- /* 77 E> */ B(Add), R(2),
+ B(JumpIfTrue), U8(32),
+ B(Jump), U8(34),
+ /* 77 E> */ B(AddSmi), U8(1), R(2),
B(Star), R(1),
/* 70 S> */ B(LdaSmi), U8(2),
B(TestEqualStrict), R(1),

Powered by Google App Engine
This is Rietveld 408576698