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

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

Issue 414163003: Fix issue 20190: Mark Uint32/Int32 typed data load to produce a Mint always (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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
« 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) 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 4234 matching lines...) Expand 10 before | Expand all | Expand 10 after
4245 4245
4246 Value* array() const { return inputs_[0]; } 4246 Value* array() const { return inputs_[0]; }
4247 Value* index() const { return inputs_[1]; } 4247 Value* index() const { return inputs_[1]; }
4248 intptr_t index_scale() const { return index_scale_; } 4248 intptr_t index_scale() const { return index_scale_; }
4249 intptr_t class_id() const { return class_id_; } 4249 intptr_t class_id() const { return class_id_; }
4250 4250
4251 virtual bool CanDeoptimize() const { 4251 virtual bool CanDeoptimize() const {
4252 return deopt_id_ != Isolate::kNoDeoptId; 4252 return deopt_id_ != Isolate::kNoDeoptId;
4253 } 4253 }
4254 4254
4255 bool Typed32BitIsSmi() const {
4256 return kSmiBits >= 32;
4257 }
4255 4258
4256 virtual Representation representation() const; 4259 virtual Representation representation() const;
4257 virtual void InferRange(); 4260 virtual void InferRange();
4258 4261
4259 virtual bool AllowsCSE() const { return false; } 4262 virtual bool AllowsCSE() const { return false; }
4260 virtual EffectSet Effects() const { return EffectSet::None(); } 4263 virtual EffectSet Effects() const { return EffectSet::None(); }
4261 virtual EffectSet Dependencies() const; 4264 virtual EffectSet Dependencies() const;
4262 virtual bool AttributesEqual(Instruction* other) const; 4265 virtual bool AttributesEqual(Instruction* other) const;
4263 4266
4264 virtual bool MayThrow() const { return false; } 4267 virtual bool MayThrow() const { return false; }
(...skipping 4361 matching lines...) Expand 10 before | Expand all | Expand 10 after
8626 ForwardInstructionIterator* current_iterator_; 8629 ForwardInstructionIterator* current_iterator_;
8627 8630
8628 private: 8631 private:
8629 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 8632 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
8630 }; 8633 };
8631 8634
8632 8635
8633 } // namespace dart 8636 } // namespace dart
8634 8637
8635 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8638 #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