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

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

Issue 2096653003: [ic] Don't pass receiver and name to LoadGlobalIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@store-name-in-metavector
Patch Set: Addressed Ross's comments Created 4 years, 6 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: 12 19 bytecode array length: 11
20 bytecodes: [ 20 bytecodes: [
21 /* 45 E> */ B(StackCheck), 21 /* 45 E> */ B(StackCheck),
22 /* 50 S> */ B(LdrGlobal), U8(0), 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),
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,
29 ] 28 ]
30 handlers: [ 29 handlers: [
31 ] 30 ]
32 31
33 --- 32 ---
34 snippet: " 33 snippet: "
35 function bar(x) { this.value = 18; this.x = x;} 34 function bar(x) { this.value = 18; this.x = x;}
36 function f() { return new bar(3); } 35 function f() { return new bar(3); }
37 f(); 36 f();
38 " 37 "
39 frame size: 2 38 frame size: 2
40 parameter count: 1 39 parameter count: 1
41 bytecode array length: 16 40 bytecode array length: 15
42 bytecodes: [ 41 bytecodes: [
43 /* 58 E> */ B(StackCheck), 42 /* 58 E> */ B(StackCheck),
44 /* 63 S> */ B(LdrGlobal), U8(0), U8(3), R(0), 43 /* 63 S> */ B(LdrGlobal), U8(3), R(0),
45 B(LdaSmi), U8(3), 44 B(LdaSmi), U8(3),
46 B(Star), R(1), 45 B(Star), R(1),
47 B(Ldar), R(0), 46 B(Ldar), R(0),
48 /* 70 E> */ B(New), R(0), R(1), U8(1), 47 /* 70 E> */ B(New), R(0), R(1), U8(1),
49 /* 82 S> */ B(Return), 48 /* 82 S> */ B(Return),
50 ] 49 ]
51 constant pool: [ 50 constant pool: [
52 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
53 ] 51 ]
54 handlers: [ 52 handlers: [
55 ] 53 ]
56 54
57 --- 55 ---
58 snippet: " 56 snippet: "
59 function bar(w, x, y, z) { 57 function bar(w, x, y, z) {
60 this.value = 18; 58 this.value = 18;
61 this.x = x; 59 this.x = x;
62 this.y = y; 60 this.y = y;
63 this.z = z; 61 this.z = z;
64 } 62 }
65 function f() { return new bar(3, 4, 5); } 63 function f() { return new bar(3, 4, 5); }
66 f(); 64 f();
67 " 65 "
68 frame size: 4 66 frame size: 4
69 parameter count: 1 67 parameter count: 1
70 bytecode array length: 24 68 bytecode array length: 23
71 bytecodes: [ 69 bytecodes: [
72 /* 100 E> */ B(StackCheck), 70 /* 100 E> */ B(StackCheck),
73 /* 105 S> */ B(LdrGlobal), U8(0), U8(3), R(0), 71 /* 105 S> */ B(LdrGlobal), U8(3), R(0),
74 B(LdaSmi), U8(3), 72 B(LdaSmi), U8(3),
75 B(Star), R(1), 73 B(Star), R(1),
76 B(LdaSmi), U8(4), 74 B(LdaSmi), U8(4),
77 B(Star), R(2), 75 B(Star), R(2),
78 B(LdaSmi), U8(5), 76 B(LdaSmi), U8(5),
79 B(Star), R(3), 77 B(Star), R(3),
80 B(Ldar), R(0), 78 B(Ldar), R(0),
81 /* 112 E> */ B(New), R(0), R(1), U8(3), 79 /* 112 E> */ B(New), R(0), R(1), U8(3),
82 /* 130 S> */ B(Return), 80 /* 130 S> */ B(Return),
83 ] 81 ]
84 constant pool: [ 82 constant pool: [
85 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
86 ] 83 ]
87 handlers: [ 84 handlers: [
88 ] 85 ]
89 86
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698