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

Side by Side Diff: src/mips/assembler-mips.cc

Issue 11744020: Rename RelocInfo::NONE to RelocInfo::NONE32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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 | « src/mips/assembler-mips.h ('k') | src/mips/assembler-mips-inl.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) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 rm_ = no_reg; 214 rm_ = no_reg;
215 // Verify all Objects referred by code are NOT in new space. 215 // Verify all Objects referred by code are NOT in new space.
216 Object* obj = *handle; 216 Object* obj = *handle;
217 ASSERT(!HEAP->InNewSpace(obj)); 217 ASSERT(!HEAP->InNewSpace(obj));
218 if (obj->IsHeapObject()) { 218 if (obj->IsHeapObject()) {
219 imm32_ = reinterpret_cast<intptr_t>(handle.location()); 219 imm32_ = reinterpret_cast<intptr_t>(handle.location());
220 rmode_ = RelocInfo::EMBEDDED_OBJECT; 220 rmode_ = RelocInfo::EMBEDDED_OBJECT;
221 } else { 221 } else {
222 // No relocation needed. 222 // No relocation needed.
223 imm32_ = reinterpret_cast<intptr_t>(obj); 223 imm32_ = reinterpret_cast<intptr_t>(obj);
224 rmode_ = RelocInfo::NONE; 224 rmode_ = RelocInfo::NONE32;
225 } 225 }
226 } 226 }
227 227
228 228
229 MemOperand::MemOperand(Register rm, int32_t offset) : Operand(rm) { 229 MemOperand::MemOperand(Register rm, int32_t offset) : Operand(rm) {
230 offset_ = offset; 230 offset_ = offset;
231 } 231 }
232 232
233 233
234 // ----------------------------------------------------------------------------- 234 // -----------------------------------------------------------------------------
(...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 } 2240 }
2241 2241
2242 if (patched) { 2242 if (patched) {
2243 CPU::FlushICache(pc+2, sizeof(Address)); 2243 CPU::FlushICache(pc+2, sizeof(Address));
2244 } 2244 }
2245 } 2245 }
2246 2246
2247 } } // namespace v8::internal 2247 } } // namespace v8::internal
2248 2248
2249 #endif // V8_TARGET_ARCH_MIPS 2249 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/mips/assembler-mips-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698