| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 7797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7808 intptr_t ComputeCidMask() const; | 7808 intptr_t ComputeCidMask() const; |
| 7809 static bool IsDenseMask(intptr_t mask); | 7809 static bool IsDenseMask(intptr_t mask); |
| 7810 | 7810 |
| 7811 virtual bool AllowsCSE() const { return true; } | 7811 virtual bool AllowsCSE() const { return true; } |
| 7812 virtual EffectSet Dependencies() const; | 7812 virtual EffectSet Dependencies() const; |
| 7813 virtual EffectSet Effects() const { return EffectSet::None(); } | 7813 virtual EffectSet Effects() const { return EffectSet::None(); } |
| 7814 virtual bool AttributesEqual(Instruction* other) const; | 7814 virtual bool AttributesEqual(Instruction* other) const; |
| 7815 | 7815 |
| 7816 void set_licm_hoisted(bool value) { licm_hoisted_ = value; } | 7816 void set_licm_hoisted(bool value) { licm_hoisted_ = value; } |
| 7817 | 7817 |
| 7818 static bool IsImmutableClassId(intptr_t cid); | |
| 7819 | |
| 7820 PRINT_OPERANDS_TO_SUPPORT | 7818 PRINT_OPERANDS_TO_SUPPORT |
| 7821 | 7819 |
| 7822 private: | 7820 private: |
| 7823 const ICData& unary_checks_; | 7821 const ICData& unary_checks_; |
| 7824 GrowableArray<intptr_t> cids_; // Sorted, lowest first. | 7822 GrowableArray<intptr_t> cids_; // Sorted, lowest first. |
| 7825 bool licm_hoisted_; | 7823 bool licm_hoisted_; |
| 7826 bool is_dense_switch_; | 7824 bool is_dense_switch_; |
| 7827 const TokenPosition token_pos_; | 7825 const TokenPosition token_pos_; |
| 7828 | 7826 |
| 7829 DISALLOW_COPY_AND_ASSIGN(CheckClassInstr); | 7827 DISALLOW_COPY_AND_ASSIGN(CheckClassInstr); |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8282 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8280 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
| 8283 UNIMPLEMENTED(); \ | 8281 UNIMPLEMENTED(); \ |
| 8284 return NULL; \ | 8282 return NULL; \ |
| 8285 } \ | 8283 } \ |
| 8286 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8284 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8287 | 8285 |
| 8288 | 8286 |
| 8289 } // namespace dart | 8287 } // namespace dart |
| 8290 | 8288 |
| 8291 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8289 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |