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

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

Issue 30023005: Handle constants in new space on arm by making macro-assembler smarter. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Refresh patch set. Created 7 years, 1 month 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/lithium-gap-resolver-arm.cc ('k') | src/arm/macro-assembler-arm.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 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 // Load an object from the root table. 164 // Load an object from the root table.
165 void LoadRoot(Register destination, 165 void LoadRoot(Register destination,
166 Heap::RootListIndex index, 166 Heap::RootListIndex index,
167 Condition cond = al); 167 Condition cond = al);
168 // Store an object to the root table. 168 // Store an object to the root table.
169 void StoreRoot(Register source, 169 void StoreRoot(Register source,
170 Heap::RootListIndex index, 170 Heap::RootListIndex index,
171 Condition cond = al); 171 Condition cond = al);
172 172
173 void LoadHeapObject(Register dst, Handle<HeapObject> object);
174
175 void LoadObject(Register result, Handle<Object> object) {
176 AllowDeferredHandleDereference heap_object_check;
177 if (object->IsHeapObject()) {
178 LoadHeapObject(result, Handle<HeapObject>::cast(object));
179 } else {
180 Move(result, object);
181 }
182 }
183
184 // --------------------------------------------------------------------------- 173 // ---------------------------------------------------------------------------
185 // GC Support 174 // GC Support
186 175
187 void IncrementalMarkingRecordWriteHelper(Register object, 176 void IncrementalMarkingRecordWriteHelper(Register object,
188 Register value, 177 Register value,
189 Register address); 178 Register address);
190 179
191 enum RememberedSetFinalAction { 180 enum RememberedSetFinalAction {
192 kReturnAtEnd, 181 kReturnAtEnd,
193 kFallThroughAtEnd 182 kFallThroughAtEnd
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1520 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1509 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1521 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1510 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1522 #else 1511 #else
1523 #define ACCESS_MASM(masm) masm-> 1512 #define ACCESS_MASM(masm) masm->
1524 #endif 1513 #endif
1525 1514
1526 1515
1527 } } // namespace v8::internal 1516 } } // namespace v8::internal
1528 1517
1529 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1518 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-gap-resolver-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698