Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 693447b5c2786a7d9177edadcb2bd3e7b4291453..1f5267e147d401d9f2877a510250be5adc573a0b 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -1665,7 +1665,11 @@ Register StubCompiler::CheckPrototypes(JSObject* object, |
Register holder_reg, |
Register scratch, |
String* name, |
+ int save_at_depth, |
Label* miss) { |
+ // TODO(<bug>): support object saving. |
+ ASSERT(save_at_depth == kInvalidProtoDepth); |
+ |
// Check that the maps haven't changed. |
Register result = |
__ CheckMaps(object, object_reg, holder, holder_reg, scratch, miss); |