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

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

Issue 2510653002: [ic] Pass name to LoadGlobalIC again. (Closed)
Patch Set: Release fix Created 4 years, 1 month 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 wrap: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
11 var global = 1; 11 var global = 1;
12 function f() { return global &= 1; } 12 function f() { return global &= 1; }
13 f(); 13 f();
14 " 14 "
15 frame size: 1 15 frame size: 1
16 parameter count: 1 16 parameter count: 1
17 bytecode array length: 13 17 bytecode array length: 14
18 bytecodes: [ 18 bytecodes: [
19 /* 26 E> */ B(StackCheck), 19 /* 26 E> */ B(StackCheck),
20 /* 31 S> */ B(LdaGlobal), U8(2), 20 /* 31 S> */ B(LdaGlobal), U8(0), U8(2),
21 B(Star), R(0), 21 B(Star), R(0),
22 B(BitwiseAndSmi), U8(1), R(0), U8(4), 22 B(BitwiseAndSmi), U8(1), R(0), U8(4),
23 /* 45 E> */ B(StaGlobalSloppy), U8(0), U8(5), 23 /* 45 E> */ B(StaGlobalSloppy), U8(0), U8(5),
24 /* 51 S> */ B(Return), 24 /* 51 S> */ B(Return),
25 ] 25 ]
26 constant pool: [ 26 constant pool: [
27 ONE_BYTE_INTERNALIZED_STRING_TYPE ["global"], 27 ONE_BYTE_INTERNALIZED_STRING_TYPE ["global"],
28 ] 28 ]
29 handlers: [ 29 handlers: [
30 ] 30 ]
31 31
32 --- 32 ---
33 snippet: " 33 snippet: "
34 unallocated = 1; 34 unallocated = 1;
35 function f() { return unallocated += 1; } 35 function f() { return unallocated += 1; }
36 f(); 36 f();
37 " 37 "
38 frame size: 1 38 frame size: 1
39 parameter count: 1 39 parameter count: 1
40 bytecode array length: 13 40 bytecode array length: 14
41 bytecodes: [ 41 bytecodes: [
42 /* 27 E> */ B(StackCheck), 42 /* 27 E> */ B(StackCheck),
43 /* 32 S> */ B(LdaGlobal), U8(2), 43 /* 32 S> */ B(LdaGlobal), U8(0), U8(2),
44 B(Star), R(0), 44 B(Star), R(0),
45 B(AddSmi), U8(1), R(0), U8(4), 45 B(AddSmi), U8(1), R(0), U8(4),
46 /* 51 E> */ B(StaGlobalSloppy), U8(0), U8(5), 46 /* 51 E> */ B(StaGlobalSloppy), U8(0), U8(5),
47 /* 57 S> */ B(Return), 47 /* 57 S> */ B(Return),
48 ] 48 ]
49 constant pool: [ 49 constant pool: [
50 ONE_BYTE_INTERNALIZED_STRING_TYPE ["unallocated"], 50 ONE_BYTE_INTERNALIZED_STRING_TYPE ["unallocated"],
51 ] 51 ]
52 handlers: [ 52 handlers: [
53 ] 53 ]
54 54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698