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

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

Issue 11867020: Fix bug in optimization in the presence of externalized strings. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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
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 4093 matching lines...) Expand 10 before | Expand all | Expand 10 after
4104 virtual RawAbstractType* CompileType() const; 4104 virtual RawAbstractType* CompileType() const;
4105 4105
4106 virtual intptr_t ArgumentCount() const { return 0; } 4106 virtual intptr_t ArgumentCount() const { return 0; }
4107 4107
4108 virtual bool CanDeoptimize() const { return true; } 4108 virtual bool CanDeoptimize() const { return true; }
4109 4109
4110 virtual bool HasSideEffect() const { return false; } 4110 virtual bool HasSideEffect() const { return false; }
4111 4111
4112 virtual bool AttributesEqual(Instruction* other) const; 4112 virtual bool AttributesEqual(Instruction* other) const;
4113 4113
4114 virtual bool AffectedBySideEffect() const { return false; } 4114 virtual bool AffectedBySideEffect() const;
4115 4115
4116 Value* value() const { return inputs_[0]; } 4116 Value* value() const { return inputs_[0]; }
4117 4117
4118 const ICData& unary_checks() const { return unary_checks_; } 4118 const ICData& unary_checks() const { return unary_checks_; }
4119 4119
4120 virtual Instruction* Canonicalize(FlowGraphOptimizer* optimizer); 4120 virtual Instruction* Canonicalize(FlowGraphOptimizer* optimizer);
4121 4121
4122 virtual void PrintOperandsTo(BufferFormatter* f) const; 4122 virtual void PrintOperandsTo(BufferFormatter* f) const;
4123 4123
4124 private: 4124 private:
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
4423 ForwardInstructionIterator* current_iterator_; 4423 ForwardInstructionIterator* current_iterator_;
4424 4424
4425 private: 4425 private:
4426 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 4426 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
4427 }; 4427 };
4428 4428
4429 4429
4430 } // namespace dart 4430 } // namespace dart
4431 4431
4432 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 4432 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698