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

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

Issue 2003403003: ARM/ARM64: Fix smashed CODE_REG in intrinsics with InvokeMathCFunctionInstrs. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | runtime/vm/constants_x64.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_CONSTANTS_ARM_H_ 5 #ifndef VM_CONSTANTS_ARM_H_
6 #define VM_CONSTANTS_ARM_H_ 6 #define VM_CONSTANTS_ARM_H_
7 7
8 #include "platform/globals.h" 8 #include "platform/globals.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 10
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 const Register TMP2 = kNoRegister; // There is no second assembler temporary. 276 const Register TMP2 = kNoRegister; // There is no second assembler temporary.
277 const Register CTX = R6; // Location of current context at method entry. 277 const Register CTX = R6; // Location of current context at method entry.
278 const Register PP = R5; // Caches object pool pointer in generated code. 278 const Register PP = R5; // Caches object pool pointer in generated code.
279 const Register SPREG = SP; // Stack pointer register. 279 const Register SPREG = SP; // Stack pointer register.
280 const Register FPREG = FP; // Frame pointer register. 280 const Register FPREG = FP; // Frame pointer register.
281 const Register LRREG = LR; // Link register. 281 const Register LRREG = LR; // Link register.
282 const Register ICREG = R9; // IC data register. 282 const Register ICREG = R9; // IC data register.
283 const Register ARGS_DESC_REG = R4; 283 const Register ARGS_DESC_REG = R4;
284 const Register CODE_REG = R6; 284 const Register CODE_REG = R6;
285 const Register THR = R10; // Caches current thread in generated code. 285 const Register THR = R10; // Caches current thread in generated code.
286 const Register CALLEE_SAVED_TEMP = R6; 286 const Register CALLEE_SAVED_TEMP = R8;
287 287
288 // R15 encodes APSR in the vmrs instruction. 288 // R15 encodes APSR in the vmrs instruction.
289 const Register APSR = R15; 289 const Register APSR = R15;
290 290
291 // Exception object is passed in this register to the catch handlers when an 291 // Exception object is passed in this register to the catch handlers when an
292 // exception is thrown. 292 // exception is thrown.
293 const Register kExceptionObjectReg = R0; 293 const Register kExceptionObjectReg = R0;
294 294
295 // Stack trace object is passed in this register to the catch handlers when 295 // Stack trace object is passed in this register to the catch handlers when
296 // an exception is thrown. 296 // an exception is thrown.
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 768 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
769 769
770 private: 770 private:
771 DISALLOW_ALLOCATION(); 771 DISALLOW_ALLOCATION();
772 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 772 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
773 }; 773 };
774 774
775 } // namespace dart 775 } // namespace dart
776 776
777 #endif // VM_CONSTANTS_ARM_H_ 777 #endif // VM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/constants_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698