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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/CallNew.golden

Issue 1969783002: Collect call counts for constructor calls, too. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed cctest.status, and addressed mips64 comment. Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « test/cctest/cctest.status ('k') | test/cctest/test-feedback-vector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: no 8 wrap: no
9 test function name: f 9 test function name: f
10 10
11 --- 11 ---
12 snippet: " 12 snippet: "
13 function bar() { this.value = 0; } 13 function bar() { this.value = 0; }
14 function f() { return new bar(); } 14 function f() { return new bar(); }
15 f(); 15 f();
16 " 16 "
17 frame size: 1 17 frame size: 1
18 parameter count: 1 18 parameter count: 1
19 bytecode array length: 11 19 bytecode array length: 11
20 bytecodes: [ 20 bytecodes: [
21 /* 45 E> */ B(StackCheck), 21 /* 45 E> */ B(StackCheck),
22 /* 50 S> */ B(LdaGlobal), U8(0), U8(2), 22 /* 50 S> */ B(LdaGlobal), U8(0), U8(3),
23 B(Star), R(0), 23 B(Star), R(0),
24 /* 57 E> */ B(New), R(0), R(0), U8(0), 24 /* 57 E> */ B(New), R(0), R(0), U8(0),
25 /* 68 S> */ B(Return), 25 /* 68 S> */ B(Return),
26 ] 26 ]
27 constant pool: [ 27 constant pool: [
28 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 28 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
29 ] 29 ]
30 handlers: [ 30 handlers: [
31 ] 31 ]
32 32
33 --- 33 ---
34 snippet: " 34 snippet: "
35 function bar(x) { this.value = 18; this.x = x;} 35 function bar(x) { this.value = 18; this.x = x;}
36 function f() { return new bar(3); } 36 function f() { return new bar(3); }
37 f(); 37 f();
38 " 38 "
39 frame size: 2 39 frame size: 2
40 parameter count: 1 40 parameter count: 1
41 bytecode array length: 17 41 bytecode array length: 17
42 bytecodes: [ 42 bytecodes: [
43 /* 58 E> */ B(StackCheck), 43 /* 58 E> */ B(StackCheck),
44 /* 63 S> */ B(LdaGlobal), U8(0), U8(2), 44 /* 63 S> */ B(LdaGlobal), U8(0), U8(3),
45 B(Star), R(0), 45 B(Star), R(0),
46 B(LdaSmi), U8(3), 46 B(LdaSmi), U8(3),
47 B(Star), R(1), 47 B(Star), R(1),
48 /* 70 E> */ B(Ldar), R(0), 48 /* 70 E> */ B(Ldar), R(0),
49 B(New), R(0), R(1), U8(1), 49 B(New), R(0), R(1), U8(1),
50 /* 82 S> */ B(Return), 50 /* 82 S> */ B(Return),
51 ] 51 ]
52 constant pool: [ 52 constant pool: [
53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
54 ] 54 ]
55 handlers: [ 55 handlers: [
56 ] 56 ]
57 57
58 --- 58 ---
59 snippet: " 59 snippet: "
60 function bar(w, x, y, z) { 60 function bar(w, x, y, z) {
61 this.value = 18; 61 this.value = 18;
62 this.x = x; 62 this.x = x;
63 this.y = y; 63 this.y = y;
64 this.z = z; 64 this.z = z;
65 } 65 }
66 function f() { return new bar(3, 4, 5); } 66 function f() { return new bar(3, 4, 5); }
67 f(); 67 f();
68 " 68 "
69 frame size: 4 69 frame size: 4
70 parameter count: 1 70 parameter count: 1
71 bytecode array length: 25 71 bytecode array length: 25
72 bytecodes: [ 72 bytecodes: [
73 /* 100 E> */ B(StackCheck), 73 /* 100 E> */ B(StackCheck),
74 /* 105 S> */ B(LdaGlobal), U8(0), U8(2), 74 /* 105 S> */ B(LdaGlobal), U8(0), U8(3),
75 B(Star), R(0), 75 B(Star), R(0),
76 B(LdaSmi), U8(3), 76 B(LdaSmi), U8(3),
77 B(Star), R(1), 77 B(Star), R(1),
78 B(LdaSmi), U8(4), 78 B(LdaSmi), U8(4),
79 B(Star), R(2), 79 B(Star), R(2),
80 B(LdaSmi), U8(5), 80 B(LdaSmi), U8(5),
81 B(Star), R(3), 81 B(Star), R(3),
82 /* 112 E> */ B(Ldar), R(0), 82 /* 112 E> */ B(Ldar), R(0),
83 B(New), R(0), R(1), U8(3), 83 B(New), R(0), R(1), U8(3),
84 /* 130 S> */ B(Return), 84 /* 130 S> */ B(Return),
85 ] 85 ]
86 constant pool: [ 86 constant pool: [
87 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 87 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
88 ] 88 ]
89 handlers: [ 89 handlers: [
90 ] 90 ]
91 91
OLDNEW
« no previous file with comments | « test/cctest/cctest.status ('k') | test/cctest/test-feedback-vector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698