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

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

Issue 2337123003: [turbofan] Collect invocation counts and compute relative call frequencies. (Closed)
Patch Set: Address feedback. 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 execute: yes 6 execute: yes
7 wrap: no 7 wrap: no
8 test function name: f 8 test function name: f
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 var a = {x:13, y:14}; 12 var a = {x:13, y:14};
13 function f() { 13 function f() {
14 return delete a.x; 14 return delete a.x;
15 }; 15 };
16 f(); 16 f();
17 " 17 "
18 frame size: 1 18 frame size: 1
19 parameter count: 1 19 parameter count: 1
20 bytecode array length: 9 20 bytecode array length: 9
21 bytecodes: [ 21 bytecodes: [
22 /* 32 E> */ B(StackCheck), 22 /* 32 E> */ B(StackCheck),
23 /* 39 S> */ B(LdrGlobal), U8(1), R(0), 23 /* 39 S> */ B(LdrGlobal), U8(2), R(0),
24 B(LdaConstant), U8(0), 24 B(LdaConstant), U8(0),
25 B(DeletePropertySloppy), R(0), 25 B(DeletePropertySloppy), R(0),
26 /* 58 S> */ B(Return), 26 /* 58 S> */ B(Return),
27 ] 27 ]
28 constant pool: [ 28 constant pool: [
29 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 29 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
30 ] 30 ]
31 handlers: [ 31 handlers: [
32 ] 32 ]
33 33
34 --- 34 ---
35 snippet: " 35 snippet: "
36 a = {1:13, 2:14}; 36 a = {1:13, 2:14};
37 function f() { 37 function f() {
38 'use strict'; 38 'use strict';
39 return delete a[1]; 39 return delete a[1];
40 }; 40 };
41 f(); 41 f();
42 " 42 "
43 frame size: 1 43 frame size: 1
44 parameter count: 1 44 parameter count: 1
45 bytecode array length: 9 45 bytecode array length: 9
46 bytecodes: [ 46 bytecodes: [
47 /* 28 E> */ B(StackCheck), 47 /* 28 E> */ B(StackCheck),
48 /* 51 S> */ B(LdrGlobal), U8(1), R(0), 48 /* 51 S> */ B(LdrGlobal), U8(2), R(0),
49 B(LdaSmi), U8(1), 49 B(LdaSmi), U8(1),
50 B(DeletePropertyStrict), R(0), 50 B(DeletePropertyStrict), R(0),
51 /* 71 S> */ B(Return), 51 /* 71 S> */ B(Return),
52 ] 52 ]
53 constant pool: [ 53 constant pool: [
54 ] 54 ]
55 handlers: [ 55 handlers: [
56 ] 56 ]
57 57
58 --- 58 ---
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 B(LdaConstant), U8(0), 98 B(LdaConstant), U8(0),
99 B(DeletePropertySloppy), R(1), 99 B(DeletePropertySloppy), R(1),
100 /* 42 S> */ B(Return), 100 /* 42 S> */ B(Return),
101 ] 101 ]
102 constant pool: [ 102 constant pool: [
103 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"], 103 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"],
104 ] 104 ]
105 handlers: [ 105 handlers: [
106 ] 106 ]
107 107
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698