Index: src/func-name-inferrer.cc |
diff --git a/src/func-name-inferrer.cc b/src/func-name-inferrer.cc |
index 441113b7d8de3ae272fcb156026f5cfd65ebd1e6..e85e89528297dd27092c1e20d2c132cbd4edc2c8 100644 |
--- a/src/func-name-inferrer.cc |
+++ b/src/func-name-inferrer.cc |
@@ -86,10 +86,9 @@ Handle<String> FuncNameInferrer::MakeNameFromStackHelper(int pos, |
Handle<String> name = names_stack_.at(pos).name; |
if (prev->length() + name->length() + 1 > String::kMaxLength) return prev; |
Factory* factory = isolate()->factory(); |
- Handle<String> curr = factory->NewConsString(factory->dot_string(), name); |
- CHECK_NOT_EMPTY_HANDLE(isolate(), curr); |
- curr = factory->NewConsString(prev, curr); |
- CHECK_NOT_EMPTY_HANDLE(isolate(), curr); |
+ Handle<String> curr = |
+ factory->NewConsString(factory->dot_string(), name).ToHandleChecked(); |
+ curr = factory->NewConsString(prev, curr).ToHandleChecked(); |
return MakeNameFromStackHelper(pos + 1, curr); |
} else { |
return MakeNameFromStackHelper(pos + 1, names_stack_.at(pos).name); |