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

Unified Diff: src/trusted/validator_arm/baseline_classes.cc

Issue 10381030: Clean up testing of instructions. Allow testing to quit if test pattern tests (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 7 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: src/trusted/validator_arm/baseline_classes.cc
===================================================================
--- src/trusted/validator_arm/baseline_classes.cc (revision 8506)
+++ src/trusted/validator_arm/baseline_classes.cc (working copy)
@@ -131,6 +131,13 @@
return d.reg(i) + flags.reg_if_updated(i);
}
+// Binary3RegisterImmedShiftedOpRnNotSp
+SafetyLevel Binary3RegisterImmedShiftedOpRnNotSp::
+safety(const Instruction i) const {
+ if (n.reg(i) == kRegisterStack) return DEPRECATED;
+ return Binary3RegisterImmedShiftedOp::safety(i);
+}
+
// Binary4RegisterShiftedOp
SafetyLevel Binary4RegisterShiftedOp::safety(Instruction i) const {
// Unsafe if any register contains PC (ARM restriction).

Powered by Google App Engine
This is Rietveld 408576698