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

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

Issue 23710070: Allow control intructions to have side effects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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
Index: src/ia32/lithium-ia32.h
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
index 99beda4eee8cba1c5106e0e4694a6c766bd0482f..b1afde06303c6a559c817e81afc4bb75e5edbc8d 100644
--- a/src/ia32/lithium-ia32.h
+++ b/src/ia32/lithium-ia32.h
@@ -78,7 +78,7 @@ class LCodeGen;
V(CmpObjectEqAndBranch) \
V(CmpHoleAndBranch) \
V(CmpMapAndBranch) \
- V(CmpT) \
+ V(CompareGenericAndBranch) \
V(ConstantD) \
V(ConstantE) \
V(ConstantI) \
@@ -1073,16 +1073,17 @@ class LClassOfTestAndBranch V8_FINAL : public LControlInstruction<1, 2> {
};
-class LCmpT V8_FINAL : public LTemplateInstruction<1, 3, 0> {
+class LCompareGenericAndBranch V8_FINAL : public LControlInstruction<3, 0> {
public:
- LCmpT(LOperand* context, LOperand* left, LOperand* right) {
+ LCompareGenericAndBranch(LOperand* context, LOperand* left, LOperand* right) {
inputs_[0] = context;
inputs_[1] = left;
inputs_[2] = right;
}
- DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t")
- DECLARE_HYDROGEN_ACCESSOR(CompareGeneric)
+ DECLARE_CONCRETE_INSTRUCTION(CompareGenericAndBranch,
+ "compare-generic-and-branch")
+ DECLARE_HYDROGEN_ACCESSOR(CompareGenericAndBranch)
Token::Value op() const { return hydrogen()->token(); }
};

Powered by Google App Engine
This is Rietveld 408576698