Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: src/objects.cc

Issue 1906453002: Revert of Change calling convention of CallApiGetterStub to accept the AccessorInfo (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « src/objects.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698