Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index dde0cc29b08296e764288f94da6b0deb198ef409..6c48a2ab590b2af8813603c5406b5f03c3c7e6d0 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -253,8 +253,12 @@ class PlatformCodeStub : public CodeStub { |
struct CodeStubInterfaceDescriptor { |
CodeStubInterfaceDescriptor() |
: register_param_count_(-1), |
+ stack_parameter_count_(NULL), |
+ extra_expression_stack_count_(0), |
register_params_(NULL) { } |
int register_param_count_; |
+ const Register* stack_parameter_count_; |
+ int extra_expression_stack_count_; |
Register* register_params_; |
Address deoptimization_handler_; |
}; |
@@ -1425,14 +1429,19 @@ class StoreArrayLiteralElementStub : public PlatformCodeStub { |
class StubFailureTrampolineStub : public PlatformCodeStub { |
public: |
- StubFailureTrampolineStub() {} |
+ static const int kMaxExtraExpressionStackCount = 1; |
+ |
+ explicit StubFailureTrampolineStub(int extra_expression_stack_count) |
+ : extra_expression_stack_count_(extra_expression_stack_count) {} |
private: |
Major MajorKey() { return StubFailureTrampoline; } |
- int MinorKey() { return 0; } |
+ int MinorKey() { return extra_expression_stack_count_; } |
void Generate(MacroAssembler* masm); |
+ int extra_expression_stack_count_; |
+ |
DISALLOW_COPY_AND_ASSIGN(StubFailureTrampolineStub); |
}; |