| Index: src/arm/stub-cache-arm.cc
|
| diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc
|
| index 98052231a58e5acd2b90bc206d795f2d6faea91a..979a00f0d396ad88cfddce264e320a78b5089fea 100644
|
| --- a/src/arm/stub-cache-arm.cc
|
| +++ b/src/arm/stub-cache-arm.cc
|
| @@ -789,11 +789,12 @@ class CallInterceptorCompiler BASE_EMBEDDED {
|
| stub_compiler_->CheckPrototypes(interceptor_holder, receiver,
|
| lookup->holder(), scratch1,
|
| scratch2, name, depth2, miss);
|
| + } else {
|
| // CheckPrototypes has a side effect of fetching a 'holder'
|
| // for API (object which is instanceof for the signature). It's
|
| // safe to omit it here, as if present, it should be fetched
|
| // by the previous CheckPrototypes.
|
| - ASSERT((depth2 == kInvalidProtoDepth) || (depth1 != kInvalidProtoDepth));
|
| + ASSERT(depth2 == kInvalidProtoDepth);
|
| }
|
|
|
| // Invoke function.
|
|
|