Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: runtime/vm/simulator_arm.cc

Issue 120723003: Refactors CPU feature detection. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/simulator_arm.cc
===================================================================
--- runtime/vm/simulator_arm.cc (revision 32467)
+++ runtime/vm/simulator_arm.cc (working copy)
@@ -16,6 +16,7 @@
#include "vm/assembler.h"
#include "vm/constants_arm.h"
+#include "vm/cpu.h"
#include "vm/disassembler.h"
#include "vm/native_arguments.h"
#include "vm/stack_frame.h"
@@ -2303,7 +2304,7 @@
void Simulator::DoDivision(Instr* instr) {
- ASSERT(CPUFeatures::integer_division_supported());
+ ASSERT(TargetCPUFeatures::integer_division_supported());
Register rd = instr->DivRdField();
Register rn = instr->DivRnField();
Register rm = instr->DivRmField();

Powered by Google App Engine
This is Rietveld 408576698