Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 73b225dba42fee6db4002cc5dd05289959b6bc17..fc54c557cfb6b50dfe1e5842173f5156c861b65a 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -39,6 +39,13 @@ |
Handle<Object> set = v8::FromCData(isolate, setter); |
info->set_getter(*get); |
info->set_setter(*set); |
+#ifdef USE_SIMULATOR |
+ Address redirected = info->redirected_getter(); |
+ if (redirected != nullptr) { |
+ Handle<Object> js_get = v8::FromCData(isolate, redirected); |
+ info->set_js_getter(*js_get); |
+ } |
+#endif |
return info; |
} |