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

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

Issue 1998203002: [Interpreter] Preserve source positions in peephole optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nitlet on last patch set. Created 4 years, 7 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/RemoveRedundantLdar.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/RemoveRedundantLdar.golden b/test/cctest/interpreter/bytecode_expectations/RemoveRedundantLdar.golden
index b5ebec19752104efc88fb04dc8b4c3a099c7dfe6..35b4a7893c7b3dd5690e3d33eb4e3c1f2248da53 100644
--- a/test/cctest/interpreter/bytecode_expectations/RemoveRedundantLdar.golden
+++ b/test/cctest/interpreter/bytecode_expectations/RemoveRedundantLdar.golden
@@ -28,7 +28,7 @@ bytecodes: [
B(Star), R(1),
/* 78 E> */ B(Ldar), R(0),
B(Add), R(1),
- /* 69 E> */ B(Star), R(0),
+ B(Star), R(0),
/* 86 S> */ B(Star), R(1),
B(LdaSmi), U8(10),
/* 95 E> */ B(TestGreaterThan), R(1),
@@ -64,7 +64,7 @@ bytecodes: [
B(Star), R(1),
/* 69 E> */ B(Ldar), R(0),
B(Add), R(1),
- /* 60 E> */ B(Star), R(0),
+ B(Star), R(0),
/* 77 S> */ B(Star), R(1),
B(LdaSmi), U8(10),
/* 86 E> */ B(TestGreaterThan), R(1),
@@ -86,15 +86,16 @@ snippet: "
"
frame size: 2
parameter count: 1
-bytecode array length: 14
+bytecode array length: 15
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 45 S> */ B(LdaSmi), U8(1),
- /* 45 E> */ B(Star), R(0),
+ B(Star), R(0),
/* 50 S> */ B(Star), R(1),
/* 64 E> */ B(Ldar), R(0),
B(Add), R(1),
- /* 55 E> */ B(Star), R(0),
+ B(Star), R(0),
+ /* 72 S> */ B(Nop),
/* 85 S> */ B(Return),
]
constant pool: [

Powered by Google App Engine
This is Rietveld 408576698