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

Unified Diff: src/arm/lithium-arm.h

Issue 6308012: ARM: Implement DoIsObject and DoIsObjectAndBranch in the lithium code generator.. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge/test
Patch Set: Adress comments and add comments. Created 9 years, 11 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 | « no previous file | src/arm/lithium-arm.cc » ('j') | src/arm/lithium-codegen-arm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/lithium-arm.h
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
index 1cf9898f6c4090696810a15b82ba81c2bd35906e..9ffdc036c9f82175d2626689efd96e90860ec599 100644
--- a/src/arm/lithium-arm.h
+++ b/src/arm/lithium-arm.h
@@ -708,15 +708,9 @@ class LIsNullAndBranch: public LIsNull {
class LIsObject: public LUnaryOperation {
public:
- LIsObject(LOperand* value, LOperand* temp)
- : LUnaryOperation(value), temp_(temp) {}
+ explicit LIsObject(LOperand* value) : LUnaryOperation(value) { }
DECLARE_CONCRETE_INSTRUCTION(IsObject, "is-object")
-
- LOperand* temp() const { return temp_; }
-
- private:
- LOperand* temp_;
};
@@ -724,11 +718,10 @@ class LIsObjectAndBranch: public LIsObject {
public:
LIsObjectAndBranch(LOperand* value,
LOperand* temp,
- LOperand* temp2,
int true_block_id,
int false_block_id)
- : LIsObject(value, temp),
- temp2_(temp2),
+ : LIsObject(value),
+ temp_(temp),
true_block_id_(true_block_id),
false_block_id_(false_block_id) { }
@@ -739,10 +732,10 @@ class LIsObjectAndBranch: public LIsObject {
int true_block_id() const { return true_block_id_; }
int false_block_id() const { return false_block_id_; }
- LOperand* temp2() const { return temp2_; }
+ LOperand* temp() const { return temp_; }
private:
- LOperand* temp2_;
+ LOperand* temp_;
int true_block_id_;
int false_block_id_;
};
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/arm/lithium-codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698