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

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

Issue 1278003002: Change heuristic to determine which fields contain modifieable double boxes: do it if field was ini… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: s Created 5 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
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/object.h » ('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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 } 328 }
329 329
330 CompileType* Type(); 330 CompileType* Type();
331 331
332 void SetReachingType(CompileType* type) { 332 void SetReachingType(CompileType* type) {
333 reaching_type_ = type; 333 reaching_type_ = type;
334 } 334 }
335 335
336 void PrintTo(BufferFormatter* f) const; 336 void PrintTo(BufferFormatter* f) const;
337 337
338 const char* ToCString() const;
339
338 const char* DebugName() const { return "Value"; } 340 const char* DebugName() const { return "Value"; }
339 341
340 bool IsSmiValue() { return Type()->ToCid() == kSmiCid; } 342 bool IsSmiValue() { return Type()->ToCid() == kSmiCid; }
341 343
342 // Returns true if this value binds to the constant: 0xFFFFFFFF. 344 // Returns true if this value binds to the constant: 0xFFFFFFFF.
343 bool BindsTo32BitMaskConstant() const; 345 bool BindsTo32BitMaskConstant() const;
344 346
345 // Return true if the value represents a constant. 347 // Return true if the value represents a constant.
346 bool BindsToConstant() const; 348 bool BindsToConstant() const;
347 349
(...skipping 7751 matching lines...) Expand 10 before | Expand all | Expand 10 after
8099 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ 8101 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \
8100 UNIMPLEMENTED(); \ 8102 UNIMPLEMENTED(); \
8101 return NULL; \ 8103 return NULL; \
8102 } \ 8104 } \
8103 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 8105 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
8104 8106
8105 8107
8106 } // namespace dart 8108 } // namespace dart
8107 8109
8108 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8110 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698