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

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

Issue 2227203002: [interpreter] Logically separate hole-checking and const assignment errors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove unused var Created 4 years, 4 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/ConstVariable.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ConstVariable.golden b/test/cctest/interpreter/bytecode_expectations/ConstVariable.golden
index 70b0d6f2713dfaa41d394cb295f8cc07d220068d..f2120cf87611a65012604d17d626092f6aedf58a 100644
--- a/test/cctest/interpreter/bytecode_expectations/ConstVariable.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ConstVariable.golden
@@ -59,7 +59,7 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 31
+bytecode array length: 30
bytecodes: [
B(LdaTheHole),
B(Star), R(0),
@@ -72,7 +72,7 @@ bytecodes: [
B(Star), R(2),
/* 48 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0),
- B(Mov), R(1), R(0),
+ B(Star), R(0),
B(LdaUndefined),
/* 55 S> */ B(Return),
]
@@ -88,7 +88,7 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 35
+bytecode array length: 32
bytecodes: [
B(LdaTheHole),
B(Star), R(0),
@@ -103,7 +103,6 @@ bytecodes: [
B(Star), R(2),
/* 50 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0),
- B(Mov), R(1), R(0),
B(LdaUndefined),
/* 56 S> */ B(Return),
]
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698