Index: runtime/lib/math.cc |
=================================================================== |
--- runtime/lib/math.cc (revision 15052) |
+++ runtime/lib/math.cc (working copy) |
@@ -10,7 +10,6 @@ |
#include "vm/exceptions.h" |
#include "vm/native_entry.h" |
#include "vm/object.h" |
-#include "vm/random.h" |
#include "vm/scanner.h" |
#include "vm/symbols.h" |
@@ -67,8 +66,4 @@ |
return Double::New(log(operand.value())); |
} |
-DEFINE_NATIVE_ENTRY(Math_random, 0) { |
- return Double::New(static_cast<double>(Random::RandomInt32()-1)/0x80000000); |
-} |
- |
} // namespace dart |