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

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

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

Powered by Google App Engine
This is Rietveld 408576698