Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index a69619495b54c0b556f9a8fcc7459ae833deac7f..ca6a5bbb31ddadb10bfe903ead7aee7cd57cfb3d 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -1454,6 +1454,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 |