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

Unified Diff: test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.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/SuperCallAndSpread.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden b/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
index 8446beb7bf6bfc4742d10f9d8b0bca2ae52e352f..29887181c1d2da7773744446398175168518cacb 100644
--- a/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
+++ b/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
@@ -51,7 +51,7 @@ snippet: "
test = new B(1, 2, 3).constructor;
})();
"
-frame size: 6
+frame size: 7
parameter count: 1
bytecode array length: 59
bytecodes: [
@@ -62,18 +62,18 @@ bytecodes: [
B(Ldar), R(new_target),
/* 128 E> */ B(StackCheck),
/* 140 S> */ B(Ldar), R(1),
- B(GetSuperConstructor), R(3),
+ B(GetSuperConstructor), R(4),
B(LdaSmi), I8(1),
- B(Star), R(4),
+ B(Star), R(5),
B(Ldar), R(0),
- B(Mov), R(2), R(5),
- /* 140 E> */ B(ConstructWithSpread), R(3), R(4), U8(2),
- B(Star), R(3),
+ B(Mov), R(2), R(6),
+ /* 140 E> */ B(ConstructWithSpread), R(4), R(5), U8(2),
+ B(Star), R(4),
B(Ldar), R(this),
B(JumpIfNotHole), U8(4),
B(Jump), U8(7),
/* 140 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0), U8(0),
- B(Mov), R(3), R(this),
+ B(Mov), R(4), R(this),
B(Ldar), R(this),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(0),
@@ -100,7 +100,7 @@ snippet: "
test = new B(1, 2, 3).constructor;
})();
"
-frame size: 9
+frame size: 10
parameter count: 1
bytecode array length: 92
bytecodes: [
@@ -111,30 +111,30 @@ bytecodes: [
B(Ldar), R(new_target),
/* 128 E> */ B(StackCheck),
/* 140 S> */ B(LdaUndefined),
- B(Star), R(3),
- /* 140 E> */ B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(1), U8(1),
B(Star), R(4),
- B(LdaUndefined),
+ /* 140 E> */ B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(1), U8(1),
B(Star), R(5),
- B(CreateArrayLiteral), U8(0), U8(2), U8(9),
- B(Star), R(6),
B(LdaUndefined),
+ B(Star), R(6),
+ B(CreateArrayLiteral), U8(0), U8(2), U8(9),
B(Star), R(7),
- B(Mov), R(2), R(8),
- /* 152 E> */ B(CallJSRuntime), U8(%spread_iterable), R(7), U8(2),
- B(Star), R(7),
- B(CreateArrayLiteral), U8(1), U8(3), U8(9),
+ B(LdaUndefined),
B(Star), R(8),
- B(CallJSRuntime), U8(%spread_arguments), R(5), U8(4),
- B(Star), R(5),
- B(Mov), R(0), R(6),
- /* 140 E> */ B(CallJSRuntime), U8(%reflect_construct), R(3), U8(4),
- B(Star), R(3),
+ B(Mov), R(2), R(9),
+ /* 152 E> */ B(CallJSRuntime), U8(%spread_iterable), R(8), U8(2),
+ B(Star), R(8),
+ B(CreateArrayLiteral), U8(1), U8(3), U8(9),
+ B(Star), R(9),
+ B(CallJSRuntime), U8(%spread_arguments), R(6), U8(4),
+ B(Star), R(6),
+ B(Mov), R(0), R(7),
+ /* 140 E> */ B(CallJSRuntime), U8(%reflect_construct), R(4), U8(4),
+ B(Star), R(4),
B(Ldar), R(this),
B(JumpIfNotHole), U8(4),
B(Jump), U8(7),
/* 140 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0), U8(0),
- B(Mov), R(3), R(this),
+ B(Mov), R(4), R(this),
B(Ldar), R(this),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(2),

Powered by Google App Engine
This is Rietveld 408576698