| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 #ifndef VM_OPT_CODE_GENERATOR_ARM_H_ | |
| 6 #define VM_OPT_CODE_GENERATOR_ARM_H_ | |
| 7 | |
| 8 #ifndef VM_OPT_CODE_GENERATOR_H_ | |
| 9 #error Do not include opt_code_generator_arm.h; use opt_code_generator.h. | |
| 10 #endif | |
| 11 | |
| 12 #include "vm/code_generator.h" | |
| 13 | |
| 14 namespace dart { | |
| 15 | |
| 16 // Temporary hierarchy, until optimized code generator implemented. | |
| 17 class OptimizingCodeGenerator : public CodeGenerator { | |
| 18 public: | |
| 19 OptimizingCodeGenerator(Assembler* assembler, | |
| 20 const ParsedFunction& parsed_function) | |
| 21 : CodeGenerator(assembler, parsed_function) {} | |
| 22 | |
| 23 virtual bool IsOptimizing() const { | |
| 24 return true; | |
| 25 } | |
| 26 | |
| 27 private: | |
| 28 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); | |
| 29 }; | |
| 30 | |
| 31 } // namespace dart | |
| 32 | |
| 33 | |
| 34 #endif // VM_OPT_CODE_GENERATOR_ARM_H_ | |
| OLD | NEW |