Index: src/arm/codegen-arm.h |
=================================================================== |
--- src/arm/codegen-arm.h (revision 3045) |
+++ src/arm/codegen-arm.h (working copy) |
@@ -365,6 +365,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. |