Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 3e19a45385b3465f23a0d12346a402f5026ad280..5ad7b5abaec01cbe59cf3d9f8d4b170c8f4c974f 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -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 v8 { |
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. |