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

Side by Side Diff: src/interpreter/constant-array-builder.h

Issue 1783483002: [interpreter] Add support for scalable operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Re-generate golden files. Created 4 years, 9 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
« no previous file with comments | « src/interpreter/bytecodes.cc ('k') | src/interpreter/constant-array-builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_ 5 #ifndef V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_
6 #define V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_ 6 #define V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_
7 7
8 #include "src/identity-map.h" 8 #include "src/identity-map.h"
9 #include "src/interpreter/bytecodes.h" 9 #include "src/interpreter/bytecodes.h"
10 #include "src/zone-containers.h" 10 #include "src/zone-containers.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 DISALLOW_COPY_AND_ASSIGN(ConstantArraySlice); 91 DISALLOW_COPY_AND_ASSIGN(ConstantArraySlice);
92 }; 92 };
93 93
94 const ConstantArraySlice* IndexToSlice(size_t index) const; 94 const ConstantArraySlice* IndexToSlice(size_t index) const;
95 ConstantArraySlice* OperandSizeToSlice(OperandSize operand_size) const; 95 ConstantArraySlice* OperandSizeToSlice(OperandSize operand_size) const;
96 96
97 IdentityMap<index_t>* constants_map() { return &constants_map_; } 97 IdentityMap<index_t>* constants_map() { return &constants_map_; }
98 98
99 Isolate* isolate_; 99 Isolate* isolate_;
100 ConstantArraySlice* idx_slice_[2]; 100 ConstantArraySlice* idx_slice_[3];
101 IdentityMap<index_t> constants_map_; 101 IdentityMap<index_t> constants_map_;
102 }; 102 };
103 103
104 } // namespace interpreter 104 } // namespace interpreter
105 } // namespace internal 105 } // namespace internal
106 } // namespace v8 106 } // namespace v8
107 107
108 #endif // V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_ 108 #endif // V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.cc ('k') | src/interpreter/constant-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698