Index: runtime/bin/gen_snapshot.cc |
diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc |
index 6e8752329ef0846f2181076d64cf407f0ce673e2..972c9ede74918a1fa987b92d5dbfa0b5b9696e7d 100644 |
--- a/runtime/bin/gen_snapshot.cc |
+++ b/runtime/bin/gen_snapshot.cc |
@@ -1029,6 +1029,10 @@ int main(int argc, char** argv) { |
if (IsSnapshottingForPrecompilation()) { |
vm_options.AddArgument("--precompilation"); |
+#if TARGET_ARCH_ARM |
+ // This is for the iPod Touch 5th Generation (and maybe other older devices) |
+ vm_options.AddArgument("--no-use_integer_division"); |
+#endif |
} |
Dart_SetVMFlags(vm_options.count(), vm_options.arguments()); |