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

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

Issue 2325133002: [interpreter] Fix destroyed new.target register use. (Closed)
Patch Set: Recement. Created 4 years, 3 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/ClassAndSuperClass.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden b/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden
index d05b2f367fb02053f4682f6982ac4c66128bc9b0..6199981b8df0a205e887b9dc95178ac0f5f4efc1 100644
--- a/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden
@@ -105,16 +105,17 @@ snippet: "
"
frame size: 4
parameter count: 1
-bytecode array length: 80
+bytecode array length: 82
bytecodes: [
B(Mov), R(closure), R(1),
B(Mov), R(new_target), R(0),
+ B(Ldar), R(new_target),
/* 113 E> */ B(StackCheck),
- /* 118 S> */ B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(closure), U8(1),
+ /* 118 S> */ B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(1), U8(1),
B(Star), R(2),
B(LdaSmi), U8(1),
B(Star), R(3),
- B(Ldar), R(new_target),
+ B(Ldar), R(0),
/* 118 E> */ B(New), R(2), R(3), U8(1), U8(0),
B(Star), R(2),
B(Ldar), R(this),
@@ -161,14 +162,15 @@ snippet: "
"
frame size: 4
parameter count: 1
-bytecode array length: 76
+bytecode array length: 78
bytecodes: [
B(Mov), R(closure), R(1),
B(Mov), R(new_target), R(0),
+ B(Ldar), R(new_target),
/* 112 E> */ B(StackCheck),
- /* 117 S> */ B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(closure), U8(1),
+ /* 117 S> */ B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(1), U8(1),
B(Star), R(2),
- B(Ldar), R(new_target),
+ B(Ldar), R(0),
/* 117 E> */ B(New), R(2), R(0), U8(0), U8(0),
B(Star), R(2),
B(Ldar), R(this),
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | test/cctest/interpreter/bytecode_expectations/NewTarget.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698