diff --git a/src/api.cc b/src/api.cc index 11d0a40de0..c2bbc18ef5 100644 --- a/src/api.cc +++ b/src/api.cc @@ -1851,7 +1851,8 @@ v8::Local v8::TryCatch::StackTrace() const { if (!raw_obj->IsJSObject()) return v8::Local(); i::HandleScope scope(isolate_); i::Handle obj(i::JSObject::cast(raw_obj), isolate_); - i::Handle name = isolate_->factory()->stack_symbol(); + i::Handle name = + isolate_->factory()->LookupOneByteSymbol(STATIC_ASCII_VECTOR("stack")); if (!obj->HasProperty(*name)) return v8::Local(); i::Handle value = i::GetProperty(obj, name); if (value.is_null()) return v8::Local(); diff --git a/src/handles.cc b/src/handles.cc index 855997ec3f..3bc1f4bea0 100644 --- a/src/handles.cc +++ b/src/handles.cc @@ -375,15 +375,6 @@ Handle GetScriptWrapper(Handle