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

Unified Diff: src/compiler/linkage.h

Issue 526313002: [turbofan] First step of Operator refactoring. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 3 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/compiler/js-generic-lowering.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage.h
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h
index 296015ca049ec6b57b549f97612d81f9708513cb..f0f14e3c89edcb3f2cf62f380b1cba768ac4dfe7 100644
--- a/src/compiler/linkage.h
+++ b/src/compiler/linkage.h
@@ -54,8 +54,9 @@ class CallDescriptor FINAL : public ZoneObject {
CallDescriptor(Kind kind, int8_t return_count, int16_t parameter_count,
int16_t input_count, LinkageLocation* locations,
- Operator::Property properties, RegList callee_saved_registers,
- Flags flags, const char* debug_name = "")
+ Operator::Properties properties,
+ RegList callee_saved_registers, Flags flags,
+ const char* debug_name = "")
: kind_(kind),
return_count_(return_count),
parameter_count_(parameter_count),
@@ -97,7 +98,7 @@ class CallDescriptor FINAL : public ZoneObject {
}
// Operator properties describe how this call can be optimized, if at all.
- Operator::Property properties() const { return properties_; }
+ Operator::Properties properties() const { return properties_; }
// Get the callee-saved registers, if any, across this call.
RegList CalleeSavedRegisters() { return callee_saved_registers_; }
@@ -112,7 +113,7 @@ class CallDescriptor FINAL : public ZoneObject {
int16_t parameter_count_;
int16_t input_count_;
LinkageLocation* locations_;
- Operator::Property properties_;
+ Operator::Properties properties_;
RegList callee_saved_registers_;
Flags flags_;
const char* debug_name_;
@@ -149,11 +150,10 @@ class Linkage : public ZoneObject {
static CallDescriptor* GetJSCallDescriptor(int parameter_count, Zone* zone);
CallDescriptor* GetRuntimeCallDescriptor(Runtime::FunctionId function,
int parameter_count,
- Operator::Property properties);
- static CallDescriptor* GetRuntimeCallDescriptor(Runtime::FunctionId function,
- int parameter_count,
- Operator::Property properties,
- Zone* zone);
+ Operator::Properties properties);
+ static CallDescriptor* GetRuntimeCallDescriptor(
+ Runtime::FunctionId function, int parameter_count,
+ Operator::Properties properties, Zone* zone);
CallDescriptor* GetStubCallDescriptor(
CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count = 0,
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698