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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/LoadGlobal.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: Removed name parameter. 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: string 6 pool type: string
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 var a = 1; 13 var a = 1;
14 function f() { return a; } 14 function f() { return a; }
15 f() 15 f()
16 " 16 "
17 frame size: 0 17 frame size: 0
18 parameter count: 1 18 parameter count: 1
19 bytecode array length: 5 19 bytecode array length: 4
20 bytecodes: [ 20 bytecodes: [
21 /* 21 E> */ B(StackCheck), 21 /* 21 E> */ B(StackCheck),
22 /* 26 S> */ B(LdaGlobal), U8(0), U8(1), 22 /* 26 S> */ B(LdaGlobal), U8(1),
23 /* 36 S> */ B(Return), 23 /* 36 S> */ B(Return),
24 ] 24 ]
25 constant pool: [ 25 constant pool: [
26 "a",
27 ] 26 ]
28 handlers: [ 27 handlers: [
29 ] 28 ]
30 29
31 --- 30 ---
32 snippet: " 31 snippet: "
33 function t() { } 32 function t() { }
34 function f() { return t; } 33 function f() { return t; }
35 f() 34 f()
36 " 35 "
37 frame size: 0 36 frame size: 0
38 parameter count: 1 37 parameter count: 1
39 bytecode array length: 5 38 bytecode array length: 4
40 bytecodes: [ 39 bytecodes: [
41 /* 27 E> */ B(StackCheck), 40 /* 27 E> */ B(StackCheck),
42 /* 32 S> */ B(LdaGlobal), U8(0), U8(1), 41 /* 32 S> */ B(LdaGlobal), U8(1),
43 /* 42 S> */ B(Return), 42 /* 42 S> */ B(Return),
44 ] 43 ]
45 constant pool: [ 44 constant pool: [
46 "t",
47 ] 45 ]
48 handlers: [ 46 handlers: [
49 ] 47 ]
50 48
51 --- 49 ---
52 snippet: " 50 snippet: "
53 a = 1; 51 a = 1;
54 function f() { return a; } 52 function f() { return a; }
55 f() 53 f()
56 " 54 "
57 frame size: 0 55 frame size: 0
58 parameter count: 1 56 parameter count: 1
59 bytecode array length: 5 57 bytecode array length: 4
60 bytecodes: [ 58 bytecodes: [
61 /* 17 E> */ B(StackCheck), 59 /* 17 E> */ B(StackCheck),
62 /* 22 S> */ B(LdaGlobal), U8(0), U8(1), 60 /* 22 S> */ B(LdaGlobal), U8(1),
63 /* 32 S> */ B(Return), 61 /* 32 S> */ B(Return),
64 ] 62 ]
65 constant pool: [ 63 constant pool: [
66 "a",
67 ] 64 ]
68 handlers: [ 65 handlers: [
69 ] 66 ]
70 67
71 --- 68 ---
72 snippet: " 69 snippet: "
73 a = 1; 70 a = 1;
74 function f(b) { 71 function f(b) {
75 b.name; 72 b.name;
76 b.name; 73 b.name;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 b.name; 196 b.name;
200 b.name; 197 b.name;
201 b.name; 198 b.name;
202 b.name; 199 b.name;
203 return a; 200 return a;
204 } 201 }
205 f({name: 1}); 202 f({name: 1});
206 " 203 "
207 frame size: 0 204 frame size: 0
208 parameter count: 2 205 parameter count: 2
209 bytecode array length: 648 206 bytecode array length: 646
210 bytecodes: [ 207 bytecodes: [
211 /* 17 E> */ B(StackCheck), 208 /* 17 E> */ B(StackCheck),
212 /* 25 S> */ B(Nop), 209 /* 25 S> */ B(Nop),
213 /* 26 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(1), 210 /* 26 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(1),
214 /* 35 S> */ B(Nop), 211 /* 35 S> */ B(Nop),
215 /* 36 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(3), 212 /* 36 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(3),
216 /* 45 S> */ B(Nop), 213 /* 45 S> */ B(Nop),
217 /* 46 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(5), 214 /* 46 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(5),
218 /* 55 S> */ B(Nop), 215 /* 55 S> */ B(Nop),
219 /* 56 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(7), 216 /* 56 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(7),
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 /* 1255 S> */ B(Nop), 455 /* 1255 S> */ B(Nop),
459 /* 1256 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(247), 456 /* 1256 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(247),
460 /* 1265 S> */ B(Nop), 457 /* 1265 S> */ B(Nop),
461 /* 1266 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(249), 458 /* 1266 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(249),
462 /* 1275 S> */ B(Nop), 459 /* 1275 S> */ B(Nop),
463 /* 1276 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(251), 460 /* 1276 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(251),
464 /* 1285 S> */ B(Nop), 461 /* 1285 S> */ B(Nop),
465 /* 1286 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(253), 462 /* 1286 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(253),
466 /* 1295 S> */ B(Nop), 463 /* 1295 S> */ B(Nop),
467 /* 1296 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(255), 464 /* 1296 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(255),
468 /* 1305 S> */ B(Wide), B(LdaGlobal), U16(1), U16(257), 465 /* 1305 S> */ B(Wide), B(LdaGlobal), U16(257),
469 /* 1315 S> */ B(Return), 466 /* 1315 S> */ B(Return),
470 ] 467 ]
471 constant pool: [ 468 constant pool: [
472 "name", 469 "name",
473 "a",
474 ] 470 ]
475 handlers: [ 471 handlers: [
476 ] 472 ]
477 473
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698