Index: src/runtime/runtime-strings.cc |
diff --git a/src/runtime/runtime-strings.cc b/src/runtime/runtime-strings.cc |
index 8df345313698e197ae3384456f321c989e096f86..3ffde6573daa940fcabaf806ac7d9821671f36cb 100644 |
--- a/src/runtime/runtime-strings.cc |
+++ b/src/runtime/runtime-strings.cc |
@@ -1057,7 +1057,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(); |