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

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

Issue 516013003: Address review comments for r39595. (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
« no previous file with comments | « runtime/vm/flow_graph_range_analysis.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 6972 matching lines...) Expand 10 before | Expand all | Expand 10 after
6983 6983
6984 virtual void InferRange(RangeAnalysis* analysis, Range* range); 6984 virtual void InferRange(RangeAnalysis* analysis, Range* range);
6985 6985
6986 virtual Definition* Canonicalize(FlowGraph* flow_graph); 6986 virtual Definition* Canonicalize(FlowGraph* flow_graph);
6987 6987
6988 virtual Representation representation() const { 6988 virtual Representation representation() const {
6989 return kUnboxedInt32; 6989 return kUnboxedInt32;
6990 } 6990 }
6991 6991
6992 virtual Representation RequiredInputRepresentation(intptr_t idx) const { 6992 virtual Representation RequiredInputRepresentation(intptr_t idx) const {
6993 ASSERT(idx == 0 || idx == 1); 6993 ASSERT((idx == 0) || (idx == 1));
6994 return kUnboxedInt32; 6994 return kUnboxedInt32;
6995 } 6995 }
6996 6996
6997 virtual intptr_t DeoptimizationTarget() const { 6997 virtual intptr_t DeoptimizationTarget() const {
6998 // Direct access since this instruction cannot deoptimize, and the deopt-id 6998 // Direct access since this instruction cannot deoptimize, and the deopt-id
6999 // was inherited from another instruction that could deoptimize. 6999 // was inherited from another instruction that could deoptimize.
7000 return deopt_id_; 7000 return deopt_id_;
7001 } 7001 }
7002 7002
7003 virtual bool MayThrow() const { return false; } 7003 virtual bool MayThrow() const { return false; }
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
8399 Isolate* isolate, bool opt) const { \ 8399 Isolate* isolate, bool opt) const { \
8400 UNIMPLEMENTED(); \ 8400 UNIMPLEMENTED(); \
8401 return NULL; \ 8401 return NULL; \
8402 } \ 8402 } \
8403 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 8403 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
8404 8404
8405 8405
8406 } // namespace dart 8406 } // namespace dart
8407 8407
8408 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8408 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_range_analysis.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698