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

Unified Diff: test/cctest/interpreter/bytecode_expectations/UnaryOperators.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/UnaryOperators.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
index dc2a9302288b29e88d1e8a07112ca684cbe5eb46..d9ffb4a8c036d1855986b58d934062cb7bbec9c8 100644
--- a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
@@ -17,7 +17,7 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 23
+bytecode array length: 22
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaZero),
@@ -25,12 +25,11 @@ bytecodes: [
/* 54 S> */ B(LdaSmi), U8(10),
/* 54 E> */ B(TestEqual), R(0),
B(LogicalNot),
- B(JumpIfFalse), U8(11),
+ B(JumpIfFalse), U8(10),
/* 45 E> */ B(StackCheck),
- /* 65 S> */ B(LdaSmi), U8(10),
- B(Add), R(0),
+ /* 65 S> */ B(AddSmi), U8(10), R(0),
B(Star), R(0),
- B(Jump), U8(-14),
+ B(Jump), U8(-13),
/* 79 S> */ B(Ldar), R(0),
/* 89 S> */ B(Return),
]
@@ -99,7 +98,7 @@ snippet: "
"
frame size: 4
parameter count: 1
-bytecode array length: 22
+bytecode array length: 21
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(Wide), B(LdaSmi), U16(1234),
@@ -107,8 +106,7 @@ bytecodes: [
/* 56 S> */ B(Nop),
/* 66 E> */ B(Mul), R(0),
B(Star), R(3),
- B(LdaSmi), U8(1),
- B(Sub), R(3),
+ B(SubSmi), U8(1), R(3),
B(LdrUndefined), R(1),
B(Ldar), R(1),
/* 74 S> */ B(Nop),

Powered by Google App Engine
This is Rietveld 408576698