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

Unified Diff: src/code-stubs.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/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index f2de6166d3aefb8aa47b768dde69e0df08442560..524db1093404e9307547c5f01b5878287d03d57e 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -283,6 +283,7 @@ struct CodeStubInterfaceDescriptor {
ContinuationType continuation_type_;
StubFunctionMode function_mode_;
Register* register_params_;
+ Representation* param_representations_;
Address deoptimization_handler_;
HandlerArgumentsMode handler_arguments_mode_;
@@ -314,7 +315,11 @@ struct CodeStubInterfaceDescriptor {
return has_miss_handler_;
}
- Register GetParameterRegister(int index) {
+ Representation GetParameterRepresentation(int index) const {
+ return param_representations_[index];
+ }
+
+ Register GetParameterRegister(int index) const {
return register_params_[index];
}
@@ -2351,6 +2356,12 @@ class ProfileEntryHookStub : public PlatformCodeStub {
DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
};
+
+class CallDescriptors {
+ public:
+ static void InitializeForIsolate(Isolate* isolate);
+};
+
} } // namespace v8::internal
#endif // V8_CODE_STUBS_H_
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/code-stubs.cc » ('j') | src/code-stubs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698