Index: src/ia32/codegen-ia32.h |
=================================================================== |
--- src/ia32/codegen-ia32.h (revision 3045) |
+++ src/ia32/codegen-ia32.h (working copy) |
@@ -548,6 +548,14 @@ |
inline void GenerateMathSin(ZoneList<Expression*>* args); |
inline void GenerateMathCos(ZoneList<Expression*>* args); |
+ // Simple condition analysis. |
+ enum ConditionAnalysis { |
+ ALWAYS_TRUE, |
+ ALWAYS_FALSE, |
+ DONT_KNOW |
+ }; |
+ ConditionAnalysis AnalyzeCondition(Expression* cond); |
+ |
// Methods used to indicate which source code is generated for. Source |
// positions are collected by the assembler and emitted with the relocation |
// information. |