Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 1fc270c7255ceddbdae4557714de08a7562a15c1..8a99c278cb1da885fcda1f4ef5c34a0f3a6eef12 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5769,7 +5769,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"); |