Index: src/x87/stub-cache-x87.cc |
diff --git a/src/x87/stub-cache-x87.cc b/src/x87/stub-cache-x87.cc |
index c7993adabd8eeab97dc8383562b2eb430fc00273..c963a528c30107ff7186d5666c314c7152032b43 100644 |
--- a/src/x87/stub-cache-x87.cc |
+++ b/src/x87/stub-cache-x87.cc |
@@ -1453,6 +1453,8 @@ void KeyedLoadStubCompiler::GenerateLoadDictionaryElement( |
// -- edx : receiver |
// -- esp[0] : return address |
// ----------------------------------- |
+ ASSERT(edx.is(KeyedLoadIC::ReceiverRegister())); |
+ ASSERT(ecx.is(KeyedLoadIC::NameRegister())); |
Label slow, miss; |
// This stub is meant to be tail-jumped to, the receiver must already |