Index: src/lithium.h |
diff --git a/src/lithium.h b/src/lithium.h |
index c0d7d076d9c9b3128ea6bbfb5288caa56a16d2c9..80af287ffb774ee1ab22034274e78e8283ac38f0 100644 |
--- a/src/lithium.h |
+++ b/src/lithium.h |
@@ -439,14 +439,14 @@ class LPointerMap: public ZoneObject { |
class LEnvironment: public ZoneObject { |
public: |
LEnvironment(Handle<JSFunction> closure, |
- bool is_arguments_adaptor, |
+ FrameType frame_type, |
int ast_id, |
int parameter_count, |
int argument_count, |
int value_count, |
LEnvironment* outer) |
: closure_(closure), |
- is_arguments_adaptor_(is_arguments_adaptor), |
+ frame_type_(frame_type), |
arguments_stack_height_(argument_count), |
deoptimization_index_(Safepoint::kNoDeoptimizationIndex), |
translation_index_(-1), |
@@ -461,6 +461,7 @@ class LEnvironment: public ZoneObject { |
} |
Handle<JSFunction> closure() const { return closure_; } |
+ FrameType frame_type() const { return frame_type_; } |
int arguments_stack_height() const { return arguments_stack_height_; } |
int deoptimization_index() const { return deoptimization_index_; } |
int translation_index() const { return translation_index_; } |
@@ -503,11 +504,9 @@ class LEnvironment: public ZoneObject { |
void PrintTo(StringStream* stream); |
- bool is_arguments_adaptor() const { return is_arguments_adaptor_; } |
- |
private: |
Handle<JSFunction> closure_; |
- bool is_arguments_adaptor_; |
+ FrameType frame_type_; |
int arguments_stack_height_; |
int deoptimization_index_; |
int translation_index_; |