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

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

Issue 2510743002: [interpreter] Bytecode for StaDataPropertyInLiteral. (Closed)
Patch Set: Delete double line. Created 4 years, 1 month 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/ClassDeclarations.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
index 765ce65efdaade6f0f50aff7a3a058221ca15681..11804a5aa8ffb082bbe37fcfa694aab092884582 100644
--- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
@@ -14,7 +14,7 @@ snippet: "
"
frame size: 10
parameter count: 1
-bytecode array length: 75
+bytecode array length: 74
bytecodes: [
B(LdaTheHole),
B(Star), R(2),
@@ -41,8 +41,8 @@ bytecodes: [
B(Star), R(8),
B(LdaZero),
B(Star), R(9),
- B(Mov), R(4), R(5),
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5), U8(5),
+ B(Ldar), R(7),
+ B(StaDataPropertyInLiteral), R(4), R(6), R(8), R(9),
B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
B(Star), R(0),
B(Star), R(1),
@@ -68,7 +68,7 @@ snippet: "
"
frame size: 10
parameter count: 1
-bytecode array length: 75
+bytecode array length: 74
bytecodes: [
B(LdaTheHole),
B(Star), R(2),
@@ -95,8 +95,8 @@ bytecodes: [
B(Star), R(8),
B(LdaZero),
B(Star), R(9),
- B(Mov), R(4), R(5),
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5), U8(5),
+ B(Ldar), R(7),
+ B(StaDataPropertyInLiteral), R(4), R(6), R(8), R(9),
B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
B(Star), R(0),
B(Star), R(1),
@@ -124,7 +124,7 @@ snippet: "
"
frame size: 11
parameter count: 1
-bytecode array length: 121
+bytecode array length: 122
bytecodes: [
B(CreateFunctionContext), U8(2),
B(PushContext), R(3),
@@ -157,8 +157,8 @@ bytecodes: [
B(Star), R(9),
B(LdaSmi), U8(1),
B(Star), R(10),
- B(Mov), R(5), R(6),
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(6), U8(5),
+ B(Ldar), R(8),
+ B(StaDataPropertyInLiteral), R(5), R(7), R(9), R(10),
B(LdaCurrentContextSlot), U8(5),
/* 106 E> */ B(ToName), R(7),
B(LdaConstant), U8(3),
@@ -170,7 +170,8 @@ bytecodes: [
B(Star), R(8),
B(LdaSmi), U8(1),
B(Star), R(10),
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(6), U8(5),
+ B(Ldar), R(8),
+ B(StaDataPropertyInLiteral), R(6), R(7), R(9), R(10),
B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1),
B(Star), R(0),
B(Star), R(1),

Powered by Google App Engine
This is Rietveld 408576698