Index: src/arm/assembler-arm-inl.h |
=================================================================== |
--- src/arm/assembler-arm-inl.h (revision 10404) |
+++ src/arm/assembler-arm-inl.h (working copy) |
@@ -32,7 +32,7 @@ |
// The original source code covered by the above license above has been modified |
// significantly by Google Inc. |
-// Copyright 2006-2008 the V8 project authors. All rights reserved. |
+// Copyright 2012 the V8 project authors. All rights reserved. |
#ifndef V8_ARM_ASSEMBLER_ARM_INL_H_ |
#define V8_ARM_ASSEMBLER_ARM_INL_H_ |
@@ -46,6 +46,13 @@ |
namespace internal { |
+int DwVfpRegister::ToAllocationIndex(DwVfpRegister reg) { |
+ ASSERT(!reg.is(kDoubleRegZero)); |
+ ASSERT(!reg.is(kScratchDoubleReg)); |
+ return reg.code(); |
+} |
+ |
+ |
void RelocInfo::apply(intptr_t delta) { |
if (RelocInfo::IsInternalReference(rmode_)) { |
// absolute code pointer inside code object moves with the code object. |