Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index bc8a50cfb0674849fbd9743a788ca3faaf7f3b8b..16c69d57addad40d22644f29281a48ba7c8e6bb1 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -1470,6 +1470,8 @@ void KeyedLoadStubCompiler::GenerateLoadDictionaryElement( |
// -- a0 : key |
// -- a1 : receiver |
// ----------------------------------- |
+ ASSERT(a1.is(KeyedLoadIC::ReceiverRegister())); |
+ ASSERT(a0.is(KeyedLoadIC::NameRegister())); |
Label slow, miss; |
Register key = a0; |