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

Unified Diff: src/isolate.h

Issue 104663004: Preview of a first step towards unification of hydrogen calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 7ba30883c755bc358709d68e2f59a73a9864616b..c7cb403cc3a23ddc449194a757ad8d09f0713217 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1078,6 +1078,15 @@ class Isolate {
CodeStubInterfaceDescriptor*
code_stub_interface_descriptor(int index);
+ enum CallDescriptorKey {
+ KeyedCall,
+ NamedCall,
+ ArgumentAdaptorCall,
+ NUMBER_OF_CALL_DESCRIPTORS
+ };
+
+ CodeStubInterfaceDescriptor* call_descriptor(CallDescriptorKey index);
+
void IterateDeferredHandles(ObjectVisitor* visitor);
void LinkDeferredHandles(DeferredHandles* deferred_handles);
void UnlinkDeferredHandles(DeferredHandles* deferred_handles);
@@ -1300,6 +1309,7 @@ class Isolate {
DateCache* date_cache_;
unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
CodeStubInterfaceDescriptor* code_stub_interface_descriptors_;
+ CodeStubInterfaceDescriptor* call_descriptors_;
RandomNumberGenerator* random_number_generator_;
// True if fatal error has been signaled for this isolate.

Powered by Google App Engine
This is Rietveld 408576698