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

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

Issue 1783483002: [interpreter] Add support for scalable operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Re-generate golden files. Created 4 years, 9 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 9ba7fd9be3dddfc13c2bda86d79887581dc07d22..0a3ca760c76f8cd03c055629efba0ce590f48ad2 100644
--- a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
@@ -24,14 +24,14 @@ bytecodes: [
B(Star), R(0),
B(Ldar), R(0),
B(Star), R(1),
- B(LdaSmi8), U8(10),
+ B(LdaSmi), U8(10),
B(TestEqual), R(1),
B(LogicalNot),
B(JumpIfFalse), U8(15),
B(StackCheck),
B(Ldar), R(0),
B(Star), R(1),
- B(LdaSmi8), U8(10),
+ B(LdaSmi), U8(10),
B(Add), R(1),
B(Star), R(0),
B(Jump), U8(-22),
@@ -85,10 +85,10 @@ parameter count: 1
bytecode array length: 13
bytecodes: [
B(StackCheck),
- B(LdaSmi8), U8(101),
+ B(LdaSmi), U8(101),
B(Star), R(0),
B(Star), R(1),
- B(LdaSmi8), U8(3),
+ B(LdaSmi), U8(3),
B(Mul), R(1),
B(LdaUndefined),
B(Return),
@@ -106,23 +106,22 @@ snippet: "
"
frame size: 4
parameter count: 1
-bytecode array length: 21
+bytecode array length: 23
bytecodes: [
B(StackCheck),
- B(LdaConstant), U8(0),
+ B(Wide), B(LdaSmi), U16(1234),
B(Star), R(0),
B(Star), R(2),
B(Ldar), R(0),
B(Mul), R(2),
B(Star), R(3),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(Sub), R(3),
B(LdaUndefined),
B(Star), R(1),
B(Return),
]
constant pool: [
- 1234,
]
handlers: [
]
@@ -137,10 +136,10 @@ parameter count: 1
bytecode array length: 12
bytecodes: [
B(StackCheck),
- B(LdaSmi8), U8(13),
+ B(LdaSmi), U8(13),
B(Star), R(0),
B(Star), R(1),
- B(LdaSmi8), U8(-1),
+ B(LdaSmi), U8(-1),
B(BitwiseXor), R(1),
B(Return),
]
@@ -159,10 +158,10 @@ parameter count: 1
bytecode array length: 12
bytecodes: [
B(StackCheck),
- B(LdaSmi8), U8(13),
+ B(LdaSmi), U8(13),
B(Star), R(0),
B(Star), R(1),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(Mul), R(1),
B(Return),
]
@@ -181,10 +180,10 @@ parameter count: 1
bytecode array length: 12
bytecodes: [
B(StackCheck),
- B(LdaSmi8), U8(13),
+ B(LdaSmi), U8(13),
B(Star), R(0),
B(Star), R(1),
- B(LdaSmi8), U8(-1),
+ B(LdaSmi), U8(-1),
B(Mul), R(1),
B(Return),
]

Powered by Google App Engine
This is Rietveld 408576698