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

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

Issue 1997653002: [interpreter] Bytecode register optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Decouple a test from implementation. Created 4 years, 6 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: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 var a = {x:13, y:14}; return delete a.x; 12 var a = {x:13, y:14}; return delete a.x;
13 " 13 "
14 frame size: 2 14 frame size: 2
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 16 16 bytecode array length: 14
17 bytecodes: [ 17 bytecodes: [
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 19 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
20 B(Star), R(1), 20 B(Star), R(1),
21 B(Star), R(0), 21 B(Star), R(0),
22 /* 56 S> */ B(Star), R(1), 22 /* 56 S> */ B(LdaConstant), U8(1),
23 B(LdaConstant), U8(1), 23 B(DeletePropertySloppy), R(0),
24 B(DeletePropertySloppy), R(1),
25 /* 75 S> */ B(Return), 24 /* 75 S> */ B(Return),
26 ] 25 ]
27 constant pool: [ 26 constant pool: [
28 InstanceType::FIXED_ARRAY_TYPE, 27 InstanceType::FIXED_ARRAY_TYPE,
29 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 28 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
30 ] 29 ]
31 handlers: [ 30 handlers: [
32 ] 31 ]
33 32
34 --- 33 ---
35 snippet: " 34 snippet: "
36 'use strict'; var a = {x:13, y:14}; return delete a.x; 35 'use strict'; var a = {x:13, y:14}; return delete a.x;
37 " 36 "
38 frame size: 2 37 frame size: 2
39 parameter count: 1 38 parameter count: 1
40 bytecode array length: 16 39 bytecode array length: 14
41 bytecodes: [ 40 bytecodes: [
42 /* 30 E> */ B(StackCheck), 41 /* 30 E> */ B(StackCheck),
43 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 42 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
44 B(Star), R(1), 43 B(Star), R(1),
45 B(Star), R(0), 44 B(Star), R(0),
46 /* 70 S> */ B(Star), R(1), 45 /* 70 S> */ B(LdaConstant), U8(1),
47 B(LdaConstant), U8(1), 46 B(DeletePropertyStrict), R(0),
48 B(DeletePropertyStrict), R(1),
49 /* 89 S> */ B(Return), 47 /* 89 S> */ B(Return),
50 ] 48 ]
51 constant pool: [ 49 constant pool: [
52 InstanceType::FIXED_ARRAY_TYPE, 50 InstanceType::FIXED_ARRAY_TYPE,
53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 51 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
54 ] 52 ]
55 handlers: [ 53 handlers: [
56 ] 54 ]
57 55
58 --- 56 ---
59 snippet: " 57 snippet: "
60 var a = {1:13, 2:14}; return delete a[2]; 58 var a = {1:13, 2:14}; return delete a[2];
61 " 59 "
62 frame size: 2 60 frame size: 2
63 parameter count: 1 61 parameter count: 1
64 bytecode array length: 16 62 bytecode array length: 14
65 bytecodes: [ 63 bytecodes: [
66 /* 30 E> */ B(StackCheck), 64 /* 30 E> */ B(StackCheck),
67 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 65 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
68 B(Star), R(1), 66 B(Star), R(1),
69 B(Star), R(0), 67 B(Star), R(0),
70 /* 56 S> */ B(Star), R(1), 68 /* 56 S> */ B(LdaSmi), U8(2),
71 B(LdaSmi), U8(2), 69 B(DeletePropertySloppy), R(0),
72 B(DeletePropertySloppy), R(1),
73 /* 76 S> */ B(Return), 70 /* 76 S> */ B(Return),
74 ] 71 ]
75 constant pool: [ 72 constant pool: [
76 InstanceType::FIXED_ARRAY_TYPE, 73 InstanceType::FIXED_ARRAY_TYPE,
77 ] 74 ]
78 handlers: [ 75 handlers: [
79 ] 76 ]
80 77
81 --- 78 ---
82 snippet: " 79 snippet: "
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bytecodes: [ 134 bytecodes: [
138 /* 30 E> */ B(StackCheck), 135 /* 30 E> */ B(StackCheck),
139 /* 34 S> */ B(LdaTrue), 136 /* 34 S> */ B(LdaTrue),
140 /* 56 S> */ B(Return), 137 /* 56 S> */ B(Return),
141 ] 138 ]
142 constant pool: [ 139 constant pool: [
143 ] 140 ]
144 handlers: [ 141 handlers: [
145 ] 142 ]
146 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698