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

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

Issue 251083007: Removes loads from PP from stubs on arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/assembler_arm64.cc ('k') | runtime/vm/flow_graph_compiler_arm64.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_CONSTANTS_ARM64_H_ 5 #ifndef VM_CONSTANTS_ARM64_H_
6 #define VM_CONSTANTS_ARM64_H_ 6 #define VM_CONSTANTS_ARM64_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 typedef VRegister FpuRegister; 104 typedef VRegister FpuRegister;
105 const FpuRegister FpuTMP = VTMP0; 105 const FpuRegister FpuTMP = VTMP0;
106 const int kNumberOfFpuRegisters = kNumberOfVRegisters; 106 const int kNumberOfFpuRegisters = kNumberOfVRegisters;
107 const FpuRegister kNoFpuRegister = kNoVRegister; 107 const FpuRegister kNoFpuRegister = kNoVRegister;
108 108
109 // Register aliases. 109 // Register aliases.
110 const Register TMP = R16; // Used as scratch register by assembler. 110 const Register TMP = R16; // Used as scratch register by assembler.
111 const Register TMP2 = R17; 111 const Register TMP2 = R17;
112 const Register CTX = R28; // Caches current context in generated code. 112 const Register CTX = R28; // Caches current context in generated code.
113 const Register PP = R27; // Caches object pool pointer in generated code. 113 const Register PP = R27; // Caches object pool pointer in generated code.
114 const Register kNoPP = kNoRegister;
114 const Register FPREG = FP; // Frame pointer register. 115 const Register FPREG = FP; // Frame pointer register.
115 const Register SPREG = R31; // Stack pointer register. 116 const Register SPREG = R31; // Stack pointer register.
116 const Register ICREG = R5; // IC data register. 117 const Register ICREG = R5; // IC data register.
117 118
118 // Exception object is passed in this register to the catch handlers when an 119 // Exception object is passed in this register to the catch handlers when an
119 // exception is thrown. 120 // exception is thrown.
120 const Register kExceptionObjectReg = R0; 121 const Register kExceptionObjectReg = R0;
121 122
122 // Stack trace object is passed in this register to the catch handlers when 123 // Stack trace object is passed in this register to the catch handlers when
123 // an exception is thrown. 124 // an exception is thrown.
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 809 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
809 810
810 private: 811 private:
811 DISALLOW_ALLOCATION(); 812 DISALLOW_ALLOCATION();
812 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 813 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
813 }; 814 };
814 815
815 } // namespace dart 816 } // namespace dart
816 817
817 #endif // VM_CONSTANTS_ARM64_H_ 818 #endif // VM_CONSTANTS_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm64.cc ('k') | runtime/vm/flow_graph_compiler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698