Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index e807314f332502be717eac028f2a9ec20a13c219..1c772eec81152d77ade1e95a7ebe1135d93210fb 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -1479,6 +1479,8 @@ void KeyedLoadStubCompiler::GenerateLoadDictionaryElement( |
// -- r0 : key |
// -- r1 : receiver |
// ----------------------------------- |
+ ASSERT(r1.is(KeyedLoadIC::ReceiverRegister())); |
+ ASSERT(r0.is(KeyedLoadIC::NameRegister())); |
Label slow, miss; |
Register key = r0; |