Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 8ee3e75ff870c5e6fc3172192ce4843d3044a846..9f2c4e0b3408fb1e52c71397c922851dd3d11126 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -1091,22 +1091,6 @@ |
return ReadAbsentProperty(isolate, receiver, it->GetName()); |
} |
-#ifdef USE_SIMULATOR |
-// static |
-Address AccessorInfo::redirect(Isolate* isolate, Address address, |
- AccessorComponent component) { |
- ApiFunction fun(address); |
- DCHECK_EQ(ACCESSOR_GETTER, component); |
- ExternalReference::Type type = ExternalReference::DIRECT_GETTER_CALL; |
- return ExternalReference(&fun, type, isolate).address(); |
-} |
- |
-Address AccessorInfo::redirected_getter() const { |
- Address accessor = v8::ToCData<Address>(getter()); |
- if (accessor == nullptr) return nullptr; |
- return redirect(GetIsolate(), accessor, ACCESSOR_GETTER); |
-} |
-#endif |
bool AccessorInfo::IsCompatibleReceiverMap(Isolate* isolate, |
Handle<AccessorInfo> info, |