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

Side by Side Diff: runtime/vm/intermediate_language.h

Issue 579233002: Fix ConstantPropagator::VisitBinaryDoubleOp to work with all integer types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« runtime/vm/flow_graph_optimizer.cc ('K') | « runtime/vm/il_printer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7785 matching lines...) Expand 10 before | Expand all | Expand 10 after
7796 7796
7797 virtual Instruction* Canonicalize(FlowGraph* flow_graph); 7797 virtual Instruction* Canonicalize(FlowGraph* flow_graph);
7798 7798
7799 virtual bool AllowsCSE() const { return true; } 7799 virtual bool AllowsCSE() const { return true; }
7800 virtual EffectSet Effects() const { return EffectSet::None(); } 7800 virtual EffectSet Effects() const { return EffectSet::None(); }
7801 virtual EffectSet Dependencies() const; 7801 virtual EffectSet Dependencies() const;
7802 virtual bool AttributesEqual(Instruction* other) const { return true; } 7802 virtual bool AttributesEqual(Instruction* other) const { return true; }
7803 7803
7804 virtual bool MayThrow() const { return false; } 7804 virtual bool MayThrow() const { return false; }
7805 7805
7806 virtual void PrintOperandsTo(BufferFormatter* f) const;
7807
7806 private: 7808 private:
7807 intptr_t cid_; 7809 intptr_t cid_;
7808 7810
7809 DISALLOW_COPY_AND_ASSIGN(CheckClassIdInstr); 7811 DISALLOW_COPY_AND_ASSIGN(CheckClassIdInstr);
7810 }; 7812 };
7811 7813
7812 7814
7813 class CheckArrayBoundInstr : public TemplateInstruction<2> { 7815 class CheckArrayBoundInstr : public TemplateInstruction<2> {
7814 public: 7816 public:
7815 CheckArrayBoundInstr(Value* length, Value* index, intptr_t deopt_id) { 7817 CheckArrayBoundInstr(Value* length, Value* index, intptr_t deopt_id) {
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
8316 Isolate* isolate, bool opt) const { \ 8318 Isolate* isolate, bool opt) const { \
8317 UNIMPLEMENTED(); \ 8319 UNIMPLEMENTED(); \
8318 return NULL; \ 8320 return NULL; \
8319 } \ 8321 } \
8320 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 8322 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
8321 8323
8322 8324
8323 } // namespace dart 8325 } // namespace dart
8324 8326
8325 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8327 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« runtime/vm/flow_graph_optimizer.cc ('K') | « runtime/vm/il_printer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698