Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 5b152eff84953abade3de1b2e31b439c86800c56..4bc4791aeae164db139bf2b7faf58283cb52057e 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -1122,10 +1122,12 @@ class LBranch: public LUnaryOperation { |
class LCmpMapAndBranch: public LUnaryOperation { |
public: |
LCmpMapAndBranch(LOperand* value, |
+ LOperand* temp, |
Handle<Map> map, |
int true_block_id, |
int false_block_id) |
: LUnaryOperation(value), |
+ temp_(temp), |
map_(map), |
true_block_id_(true_block_id), |
false_block_id_(false_block_id) { } |
@@ -1134,11 +1136,13 @@ class LCmpMapAndBranch: public LUnaryOperation { |
virtual bool IsControl() const { return true; } |
+ LOperand* temp() const { return temp_; } |
Handle<Map> map() const { return map_; } |
int true_block_id() const { return true_block_id_; } |
int false_block_id() const { return false_block_id_; } |
private: |
+ LOperand* temp_; |
Handle<Map> map_; |
Kevin Millikin (Chromium)
2011/01/04 09:17:19
FYI you shouldn't need any of the fields map_, tru
Karl Klose
2011/01/04 12:32:18
Done.
|
int true_block_id_; |
int false_block_id_; |
@@ -1678,21 +1682,25 @@ class LCheckMap: public LUnaryOperation { |
class LCheckPrototypeMaps: public LInstruction { |
public: |
- LCheckPrototypeMaps(LOperand* temp, |
+ LCheckPrototypeMaps(LOperand* temp1, |
+ LOperand* temp2, |
Handle<JSObject> holder, |
Handle<Map> receiver_map) |
- : temp_(temp), |
+ : temp1_(temp1), |
+ temp2_(temp2), |
holder_(holder), |
receiver_map_(receiver_map) { } |
DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
- LOperand* temp() const { return temp_; } |
+ LOperand* temp1() const { return temp1_; } |
+ LOperand* temp2() const { return temp2_; } |
Handle<JSObject> holder() const { return holder_; } |
Handle<Map> receiver_map() const { return receiver_map_; } |
private: |
- LOperand* temp_; |
+ LOperand* temp1_; |
+ LOperand* temp2_; |
Handle<JSObject> holder_; |
Handle<Map> receiver_map_; |
}; |