Index: src/x64/codegen-x64.h |
=================================================================== |
--- src/x64/codegen-x64.h (revision 3045) |
+++ src/x64/codegen-x64.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. |