Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 79f9c7bd2b3224cc3cf5696db874cd1d328c510c..2ec6c7cfa7958b3c51cc65804902e5d2125556c1 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. |