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

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

Issue 986553005: Contribution of PowerPC port (continuation of 422063005) - serialize.cc cleanup (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | src/arm/assembler-arm-inl.h » ('j') | src/assembler.h » ('J')
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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 kNumReservedRegisters - 1); 222 kNumReservedRegisters - 1);
223 if (index >= kDoubleRegZero.code()) index += kNumReservedRegisters; 223 if (index >= kDoubleRegZero.code()) index += kNumReservedRegisters;
224 return VFPRegisters::Name(index, true); 224 return VFPRegisters::Name(index, true);
225 } 225 }
226 226
227 227
228 // ----------------------------------------------------------------------------- 228 // -----------------------------------------------------------------------------
229 // Implementation of RelocInfo 229 // Implementation of RelocInfo
230 230
231 // static 231 // static
232 const int RelocInfo::kApplyMask = 1 << RelocInfo::INTERNAL_REFERENCE; 232 const int RelocInfo::kInternalReferenceMask = 1
233 << RelocInfo::INTERNAL_REFERENCE;
234 const int RelocInfo::kApplyMask = RelocInfo::kInternalReferenceMask;
233 235
234 236
235 bool RelocInfo::IsCodedSpecially() { 237 bool RelocInfo::IsCodedSpecially() {
236 // The deserializer needs to know whether a pointer is specially coded.  Being 238 // The deserializer needs to know whether a pointer is specially coded.  Being
237 // specially coded on ARM means that it is a movw/movt instruction, or is an 239 // specially coded on ARM means that it is a movw/movt instruction, or is an
238 // out of line constant pool entry.  These only occur if 240 // out of line constant pool entry.  These only occur if
239 // FLAG_enable_ool_constant_pool is true. 241 // FLAG_enable_ool_constant_pool is true.
240 return FLAG_enable_ool_constant_pool; 242 return FLAG_enable_ool_constant_pool;
241 } 243 }
242 244
(...skipping 3743 matching lines...) Expand 10 before | Expand all | Expand 10 after
3986 assm->instr_at_put( 3988 assm->instr_at_put(
3987 rinfo.pc(), Assembler::SetLdrRegisterImmediateOffset(instr, offset)); 3989 rinfo.pc(), Assembler::SetLdrRegisterImmediateOffset(instr, offset));
3988 } 3990 }
3989 } 3991 }
3990 } 3992 }
3991 3993
3992 3994
3993 } } // namespace v8::internal 3995 } } // namespace v8::internal
3994 3996
3995 #endif // V8_TARGET_ARCH_ARM 3997 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm-inl.h » ('j') | src/assembler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698