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

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

Issue 1997653002: [interpreter] Bytecode register optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Decouple a test from implementation. 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/LetVariable.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/LetVariable.golden b/test/cctest/interpreter/bytecode_expectations/LetVariable.golden
index d1547782cee29635d6d4ac4b608da81b7681bf24..0d52a52174bfa6f99b1702482114141f5f9c46f4 100644
--- a/test/cctest/interpreter/bytecode_expectations/LetVariable.golden
+++ b/test/cctest/interpreter/bytecode_expectations/LetVariable.golden
@@ -59,7 +59,7 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 27
+bytecode array length: 28
bytecodes: [
B(LdaTheHole),
B(Star), R(0),
@@ -71,8 +71,8 @@ bytecodes: [
B(LdaConstant), U8(0),
B(Star), R(2),
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
- B(Ldar), R(1),
- B(Star), R(0),
+ B(Mov), R(1), R(0),
+ B(Ldar), R(0),
B(LdaUndefined),
/* 52 S> */ B(Return),
]
@@ -88,7 +88,7 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 31
+bytecode array length: 30
bytecodes: [
B(LdaTheHole),
B(Star), R(0),
@@ -102,8 +102,7 @@ bytecodes: [
B(LdaConstant), U8(0),
B(Star), R(2),
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
- B(Ldar), R(1),
- B(Star), R(0),
+ B(Mov), R(1), R(0),
B(LdaUndefined),
/* 54 S> */ B(Return),
]

Powered by Google App Engine
This is Rietveld 408576698