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

Unified Diff: test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.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/AssignmentsInBinaryExpression.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden b/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden
index afc009f7d80f577cdfb0a9a1fdd4008a865cb8fb..7bfe0b89fe88d6917aa966937eeb7c09f6d381d0 100644
--- a/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden
+++ b/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden
@@ -64,7 +64,7 @@ snippet: "
x = x + (x = 100) + (x = 101);
return x;
"
-frame size: 2
+frame size: 3
parameter count: 1
bytecode array length: 28
bytecodes: [
@@ -72,13 +72,13 @@ bytecodes: [
/* 42 S> */ B(LdaSmi), I8(55),
B(Star), R(0),
/* 46 S> */ B(LdaSmi), I8(100),
- B(Mov), R(0), R(1),
+ B(Mov), R(0), R(2),
B(Star), R(0),
- /* 52 E> */ B(Add), R(1), U8(2),
- B(Star), R(1),
+ /* 52 E> */ B(Add), R(2), U8(6),
+ B(Star), R(2),
B(LdaSmi), I8(101),
B(Star), R(0),
- /* 64 E> */ B(Add), R(1), U8(3),
+ /* 64 E> */ B(Add), R(2), U8(9),
B(Star), R(0),
/* 77 S> */ B(Nop),
/* 87 S> */ B(Return),
@@ -95,7 +95,7 @@ snippet: "
x++;
return x;
"
-frame size: 2
+frame size: 3
parameter count: 1
bytecode array length: 29
bytecodes: [
@@ -104,13 +104,13 @@ bytecodes: [
B(Star), R(0),
/* 46 S> */ B(LdaSmi), I8(56),
B(Star), R(0),
- /* 59 E> */ B(Sub), R(0), U8(2),
- B(Star), R(1),
+ /* 59 E> */ B(Sub), R(0), U8(6),
+ B(Star), R(2),
B(LdaSmi), I8(57),
B(Star), R(0),
- /* 63 E> */ B(Add), R(1), U8(3),
+ /* 63 E> */ B(Add), R(2), U8(9),
B(Star), R(0),
- /* 75 S> */ B(Inc), U8(4),
+ /* 75 S> */ B(Inc), U8(12),
B(Star), R(0),
/* 80 S> */ B(Nop),
/* 90 S> */ B(Return),
@@ -126,7 +126,7 @@ snippet: "
var y = x + (x = 1) + (x = 2) + (x = 3);
return y;
"
-frame size: 3
+frame size: 4
parameter count: 1
bytecode array length: 37
bytecodes: [
@@ -134,17 +134,17 @@ bytecodes: [
/* 42 S> */ B(LdaSmi), I8(55),
B(Star), R(0),
/* 76 S> */ B(LdaSmi), I8(1),
- B(Mov), R(0), R(2),
+ B(Mov), R(0), R(3),
B(Star), R(0),
- /* 56 E> */ B(Add), R(2), U8(2),
- B(Star), R(2),
+ /* 56 E> */ B(Add), R(3), U8(6),
+ B(Star), R(3),
B(LdaSmi), I8(2),
B(Star), R(0),
- /* 66 E> */ B(Add), R(2), U8(3),
- B(Star), R(2),
+ /* 66 E> */ B(Add), R(3), U8(9),
+ B(Star), R(3),
B(LdaSmi), I8(3),
B(Star), R(0),
- /* 76 E> */ B(Add), R(2), U8(4),
+ /* 76 E> */ B(Add), R(3), U8(12),
B(Star), R(1),
/* 87 S> */ B(Nop),
/* 97 S> */ B(Return),
@@ -160,7 +160,7 @@ snippet: "
var x = x + (x = 1) + (x = 2) + (x = 3);
return x;
"
-frame size: 2
+frame size: 3
parameter count: 1
bytecode array length: 37
bytecodes: [
@@ -168,17 +168,17 @@ bytecodes: [
/* 42 S> */ B(LdaSmi), I8(55),
B(Star), R(0),
/* 76 S> */ B(LdaSmi), I8(1),
- B(Mov), R(0), R(1),
+ B(Mov), R(0), R(2),
B(Star), R(0),
- /* 56 E> */ B(Add), R(1), U8(2),
- B(Star), R(1),
+ /* 56 E> */ B(Add), R(2), U8(6),
+ B(Star), R(2),
B(LdaSmi), I8(2),
B(Star), R(0),
- /* 66 E> */ B(Add), R(1), U8(3),
- B(Star), R(1),
+ /* 66 E> */ B(Add), R(2), U8(9),
+ B(Star), R(2),
B(LdaSmi), I8(3),
B(Star), R(0),
- /* 76 E> */ B(Add), R(1), U8(4),
+ /* 76 E> */ B(Add), R(2), U8(12),
B(Star), R(0),
/* 87 S> */ B(Nop),
/* 97 S> */ B(Return),
@@ -205,29 +205,29 @@ bytecodes: [
/* 54 S> */ B(LdaSmi), I8(1),
B(Mov), R(0), R(2),
B(Star), R(0),
- /* 63 E> */ B(Add), R(2), U8(2),
+ /* 63 E> */ B(Add), R(2), U8(8),
B(Star), R(2),
- /* 78 E> */ B(AddSmi), I8(1), R(0), U8(3),
+ /* 78 E> */ B(AddSmi), I8(1), R(0), U8(9),
B(Star), R(3),
B(LdaSmi), I8(2),
B(Star), R(1),
- /* 83 E> */ B(Mul), R(3), U8(4),
- /* 73 E> */ B(Add), R(2), U8(5),
+ /* 83 E> */ B(Mul), R(3), U8(12),
+ /* 73 E> */ B(Add), R(2), U8(13),
B(Star), R(2),
B(LdaSmi), I8(3),
B(Star), R(1),
- /* 93 E> */ B(Add), R(2), U8(6),
+ /* 93 E> */ B(Add), R(2), U8(16),
B(Star), R(2),
B(LdaSmi), I8(4),
B(Star), R(0),
- /* 103 E> */ B(Add), R(2), U8(7),
+ /* 103 E> */ B(Add), R(2), U8(19),
B(Star), R(2),
B(LdaSmi), I8(5),
B(Star), R(1),
- /* 113 E> */ B(Add), R(2), U8(8),
+ /* 113 E> */ B(Add), R(2), U8(22),
B(Star), R(2),
B(Ldar), R(1),
- /* 123 E> */ B(Add), R(2), U8(9),
+ /* 123 E> */ B(Add), R(2), U8(23),
/* 128 S> */ B(Return),
]
constant pool: [
@@ -250,20 +250,20 @@ bytecodes: [
/* 46 S> */ B(LdaSmi), I8(1),
B(Star), R(1),
B(Ldar), R(0),
- /* 55 E> */ B(Add), R(1), U8(2),
+ /* 55 E> */ B(Add), R(1), U8(4),
B(Star), R(1),
B(Ldar), R(0),
B(ToNumber), R(2),
B(Ldar), R(2),
- B(Inc), U8(3),
+ B(Inc), U8(5),
B(Star), R(0),
B(Ldar), R(2),
- /* 59 E> */ B(Add), R(1), U8(4),
+ /* 59 E> */ B(Add), R(1), U8(6),
B(Star), R(1),
B(Ldar), R(0),
- B(Inc), U8(5),
+ B(Inc), U8(7),
B(Star), R(0),
- /* 67 E> */ B(Add), R(1), U8(6),
+ /* 67 E> */ B(Add), R(1), U8(8),
/* 76 S> */ B(Return),
]
constant pool: [

Powered by Google App Engine
This is Rietveld 408576698