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

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

Issue 2489513005: [Interpreter] Remove all Ldr style bytecodes and replace with Star lookahead. (Closed)
Patch Set: 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: 12 17 bytecode array length: 13
18 bytecodes: [ 18 bytecodes: [
19 /* 26 E> */ B(StackCheck), 19 /* 26 E> */ B(StackCheck),
20 /* 31 S> */ B(LdrGlobal), U8(2), R(0), 20 /* 31 S> */ B(LdaGlobal), U8(2),
21 B(Star), R(0),
21 B(BitwiseAndSmi), U8(1), R(0), U8(4), 22 B(BitwiseAndSmi), U8(1), R(0), U8(4),
22 /* 45 E> */ B(StaGlobalSloppy), U8(0), U8(5), 23 /* 45 E> */ B(StaGlobalSloppy), U8(0), U8(5),
23 /* 51 S> */ B(Return), 24 /* 51 S> */ B(Return),
24 ] 25 ]
25 constant pool: [ 26 constant pool: [
26 ONE_BYTE_INTERNALIZED_STRING_TYPE ["global"], 27 ONE_BYTE_INTERNALIZED_STRING_TYPE ["global"],
27 ] 28 ]
28 handlers: [ 29 handlers: [
29 ] 30 ]
30 31
31 --- 32 ---
32 snippet: " 33 snippet: "
33 unallocated = 1; 34 unallocated = 1;
34 function f() { return unallocated += 1; } 35 function f() { return unallocated += 1; }
35 f(); 36 f();
36 " 37 "
37 frame size: 1 38 frame size: 1
38 parameter count: 1 39 parameter count: 1
39 bytecode array length: 12 40 bytecode array length: 13
40 bytecodes: [ 41 bytecodes: [
41 /* 27 E> */ B(StackCheck), 42 /* 27 E> */ B(StackCheck),
42 /* 32 S> */ B(LdrGlobal), U8(2), R(0), 43 /* 32 S> */ B(LdaGlobal), U8(2),
44 B(Star), R(0),
43 B(AddSmi), U8(1), R(0), U8(4), 45 B(AddSmi), U8(1), R(0), U8(4),
44 /* 51 E> */ B(StaGlobalSloppy), U8(0), U8(5), 46 /* 51 E> */ B(StaGlobalSloppy), U8(0), U8(5),
45 /* 57 S> */ B(Return), 47 /* 57 S> */ B(Return),
46 ] 48 ]
47 constant pool: [ 49 constant pool: [
48 ONE_BYTE_INTERNALIZED_STRING_TYPE ["unallocated"], 50 ONE_BYTE_INTERNALIZED_STRING_TYPE ["unallocated"],
49 ] 51 ]
50 handlers: [ 52 handlers: [
51 ] 53 ]
52 54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698