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

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

Issue 401683003: Specialize mint shift code on arm for a constant shift amount. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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/intermediate_language_ia32.cc ('k') | runtime/vm/locations.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_LOCATIONS_H_ 5 #ifndef VM_LOCATIONS_H_
6 #define VM_LOCATIONS_H_ 6 #define VM_LOCATIONS_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/bitfield.h" 10 #include "vm/bitfield.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 327
328 // Return a memory operand for stack slot locations. 328 // Return a memory operand for stack slot locations.
329 Address ToStackSlotAddress() const; 329 Address ToStackSlotAddress() const;
330 330
331 // Returns the offset from the frame pointer for stack slot locations. 331 // Returns the offset from the frame pointer for stack slot locations.
332 intptr_t ToStackSlotOffset() const; 332 intptr_t ToStackSlotOffset() const;
333 333
334 // Constants. 334 // Constants.
335 static Location RegisterOrConstant(Value* value); 335 static Location RegisterOrConstant(Value* value);
336 static Location RegisterOrSmiConstant(Value* value); 336 static Location RegisterOrSmiConstant(Value* value);
337 static Location WritableRegisterOrSmiConstant(Value* value);
337 static Location FixedRegisterOrConstant(Value* value, Register reg); 338 static Location FixedRegisterOrConstant(Value* value, Register reg);
338 static Location FixedRegisterOrSmiConstant(Value* value, Register reg); 339 static Location FixedRegisterOrSmiConstant(Value* value, Register reg);
339 static Location AnyOrConstant(Value* value); 340 static Location AnyOrConstant(Value* value);
340 341
341 const char* Name() const; 342 const char* Name() const;
342 void PrintTo(BufferFormatter* f) const; 343 void PrintTo(BufferFormatter* f) const;
343 void Print() const; 344 void Print() const;
344 const char* ToCString() const; 345 const char* ToCString() const;
345 346
346 // Compare two locations. 347 // Compare two locations.
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 BitmapBuilder* stack_bitmap_; 637 BitmapBuilder* stack_bitmap_;
637 638
638 const ContainsCall contains_call_; 639 const ContainsCall contains_call_;
639 RegisterSet live_registers_; 640 RegisterSet live_registers_;
640 }; 641 };
641 642
642 643
643 } // namespace dart 644 } // namespace dart
644 645
645 #endif // VM_LOCATIONS_H_ 646 #endif // VM_LOCATIONS_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698