Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index d19a683dc881d0fceb561aae782343bd40972b16..6e48f907dd807d273b3950022b8ba796d8920f43 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -735,7 +735,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 = |
masm()->CheckMaps(object, object_reg, holder, holder_reg, scratch, miss); |