Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index c89b61937923f99f49bf44da5de976038c850901..c489699986c16d8a3c974a2f73a85db5dc45b2f9 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5822,7 +5822,7 @@ Local<Object> Array::CloneElementAt(uint32_t index) { |
bool Value::IsPromise() const { |
i::Handle<i::Object> val = Utils::OpenHandle(this); |
- if (!i::FLAG_harmony_promises || !val->IsJSObject()) return false; |
+ if (!val->IsJSObject()) return false; |
i::Handle<i::JSObject> obj = i::Handle<i::JSObject>::cast(val); |
i::Isolate* isolate = obj->GetIsolate(); |
LOG_API(isolate, "IsPromise"); |