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

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

Issue 11411142: Support loads from Uint8Array and ExternalUint8Array in the optimizing compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 2727 matching lines...) Expand 10 before | Expand all | Expand 10 after
2738 virtual bool HasSideEffect() const { return false; } 2738 virtual bool HasSideEffect() const { return false; }
2739 2739
2740 virtual intptr_t ResultCid() const; 2740 virtual intptr_t ResultCid() const;
2741 2741
2742 virtual Representation representation() const; 2742 virtual Representation representation() const;
2743 2743
2744 virtual bool AttributesEqual(Instruction* other) const; 2744 virtual bool AttributesEqual(Instruction* other) const;
2745 2745
2746 virtual bool AffectedBySideEffect() const { return true; } 2746 virtual bool AffectedBySideEffect() const { return true; }
2747 2747
2748 virtual void InferRange();
2749
2748 private: 2750 private:
2749 const intptr_t class_id_; 2751 const intptr_t class_id_;
2750 2752
2751 DISALLOW_COPY_AND_ASSIGN(LoadIndexedInstr); 2753 DISALLOW_COPY_AND_ASSIGN(LoadIndexedInstr);
2752 }; 2754 };
2753 2755
2754 2756
2755 class StoreIndexedInstr : public TemplateDefinition<3> { 2757 class StoreIndexedInstr : public TemplateDefinition<3> {
2756 public: 2758 public:
2757 StoreIndexedInstr(Value* array, 2759 StoreIndexedInstr(Value* array,
(...skipping 1517 matching lines...) Expand 10 before | Expand all | Expand 10 after
4275 ForwardInstructionIterator* current_iterator_; 4277 ForwardInstructionIterator* current_iterator_;
4276 4278
4277 private: 4279 private:
4278 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 4280 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
4279 }; 4281 };
4280 4282
4281 4283
4282 } // namespace dart 4284 } // namespace dart
4283 4285
4284 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 4286 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698