Index: runtime/vm/code_generator.cc |
=================================================================== |
--- runtime/vm/code_generator.cc (revision 39937) |
+++ runtime/vm/code_generator.cc (working copy) |
@@ -6,7 +6,6 @@ |
#include "vm/assembler.h" |
#include "vm/ast.h" |
-#include "vm/bigint_operations.h" |
#include "vm/code_patcher.h" |
#include "vm/compiler.h" |
#include "vm/dart_api_impl.h" |
@@ -1532,6 +1531,7 @@ |
} |
+// TODO(regis): Is this still necessary? Can we stay in Dart instead? |
DEFINE_LEAF_RUNTIME_ENTRY(intptr_t, |
BigintCompare, |
2, |
@@ -1542,7 +1542,7 @@ |
HANDLESCOPE(isolate); |
const Bigint& big_left = Bigint::Handle(left); |
const Bigint& big_right = Bigint::Handle(right); |
- return BigintOperations::Compare(big_left, big_right); |
+ return big_left.CompareWith(big_right); |
} |
END_LEAF_RUNTIME_ENTRY |