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

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

Issue 2707873002: Collect type profile for DevTools. (Closed)
Patch Set: Use constructor name if available. Created 3 years, 10 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/NewAndSpread.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden b/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden
index e77314533cc589a849f0ebc9a9b7bcf83e27ae61..e5de085c17e0aa24b948812dde6aa46805a2e9f8 100644
--- a/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden
+++ b/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden
@@ -10,7 +10,7 @@ snippet: "
class A { constructor(...args) { this.args = args; } }
new A(...[1, 2, 3]);
"
-frame size: 8
+frame size: 10
parameter count: 1
bytecode array length: 64
bytecodes: [
@@ -20,22 +20,22 @@ bytecodes: [
B(LdaTheHole),
B(Star), R(0),
/* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2),
- B(Star), R(3),
+ B(Star), R(5),
B(LdaTheHole),
- B(Star), R(4),
- B(LdaSmi), I8(34),
B(Star), R(6),
+ B(LdaSmi), I8(34),
+ B(Star), R(8),
B(LdaSmi), I8(88),
- B(Star), R(7),
- B(Mov), R(3), R(5),
- B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U8(1),
- B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
+ B(Star), R(9),
+ B(Mov), R(5), R(7),
+ B(CallRuntime), U16(Runtime::kDefineClass), R(6), U8(4),
+ B(Star), R(6),
+ B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::kToFastProperties), R(5), U8(1),
B(Star), R(0),
B(Star), R(1),
B(Star), R(2),
- /* 89 S> */ B(CreateArrayLiteral), U8(1), U8(5), U8(9),
+ /* 89 S> */ B(CreateArrayLiteral), U8(1), U8(9), U8(9),
B(Star), R(4),
B(Ldar), R(2),
/* 89 E> */ B(ConstructWithSpread), R(2), R(4), U8(1),
@@ -54,7 +54,7 @@ snippet: "
class A { constructor(...args) { this.args = args; } }
new A(0, ...[1, 2, 3]);
"
-frame size: 8
+frame size: 10
parameter count: 1
bytecode array length: 67
bytecodes: [
@@ -64,24 +64,24 @@ bytecodes: [
B(LdaTheHole),
B(Star), R(0),
/* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2),
- B(Star), R(3),
+ B(Star), R(5),
B(LdaTheHole),
- B(Star), R(4),
- B(LdaSmi), I8(34),
B(Star), R(6),
+ B(LdaSmi), I8(34),
+ B(Star), R(8),
B(LdaSmi), I8(88),
- B(Star), R(7),
- B(Mov), R(3), R(5),
- B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U8(1),
- B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
+ B(Star), R(9),
+ B(Mov), R(5), R(7),
+ B(CallRuntime), U16(Runtime::kDefineClass), R(6), U8(4),
+ B(Star), R(6),
+ B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::kToFastProperties), R(5), U8(1),
B(Star), R(0),
B(Star), R(1),
B(Star), R(2),
/* 89 S> */ B(LdaZero),
B(Star), R(4),
- B(CreateArrayLiteral), U8(1), U8(5), U8(9),
+ B(CreateArrayLiteral), U8(1), U8(9), U8(9),
B(Star), R(5),
B(Ldar), R(2),
/* 89 E> */ B(ConstructWithSpread), R(2), R(4), U8(2),
@@ -100,7 +100,7 @@ snippet: "
class A { constructor(...args) { this.args = args; } }
new A(0, ...[1, 2, 3], 4);
"
-frame size: 9
+frame size: 10
parameter count: 1
bytecode array length: 98
bytecodes: [
@@ -110,18 +110,18 @@ bytecodes: [
B(LdaTheHole),
B(Star), R(0),
/* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2),
- B(Star), R(3),
+ B(Star), R(5),
B(LdaTheHole),
- B(Star), R(4),
- B(LdaSmi), I8(34),
B(Star), R(6),
+ B(LdaSmi), I8(34),
+ B(Star), R(8),
B(LdaSmi), I8(88),
- B(Star), R(7),
- B(Mov), R(3), R(5),
- B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U8(1),
- B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
+ B(Star), R(9),
+ B(Mov), R(5), R(7),
+ B(CallRuntime), U16(Runtime::kDefineClass), R(6), U8(4),
+ B(Star), R(6),
+ B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::kToFastProperties), R(5), U8(1),
B(Star), R(0),
B(Star), R(1),
B(Star), R(2),
@@ -129,15 +129,15 @@ bytecodes: [
B(Star), R(3),
B(LdaUndefined),
B(Star), R(5),
- /* 93 E> */ B(CreateArrayLiteral), U8(1), U8(3), U8(9),
+ /* 93 E> */ B(CreateArrayLiteral), U8(1), U8(7), U8(9),
B(Star), R(6),
B(LdaUndefined),
B(Star), R(7),
- B(CreateArrayLiteral), U8(2), U8(4), U8(9),
+ B(CreateArrayLiteral), U8(2), U8(8), U8(9),
B(Star), R(8),
B(CallJSRuntime), U8(%spread_iterable), R(7), U8(2),
B(Star), R(7),
- B(CreateArrayLiteral), U8(3), U8(5), U8(9),
+ B(CreateArrayLiteral), U8(3), U8(9), U8(9),
B(Star), R(8),
B(CallJSRuntime), U8(%spread_arguments), R(5), U8(4),
B(Star), R(5),

Powered by Google App Engine
This is Rietveld 408576698