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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 94723002: Swap cp and pp registers on Arm such for work on OOL Constant Pool. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase and fix one missing instance of pp/cp swap Created 7 years 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 | « src/arm/frames-arm.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 27 matching lines...) Expand all
38 // ---------------------------------------------------------------------------- 38 // ----------------------------------------------------------------------------
39 // Static helper functions 39 // Static helper functions
40 40
41 // Generate a MemOperand for loading a field from an object. 41 // Generate a MemOperand for loading a field from an object.
42 inline MemOperand FieldMemOperand(Register object, int offset) { 42 inline MemOperand FieldMemOperand(Register object, int offset) {
43 return MemOperand(object, offset - kHeapObjectTag); 43 return MemOperand(object, offset - kHeapObjectTag);
44 } 44 }
45 45
46 46
47 // Give alias names to registers 47 // Give alias names to registers
48 const Register pp = { kRegister_r7_Code }; // Constant pool pointer. 48 const Register cp = { kRegister_r7_Code }; // JavaScript context pointer.
49 const Register cp = { kRegister_r8_Code }; // JavaScript context pointer. 49 const Register pp = { kRegister_r8_Code }; // Constant pool pointer.
50 const Register kRootRegister = { kRegister_r10_Code }; // Roots array pointer. 50 const Register kRootRegister = { kRegister_r10_Code }; // Roots array pointer.
51 51
52 // Flags used for AllocateHeapNumber 52 // Flags used for AllocateHeapNumber
53 enum TaggingMode { 53 enum TaggingMode {
54 // Tag the result. 54 // Tag the result.
55 TAG_RESULT, 55 TAG_RESULT,
56 // Don't tag 56 // Don't tag
57 DONT_TAG_RESULT 57 DONT_TAG_RESULT
58 }; 58 };
59 59
(...skipping 1479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1539 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1540 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1540 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1541 #else 1541 #else
1542 #define ACCESS_MASM(masm) masm-> 1542 #define ACCESS_MASM(masm) masm->
1543 #endif 1543 #endif
1544 1544
1545 1545
1546 } } // namespace v8::internal 1546 } } // namespace v8::internal
1547 1547
1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/frames-arm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698