Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 8c7695db535a1d70162fa635a311a21b55900da9..f62f1ca1c9e7bde6eaf5a8ef61c67341522c089a 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -239,9 +239,7 @@ MaybeObject* Object::GetPropertyWithHandler(Object* receiver_raw, |
Handle<Object> trap(v8::internal::GetProperty(handler, "get", &lookup)); |
if (!lookup.IsFound()) { |
// Get the derived `get' property. |
- Object* derived = isolate->global_context()->builtins()->javascript_builtin( |
- Builtins::DERIVED_GET_TRAP); |
- trap = Handle<JSFunction>(JSFunction::cast(derived)); |
+ trap = isolate->derived_get_trap(); |
} |
// Call trap function. |