Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index f8066053d6bccd98ded3bfc65724b8157d08682d..6b6f80f795debf708f1882772eea5a3ade12dd98 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1238,10 +1238,8 @@ i::Handle<i::AccessorInfo> MakeAccessorInfo( |
setter = reinterpret_cast<Setter>(&i::Accessors::ReconfigureToDataProperty); |
} |
SET_FIELD_WRAPPED(obj, set_setter, setter); |
-#ifdef USE_SIMULATOR |
i::Address redirected = obj->redirected_getter(); |
if (redirected != nullptr) SET_FIELD_WRAPPED(obj, set_js_getter, redirected); |
-#endif |
if (data.IsEmpty()) { |
data = v8::Undefined(reinterpret_cast<v8::Isolate*>(isolate)); |
} |