Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 71f5632be3b137f8788f4a303dd251e354973363..05a7c48c9ed260e7a0802f6de44dba86b738cedc 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3373,8 +3373,7 @@ Maybe<bool> Value::Equals(Local<Context> context, Local<Value> that) const { |
} |
PREPARE_FOR_EXECUTION_PRIMITIVE(context, "v8::Value::Equals()", bool); |
i::Handle<i::Object> args[] = { other }; |
- i::Handle<i::JSFunction> fun(i::JSFunction::cast( |
- isolate->js_builtins_object()->javascript_builtin(i::Builtins::EQUALS))); |
+ i::Handle<i::JSFunction> fun = isolate->equals_builtin(); |
i::Handle<i::Object> result; |
has_pending_exception = |
!i::Execution::Call(isolate, fun, self, arraysize(args), args) |