Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index 918a2a679b6b6e3b27b04cb4fb4bb43b288b3e02..5063879ae4c4a19f7046471e8a64bceb981d29d0 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -67,6 +67,21 @@ class AssemblerBase: public Malloced { |
int jit_cookie_; |
}; |
+// ----------------------------------------------------------------------------- |
+// Common double constants. |
+ |
+class DoubleConstant: public AllStatic { |
+ public: |
+ static const double min_int; |
+ static const double one_half; |
+ static const double minus_zero; |
+ static const double zero; |
+ static const double uint8_max_value; |
+ static const double negative_infinity; |
+ static const double canonical_non_hole_nan; |
+ static const double the_hole_nan; |
+}; |
+ |
// ----------------------------------------------------------------------------- |
// Labels represent pc locations; they are typically jump or call targets. |