Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index bd572c2f26b93e6ab5cb2d9e247529c32ff2b18f..4692e49bb55933277a0004ee6fecefc3b0064866 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -252,8 +252,13 @@ class PlatformCodeStub : public CodeStub { |
struct CodeStubInterfaceDescriptor { |
CodeStubInterfaceDescriptor() |
: register_param_count_(-1), |
- register_params_(NULL) { } |
+ 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_; |
}; |
@@ -1385,14 +1390,17 @@ class StoreArrayLiteralElementStub : public PlatformCodeStub { |
class StubFailureTrampolineStub : public PlatformCodeStub { |
public: |
- StubFailureTrampolineStub() {} |
+ 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); |
}; |