Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 6bbdcc90d759ef11076b733237e0ba7af5801374..622cbf8d6affe40a786d37c5014994684e373a8a 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -979,6 +979,10 @@ void LCodeGen::RecordSafepoint( |
safepoint.DefinePointerRegister(ToRegister(pointer), zone()); |
} |
} |
+ if (FLAG_enable_ool_constant_pool && (kind & Safepoint::kWithRegisters)) { |
+ // Register pp always contains a pointer to the context. |
ulan
2014/01/07 08:32:03
Register pp always contains a pointer to the const
rmcilroy
2014/01/07 14:57:29
Good catch :). Done.
|
+ safepoint.DefinePointerRegister(pp, zone()); |
+ } |
} |