Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 5507) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -2084,7 +2084,10 @@ |
name, |
r1, |
&miss); |
- if (cell->IsFailure()) return cell; |
+ if (cell->IsFailure()) { |
+ miss.Unuse(); |
+ return cell; |
+ } |
} |
// Return undefined if maps of the full prototype chain are still the |
@@ -2134,7 +2137,10 @@ |
Failure* failure = Failure::InternalError(); |
bool success = GenerateLoadCallback(object, holder, r0, r2, r3, r1, r4, |
callback, name, &miss, &failure); |
- if (!success) return failure; |
+ if (!success) { |
+ miss.Unuse(); |
+ return failure; |
+ } |
__ bind(&miss); |
GenerateLoadMiss(masm(), Code::LOAD_IC); |
@@ -2282,7 +2288,10 @@ |
Failure* failure = Failure::InternalError(); |
bool success = GenerateLoadCallback(receiver, holder, r1, r0, r2, r3, r4, |
callback, name, &miss, &failure); |
- if (!success) return failure; |
+ if (!success) { |
+ miss.Unuse(); |
+ return failure; |
+ } |
__ bind(&miss); |
GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |