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

Unified Diff: src/code-stubs.h

Issue 132623005: A64: Synchronize with r18642. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/bootstrapper.cc ('k') | src/debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 86cad65a806fead8d8b8076e85aa2fec0050cfb3..b993d909ec0e193442f1a57d2d615a06217e77d9 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -325,7 +325,7 @@ struct CodeStubInterfaceDescriptor {
return has_miss_handler_;
}
- Register GetParameterRegister(int index) {
+ Register GetParameterRegister(int index) const {
return register_params_[index];
}
@@ -347,6 +347,41 @@ struct CodeStubInterfaceDescriptor {
};
+struct PlatformCallInterfaceDescriptor;
+
+
+struct CallInterfaceDescriptor {
+ CallInterfaceDescriptor()
+ : register_param_count_(-1),
+ register_params_(NULL),
+ param_representations_(NULL),
+ platform_specific_descriptor_(NULL) { }
+
+ bool initialized() const { return register_param_count_ >= 0; }
+
+ int environment_length() const {
+ return register_param_count_;
+ }
+
+ Representation GetParameterRepresentation(int index) const {
+ return param_representations_[index];
+ }
+
+ Register GetParameterRegister(int index) const {
+ return register_params_[index];
+ }
+
+ PlatformCallInterfaceDescriptor* platform_specific_descriptor() const {
+ return platform_specific_descriptor_;
+ }
+
+ int register_param_count_;
+ Register* register_params_;
+ Representation* param_representations_;
+ PlatformCallInterfaceDescriptor* platform_specific_descriptor_;
+};
+
+
class HydrogenCodeStub : public CodeStub {
public:
enum InitializationState {
@@ -2464,6 +2499,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/bootstrapper.cc ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698