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

Unified Diff: src/compiler/instruction.cc

Issue 2433093002: MIPS: Fix bad RegisterConfiguration usage in InstructionSequence unit tests. (Closed)
Patch Set: Created 4 years, 2 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/compiler/instruction.cc
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
index 0df7ca0316ec3881783d07aaea0f48c7d2948688..528fd74670d7789c8d9fb91fdf0a04c9abf3a65a 100644
--- a/src/compiler/instruction.cc
+++ b/src/compiler/instruction.cc
@@ -12,7 +12,8 @@ namespace v8 {
namespace internal {
namespace compiler {
-const auto GetRegConfig = RegisterConfiguration::Turbofan;
+const RegisterConfiguration* (*GetRegConfig)() =
+ RegisterConfiguration::Turbofan;
ivica.bogosavljevic 2016/10/19 14:30:40 Needed to fix the type in order to use it from the
FlagsCondition CommuteFlagsCondition(FlagsCondition condition) {
switch (condition) {

Powered by Google App Engine
This is Rietveld 408576698