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

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

Issue 2640273002: [ignition] Expect 'I' for signed bytecode operands (Closed)
Patch Set: Rebase Created 3 years, 11 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 9bf63ce8a0169685876ad1bf17edad96506843e6..b94144d76bbb98f2bd4a3f1b305834b19513a69a 100644
--- a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
@@ -20,14 +20,14 @@ bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaZero),
B(Star), R(0),
- /* 54 S> */ B(LdaSmi), U8(10),
+ /* 54 S> */ B(LdaSmi), I8(10),
/* 54 E> */ B(TestEqual), R(0), U8(2),
B(JumpIfTrue), U8(13),
/* 45 E> */ B(StackCheck),
- /* 65 S> */ B(LdaSmi), U8(10),
+ /* 65 S> */ B(LdaSmi), I8(10),
/* 71 E> */ B(Add), R(0), U8(3),
B(Star), R(0),
- B(JumpLoop), U8(15), U8(0),
+ B(JumpLoop), U8(15), I8(0),
/* 79 S> */ B(Ldar), R(0),
/* 89 S> */ B(Return),
]
@@ -58,7 +58,7 @@ bytecodes: [
/* 74 S> */ B(LdaFalse),
/* 74 E> */ B(TestEqual), R(0), U8(2),
B(JumpIfFalse), U8(5),
- B(JumpLoop), U8(12), U8(0),
+ B(JumpLoop), U8(12), I8(0),
/* 85 S> */ B(Ldar), R(0),
/* 95 S> */ B(Return),
]
@@ -77,9 +77,9 @@ parameter count: 1
bytecode array length: 12
bytecodes: [
/* 30 E> */ B(StackCheck),
- /* 42 S> */ B(LdaSmi), U8(101),
+ /* 42 S> */ B(LdaSmi), I8(101),
B(Star), R(0),
- /* 47 S> */ B(LdaSmi), U8(3),
+ /* 47 S> */ B(LdaSmi), I8(3),
/* 61 E> */ B(Mul), R(0), U8(2),
B(LdaUndefined),
/* 67 S> */ B(Return),
@@ -100,12 +100,12 @@ parameter count: 1
bytecode array length: 22
bytecodes: [
/* 30 E> */ B(StackCheck),
- /* 42 S> */ B(Wide), B(LdaSmi), U16(1234),
+ /* 42 S> */ B(Wide), B(LdaSmi), I16(1234),
B(Star), R(0),
/* 56 S> */ B(Nop),
/* 64 E> */ B(Mul), R(0), U8(2),
B(Star), R(2),
- /* 68 E> */ B(SubSmi), U8(1), R(2), U8(3),
+ /* 68 E> */ B(SubSmi), I8(1), R(2), U8(3),
B(LdaUndefined),
B(Star), R(1),
/* 74 S> */ B(Nop),
@@ -126,9 +126,9 @@ parameter count: 1
bytecode array length: 11
bytecodes: [
/* 30 E> */ B(StackCheck),
- /* 42 S> */ B(LdaSmi), U8(13),
+ /* 42 S> */ B(LdaSmi), I8(13),
B(Star), R(0),
- /* 46 S> */ B(LdaSmi), U8(-1),
+ /* 46 S> */ B(LdaSmi), I8(-1),
/* 53 E> */ B(BitwiseXor), R(0), U8(2),
/* 57 S> */ B(Return),
]
@@ -147,9 +147,9 @@ parameter count: 1
bytecode array length: 11
bytecodes: [
/* 30 E> */ B(StackCheck),
- /* 42 S> */ B(LdaSmi), U8(13),
+ /* 42 S> */ B(LdaSmi), I8(13),
B(Star), R(0),
- /* 46 S> */ B(LdaSmi), U8(1),
+ /* 46 S> */ B(LdaSmi), I8(1),
/* 53 E> */ B(Mul), R(0), U8(2),
/* 57 S> */ B(Return),
]
@@ -168,9 +168,9 @@ parameter count: 1
bytecode array length: 11
bytecodes: [
/* 30 E> */ B(StackCheck),
- /* 42 S> */ B(LdaSmi), U8(13),
+ /* 42 S> */ B(LdaSmi), I8(13),
B(Star), R(0),
- /* 46 S> */ B(LdaSmi), U8(-1),
+ /* 46 S> */ B(LdaSmi), I8(-1),
/* 53 E> */ B(Mul), R(0), U8(2),
/* 57 S> */ B(Return),
]

Powered by Google App Engine
This is Rietveld 408576698