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

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

Issue 2510743002: [interpreter] Bytecode for StaDataPropertyInLiteral. (Closed)
Patch Set: Add comment and move interpreter function. 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
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6f2bf4570e5e6c2ad04420f7b4e6e36c932566f7 100644
--- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
@@ -12,9 +12,9 @@ snippet: "
speak() { console.log(this.name + ' is speaking.'); }
}
"
-frame size: 10
+frame size: 9
parameter count: 1
-bytecode array length: 75
+bytecode array length: 70
bytecodes: [
B(LdaTheHole),
B(Star), R(2),
@@ -40,9 +40,7 @@ bytecodes: [
B(LdaSmi), U8(2),
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(StaDataPropertyInLiteral), R(4), R(6), R(7), R(8),
B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
B(Star), R(0),
B(Star), R(1),
@@ -66,9 +64,9 @@ snippet: "
speak() { console.log(this.name + ' is speaking.'); }
}
"
-frame size: 10
+frame size: 9
parameter count: 1
-bytecode array length: 75
+bytecode array length: 70
bytecodes: [
B(LdaTheHole),
B(Star), R(2),
@@ -94,9 +92,7 @@ bytecodes: [
B(LdaSmi), U8(2),
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(StaDataPropertyInLiteral), R(4), R(6), R(7), R(8),
B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
B(Star), R(0),
B(Star), R(1),
@@ -122,9 +118,9 @@ snippet: "
static [n1]() { return n1; }
}
"
-frame size: 11
+frame size: 10
parameter count: 1
-bytecode array length: 121
+bytecode array length: 114
bytecodes: [
B(CreateFunctionContext), U8(2),
B(PushContext), R(3),
@@ -156,9 +152,7 @@ bytecodes: [
B(LdaSmi), U8(2),
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(StaDataPropertyInLiteral), R(5), R(7), R(8), R(9),
B(LdaCurrentContextSlot), U8(5),
/* 106 E> */ B(ToName), R(7),
B(LdaConstant), U8(3),
@@ -169,8 +163,7 @@ bytecodes: [
B(CreateClosure), U8(5), U8(2),
B(Star), R(8),
B(LdaSmi), U8(1),
- B(Star), R(10),
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(6), U8(5),
+ B(StaDataPropertyInLiteral), R(6), R(7), R(8), R(9),
B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1),
B(Star), R(0),
B(Star), R(1),
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698