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

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

Issue 2165953002: [interpreter] Add a register operand to ToNumber (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments Created 4 years, 5 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
(...skipping 20 matching lines...) Expand all
31 ] 31 ]
32 32
33 --- 33 ---
34 snippet: " 34 snippet: "
35 var global = 1; 35 var global = 1;
36 function f() { return global--; } 36 function f() { return global--; }
37 f(); 37 f();
38 " 38 "
39 frame size: 1 39 frame size: 1
40 parameter count: 1 40 parameter count: 1
41 bytecode array length: 13 41 bytecode array length: 12
42 bytecodes: [ 42 bytecodes: [
43 /* 26 E> */ B(StackCheck), 43 /* 26 E> */ B(StackCheck),
44 /* 31 S> */ B(LdaGlobal), U8(1), 44 /* 31 S> */ B(LdaGlobal), U8(1),
45 B(ToNumber), 45 B(ToNumber), R(0),
46 B(Star), R(0),
47 B(Dec), 46 B(Dec),
48 /* 44 E> */ B(StaGlobalSloppy), U8(0), U8(3), 47 /* 44 E> */ B(StaGlobalSloppy), U8(0), U8(3),
49 B(Ldar), R(0), 48 B(Ldar), R(0),
50 /* 48 S> */ B(Return), 49 /* 48 S> */ B(Return),
51 ] 50 ]
52 constant pool: [ 51 constant pool: [
53 "global", 52 "global",
54 ] 53 ]
55 handlers: [ 54 handlers: [
56 ] 55 ]
(...skipping 21 matching lines...) Expand all
78 ] 77 ]
79 78
80 --- 79 ---
81 snippet: " 80 snippet: "
82 unallocated = 1; 81 unallocated = 1;
83 function f() { return unallocated++; } 82 function f() { return unallocated++; }
84 f(); 83 f();
85 " 84 "
86 frame size: 1 85 frame size: 1
87 parameter count: 1 86 parameter count: 1
88 bytecode array length: 13 87 bytecode array length: 12
89 bytecodes: [ 88 bytecodes: [
90 /* 27 E> */ B(StackCheck), 89 /* 27 E> */ B(StackCheck),
91 /* 32 S> */ B(LdaGlobal), U8(1), 90 /* 32 S> */ B(LdaGlobal), U8(1),
92 B(ToNumber), 91 B(ToNumber), R(0),
93 B(Star), R(0),
94 B(Inc), 92 B(Inc),
95 /* 50 E> */ B(StaGlobalSloppy), U8(0), U8(3), 93 /* 50 E> */ B(StaGlobalSloppy), U8(0), U8(3),
96 B(Ldar), R(0), 94 B(Ldar), R(0),
97 /* 54 S> */ B(Return), 95 /* 54 S> */ B(Return),
98 ] 96 ]
99 constant pool: [ 97 constant pool: [
100 "unallocated", 98 "unallocated",
101 ] 99 ]
102 handlers: [ 100 handlers: [
103 ] 101 ]
104 102
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698