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

Unified Diff: test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.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/ClassAndSuperClass.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden b/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden
index 9316f65b3f86a6c75d063038affdc52017643d78..ae7af2d040e0658c8cd42f9b5c73fd17d3b19b3f 100644
--- a/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden
@@ -61,7 +61,7 @@ snippet: "
test();
})();
"
-frame size: 5
+frame size: 6
parameter count: 1
bytecode array length: 47
bytecodes: [
@@ -69,15 +69,15 @@ bytecodes: [
/* 125 E> */ B(StackCheck),
/* 130 S> */ B(LdaConstant), U8(0),
/* 130 E> */ B(LdaKeyedProperty), R(closure), U8(2),
- B(Star), R(2),
- B(LdaConstant), U8(1),
B(Star), R(3),
- B(LdaSmi), I8(2),
+ B(LdaConstant), U8(1),
B(Star), R(4),
- B(Mov), R(this), R(1),
- /* 138 E> */ B(CallRuntime), U16(Runtime::kStoreToSuper_Strict), R(1), U8(4),
+ B(LdaSmi), I8(2),
+ B(Star), R(5),
+ B(Mov), R(this), R(2),
+ /* 138 E> */ B(CallRuntime), U16(Runtime::kStoreToSuper_Strict), R(2), U8(4),
/* 143 S> */ B(LdaConstant), U8(0),
- /* 150 E> */ B(LdaKeyedProperty), R(closure), U8(4),
+ /* 150 E> */ B(LdaKeyedProperty), R(closure), U8(6),
B(Star), R(2),
B(LdaConstant), U8(1),
B(Star), R(3),
@@ -105,7 +105,7 @@ snippet: "
test = new B().constructor;
})();
"
-frame size: 4
+frame size: 5
parameter count: 1
bytecode array length: 75
bytecodes: [
@@ -114,25 +114,25 @@ bytecodes: [
B(Ldar), R(new_target),
/* 113 E> */ B(StackCheck),
/* 118 S> */ B(Ldar), R(1),
- B(GetSuperConstructor), R(2),
+ B(GetSuperConstructor), R(3),
B(LdaSmi), I8(1),
- B(Star), R(3),
+ B(Star), R(4),
B(Ldar), R(0),
- /* 118 E> */ B(Construct), R(2), R(3), U8(1), U8(2),
- B(Star), R(2),
+ /* 118 E> */ B(Construct), R(3), R(4), U8(1), U8(2),
+ B(Star), R(3),
B(Ldar), R(this),
B(JumpIfNotHole), U8(4),
B(Jump), U8(7),
/* 118 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0), U8(0),
- B(Mov), R(2), R(this),
+ B(Mov), R(3), R(this),
/* 128 S> */ B(Ldar), R(this),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(0),
- B(Star), R(2),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
- B(Star), R(2),
+ B(Star), R(3),
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1),
+ B(Star), R(3),
B(LdaSmi), I8(2),
- /* 136 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4),
+ /* 136 E> */ B(StaNamedPropertyStrict), R(3), U8(1), U8(6),
B(Ldar), R(this),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(0),
@@ -160,7 +160,7 @@ snippet: "
test = new B().constructor;
})();
"
-frame size: 3
+frame size: 4
parameter count: 1
bytecode array length: 71
bytecodes: [
@@ -169,23 +169,23 @@ bytecodes: [
B(Ldar), R(new_target),
/* 112 E> */ B(StackCheck),
/* 117 S> */ B(Ldar), R(1),
- B(GetSuperConstructor), R(2),
+ B(GetSuperConstructor), R(3),
B(Ldar), R(0),
- /* 117 E> */ B(Construct), R(2), R(0), U8(0), U8(2),
- B(Star), R(2),
+ /* 117 E> */ B(Construct), R(3), R(0), U8(0), U8(2),
+ B(Star), R(3),
B(Ldar), R(this),
B(JumpIfNotHole), U8(4),
B(Jump), U8(7),
/* 117 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0), U8(0),
- B(Mov), R(2), R(this),
+ B(Mov), R(3), R(this),
/* 126 S> */ B(Ldar), R(this),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(0),
- B(Star), R(2),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
- B(Star), R(2),
+ B(Star), R(3),
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1),
+ B(Star), R(3),
B(LdaSmi), I8(2),
- /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4),
+ /* 134 E> */ B(StaNamedPropertyStrict), R(3), U8(1), U8(6),
B(Ldar), R(this),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(0),

Powered by Google App Engine
This is Rietveld 408576698