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

Side by Side Diff: src/compiler/machine-operator.h

Issue 1333353005: [turbofan] Limit the load/store machine types to the ones we actually use. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | src/compiler/machine-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_MACHINE_OPERATOR_H_ 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ 6 #define V8_COMPILER_MACHINE_OPERATOR_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/machine-type.h" 9 #include "src/compiler/machine-type.h"
10 10
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 V(Uint, Mod) 290 V(Uint, Mod)
291 #define PSEUDO_OP(Prefix, Suffix) \ 291 #define PSEUDO_OP(Prefix, Suffix) \
292 const Operator* Prefix##Suffix() { \ 292 const Operator* Prefix##Suffix() { \
293 return Is32() ? Prefix##32##Suffix() : Prefix##64##Suffix(); \ 293 return Is32() ? Prefix##32##Suffix() : Prefix##64##Suffix(); \
294 } 294 }
295 PSEUDO_OP_LIST(PSEUDO_OP) 295 PSEUDO_OP_LIST(PSEUDO_OP)
296 #undef PSEUDO_OP 296 #undef PSEUDO_OP
297 #undef PSEUDO_OP_LIST 297 #undef PSEUDO_OP_LIST
298 298
299 private: 299 private:
300 Zone* const zone_;
301 MachineOperatorGlobalCache const& cache_; 300 MachineOperatorGlobalCache const& cache_;
302 MachineType const word_; 301 MachineType const word_;
303 Flags const flags_; 302 Flags const flags_;
304 303
305 DISALLOW_COPY_AND_ASSIGN(MachineOperatorBuilder); 304 DISALLOW_COPY_AND_ASSIGN(MachineOperatorBuilder);
306 }; 305 };
307 306
308 307
309 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 308 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
310 309
311 } // namespace compiler 310 } // namespace compiler
312 } // namespace internal 311 } // namespace internal
313 } // namespace v8 312 } // namespace v8
314 313
315 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 314 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698