Index: src/runtime/runtime-strings.cc |
diff --git a/src/runtime/runtime-strings.cc b/src/runtime/runtime-strings.cc |
index f1070b76b2ff4ac21782bd484286ff818f1a878c..c1f14adb277cd18a8e03024aab47246e8d34a824 100644 |
--- a/src/runtime/runtime-strings.cc |
+++ b/src/runtime/runtime-strings.cc |
@@ -1056,7 +1056,7 @@ MUST_USE_RESULT static Object* ConvertCase( |
} |
Object* answer = ConvertCaseHelper(isolate, *s, *result, length, mapping); |
- if (answer->IsException() || answer->IsString()) return answer; |
+ if (answer->IsException(isolate) || answer->IsString()) return answer; |
DCHECK(answer->IsSmi()); |
length = Smi::cast(answer)->value(); |