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 2641443002: [ignition] Use absolute values for jump offsets (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 1620f93f5e99c0aff20cc4bb095bcfd1ae9fe234..9bf63ce8a0169685876ad1bf17edad96506843e6 100644
--- a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden
@@ -27,7 +27,7 @@ bytecodes: [
/* 65 S> */ B(LdaSmi), U8(10),
/* 71 E> */ B(Add), R(0), U8(3),
B(Star), R(0),
- B(JumpLoop), U8(-15), U8(0),
+ B(JumpLoop), U8(15), U8(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), U8(0),
/* 85 S> */ B(Ldar), R(0),
/* 95 S> */ B(Return),
]

Powered by Google App Engine
This is Rietveld 408576698