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

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

Issue 2190293003: [Interpreter] Collect type feedback for 'new' in the bytecode handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updated cctest.status and mjsunit.status Created 4 years, 4 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
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: 12
20 bytecodes: [ 20 bytecodes: [
21 /* 45 E> */ B(StackCheck), 21 /* 45 E> */ B(StackCheck),
22 /* 50 S> */ B(LdrGlobal), U8(3), R(0), 22 /* 50 S> */ B(LdrGlobal), U8(3), R(0),
23 B(Ldar), R(0), 23 B(Ldar), R(0),
24 /* 57 E> */ B(New), R(0), R(0), U8(0), 24 /* 57 E> */ B(New), R(0), R(0), U8(0), U8(1),
25 /* 68 S> */ B(Return), 25 /* 68 S> */ B(Return),
26 ] 26 ]
27 constant pool: [ 27 constant pool: [
28 ] 28 ]
29 handlers: [ 29 handlers: [
30 ] 30 ]
31 31
32 --- 32 ---
33 snippet: " 33 snippet: "
34 function bar(x) { this.value = 18; this.x = x;} 34 function bar(x) { this.value = 18; this.x = x;}
35 function f() { return new bar(3); } 35 function f() { return new bar(3); }
36 f(); 36 f();
37 " 37 "
38 frame size: 2 38 frame size: 2
39 parameter count: 1 39 parameter count: 1
40 bytecode array length: 15 40 bytecode array length: 16
41 bytecodes: [ 41 bytecodes: [
42 /* 58 E> */ B(StackCheck), 42 /* 58 E> */ B(StackCheck),
43 /* 63 S> */ B(LdrGlobal), U8(3), R(0), 43 /* 63 S> */ B(LdrGlobal), U8(3), R(0),
44 B(LdaSmi), U8(3), 44 B(LdaSmi), U8(3),
45 B(Star), R(1), 45 B(Star), R(1),
46 B(Ldar), R(0), 46 B(Ldar), R(0),
47 /* 70 E> */ B(New), R(0), R(1), U8(1), 47 /* 70 E> */ B(New), R(0), R(1), U8(1), U8(1),
48 /* 82 S> */ B(Return), 48 /* 82 S> */ B(Return),
49 ] 49 ]
50 constant pool: [ 50 constant pool: [
51 ] 51 ]
52 handlers: [ 52 handlers: [
53 ] 53 ]
54 54
55 --- 55 ---
56 snippet: " 56 snippet: "
57 function bar(w, x, y, z) { 57 function bar(w, x, y, z) {
58 this.value = 18; 58 this.value = 18;
59 this.x = x; 59 this.x = x;
60 this.y = y; 60 this.y = y;
61 this.z = z; 61 this.z = z;
62 } 62 }
63 function f() { return new bar(3, 4, 5); } 63 function f() { return new bar(3, 4, 5); }
64 f(); 64 f();
65 " 65 "
66 frame size: 4 66 frame size: 4
67 parameter count: 1 67 parameter count: 1
68 bytecode array length: 23 68 bytecode array length: 24
69 bytecodes: [ 69 bytecodes: [
70 /* 100 E> */ B(StackCheck), 70 /* 100 E> */ B(StackCheck),
71 /* 105 S> */ B(LdrGlobal), U8(3), R(0), 71 /* 105 S> */ B(LdrGlobal), U8(3), R(0),
72 B(LdaSmi), U8(3), 72 B(LdaSmi), U8(3),
73 B(Star), R(1), 73 B(Star), R(1),
74 B(LdaSmi), U8(4), 74 B(LdaSmi), U8(4),
75 B(Star), R(2), 75 B(Star), R(2),
76 B(LdaSmi), U8(5), 76 B(LdaSmi), U8(5),
77 B(Star), R(3), 77 B(Star), R(3),
78 B(Ldar), R(0), 78 B(Ldar), R(0),
79 /* 112 E> */ B(New), R(0), R(1), U8(3), 79 /* 112 E> */ B(New), R(0), R(1), U8(3), U8(1),
80 /* 130 S> */ B(Return), 80 /* 130 S> */ B(Return),
81 ] 81 ]
82 constant pool: [ 82 constant pool: [
83 ] 83 ]
84 handlers: [ 84 handlers: [
85 ] 85 ]
86 86
OLDNEW
« no previous file with comments | « test/cctest/cctest.status ('k') | test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698