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

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

Issue 2677163003: WIP: type profiling. (Closed)
Patch Set: Rebaseline. Created 3 years, 10 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 wrap: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
(...skipping 20 matching lines...) Expand all
31 31
32 --- 32 ---
33 snippet: " 33 snippet: "
34 var f; 34 var f;
35 var x = 1; 35 var x = 1;
36 function f1() { 36 function f1() {
37 eval(\"function t() { x = 10; }; f = t; f();\"); 37 eval(\"function t() { x = 10; }; f = t; f();\");
38 } 38 }
39 f1(); 39 f1();
40 " 40 "
41 frame size: 0 41 frame size: 1
42 parameter count: 1 42 parameter count: 1
43 bytecode array length: 7 43 bytecode array length: 11
44 bytecodes: [ 44 bytecodes: [
45 /* 10 E> */ B(StackCheck), 45 /* 10 E> */ B(StackCheck),
46 /* 15 S> */ B(LdaSmi), I8(10), 46 /* 15 S> */ B(LdaConstant), U8(0),
47 B(Star), R(0),
48 B(LdaSmi), I8(10),
47 /* 17 E> */ B(StaLookupSlotSloppy), U8(0), 49 /* 17 E> */ B(StaLookupSlotSloppy), U8(0),
48 B(LdaUndefined), 50 B(LdaUndefined),
49 /* 23 S> */ B(Return), 51 /* 23 S> */ B(Return),
50 ] 52 ]
51 constant pool: [ 53 constant pool: [
52 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 54 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
53 ] 55 ]
54 handlers: [ 56 handlers: [
55 ] 57 ]
56 58
57 --- 59 ---
58 snippet: " 60 snippet: "
59 var f; 61 var f;
60 var x = 1; 62 var x = 1;
61 function f1() { 63 function f1() {
62 eval(\"function t() { 'use strict'; x = 10; }; f = t; f();\"); 64 eval(\"function t() { 'use strict'; x = 10; }; f = t; f();\");
63 } 65 }
64 f1(); 66 f1();
65 " 67 "
66 frame size: 0 68 frame size: 1
67 parameter count: 1 69 parameter count: 1
68 bytecode array length: 7 70 bytecode array length: 11
69 bytecodes: [ 71 bytecodes: [
70 /* 10 E> */ B(StackCheck), 72 /* 10 E> */ B(StackCheck),
71 /* 29 S> */ B(LdaSmi), I8(10), 73 /* 29 S> */ B(LdaConstant), U8(0),
74 B(Star), R(0),
75 B(LdaSmi), I8(10),
72 /* 31 E> */ B(StaLookupSlotStrict), U8(0), 76 /* 31 E> */ B(StaLookupSlotStrict), U8(0),
73 B(LdaUndefined), 77 B(LdaUndefined),
74 /* 37 S> */ B(Return), 78 /* 37 S> */ B(Return),
75 ] 79 ]
76 constant pool: [ 80 constant pool: [
77 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 81 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
78 ] 82 ]
79 handlers: [ 83 handlers: [
80 ] 84 ]
81 85
(...skipping 14 matching lines...) Expand all
96 /* 15 S> */ B(LdaLookupGlobalSlotInsideTypeof), U8(0), U8(2), U8(1), 100 /* 15 S> */ B(LdaLookupGlobalSlotInsideTypeof), U8(0), U8(2), U8(1),
97 B(TypeOf), 101 B(TypeOf),
98 /* 32 S> */ B(Return), 102 /* 32 S> */ B(Return),
99 ] 103 ]
100 constant pool: [ 104 constant pool: [
101 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 105 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
102 ] 106 ]
103 handlers: [ 107 handlers: [
104 ] 108 ]
105 109
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698