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

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

Issue 2614053002: Improve error message for calling super() twice in a derived constructor (Closed)
Patch Set: Merged 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
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden b/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
index df44ae20f914092056f6fbd286ff44151030c047..2dd9ec5383188edcb71b65cfd2e740a92c290b55 100644
--- a/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
+++ b/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
@@ -55,7 +55,7 @@ snippet: "
"
frame size: 8
parameter count: 1
-bytecode array length: 66
+bytecode array length: 62
bytecodes: [
B(CreateRestParameter),
B(Star), R(2),
@@ -74,10 +74,8 @@ bytecodes: [
B(Star), R(3),
B(Ldar), R(this),
B(JumpIfNotHole), U8(4),
- B(Jump), U8(11),
- B(LdaConstant), U8(0),
- B(Star), R(4),
- /* 140 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
+ B(Jump), U8(7),
+ /* 140 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0), U8(0),
B(Mov), R(3), R(this),
B(Ldar), R(this),
B(JumpIfNotHole), U8(11),
@@ -107,7 +105,7 @@ snippet: "
"
frame size: 9
parameter count: 1
-bytecode array length: 96
+bytecode array length: 92
bytecodes: [
B(CreateRestParameter),
B(Star), R(2),
@@ -137,10 +135,8 @@ bytecodes: [
B(Star), R(3),
B(Ldar), R(this),
B(JumpIfNotHole), U8(4),
- B(Jump), U8(11),
- B(LdaConstant), U8(2),
- B(Star), R(4),
- /* 140 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
+ B(Jump), U8(7),
+ /* 140 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0), U8(0),
B(Mov), R(3), R(this),
B(Ldar), R(this),
B(JumpIfNotHole), U8(11),
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698