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

Unified Diff: test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.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/PrimitiveExpressions.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.golden b/test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.golden
index 8ff00a0762d11537d6d563940cce5e41d925aa65..ba6b0ae61809ee8c84f39df3c84a6c57faf2484b 100644
--- a/test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.golden
+++ b/test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.golden
@@ -32,13 +32,12 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 9
+bytecode array length: 8
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaZero),
B(Star), R(0),
- /* 45 S> */ B(LdaSmi), U8(3),
- B(Add), R(0),
+ /* 45 S> */ B(AddSmi), U8(3), R(0),
/* 59 S> */ B(Return),
]
constant pool: [
@@ -52,13 +51,12 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 9
+bytecode array length: 8
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaZero),
B(Star), R(0),
- /* 45 S> */ B(LdaSmi), U8(3),
- B(Sub), R(0),
+ /* 45 S> */ B(SubSmi), U8(3), R(0),
/* 59 S> */ B(Return),
]
constant pool: [
@@ -132,13 +130,12 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 10
+bytecode array length: 9
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(1),
B(Star), R(0),
- /* 45 S> */ B(LdaSmi), U8(2),
- B(BitwiseOr), R(0),
+ /* 45 S> */ B(BitwiseOrSmi), U8(2), R(0),
/* 59 S> */ B(Return),
]
constant pool: [
@@ -172,13 +169,12 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 10
+bytecode array length: 9
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(1),
B(Star), R(0),
- /* 45 S> */ B(LdaSmi), U8(2),
- B(BitwiseAnd), R(0),
+ /* 45 S> */ B(BitwiseAndSmi), U8(2), R(0),
/* 59 S> */ B(Return),
]
constant pool: [
@@ -192,13 +188,12 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 10
+bytecode array length: 9
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(10),
B(Star), R(0),
- /* 46 S> */ B(LdaSmi), U8(3),
- B(ShiftLeft), R(0),
+ /* 46 S> */ B(ShiftLeftSmi), U8(3), R(0),
/* 61 S> */ B(Return),
]
constant pool: [
@@ -212,13 +207,12 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 10
+bytecode array length: 9
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(10),
B(Star), R(0),
- /* 46 S> */ B(LdaSmi), U8(3),
- B(ShiftRight), R(0),
+ /* 46 S> */ B(ShiftRightSmi), U8(3), R(0),
/* 61 S> */ B(Return),
]
constant pool: [

Powered by Google App Engine
This is Rietveld 408576698