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

Unified Diff: src/IceTargetLoweringMIPS32.cpp

Issue 1614273002: Subzero: Make -reg-use and -reg-exclude specific to register class. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Cleanup Created 4 years, 11 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/IceTargetLoweringMIPS32.cpp
diff --git a/src/IceTargetLoweringMIPS32.cpp b/src/IceTargetLoweringMIPS32.cpp
index 248c073ff52842fb5682f7c7b8ad62a9dff0dd65..bede13ad2ca75b70dbcc4f20580ac065cc5493d0 100644
--- a/src/IceTargetLoweringMIPS32.cpp
+++ b/src/IceTargetLoweringMIPS32.cpp
@@ -106,9 +106,7 @@ void TargetMIPS32::staticInit(GlobalContext *Ctx) {
TypeToRegisterSet[IceType_v4f32] = VectorRegisters;
filterTypeToRegisterSet(Ctx, RegMIPS32::Reg_NUM, TypeToRegisterSet,
- RCMIPS32_NUM, [](int32_t RegNum) -> IceString {
- return RegMIPS32::getRegName(RegNum);
- });
+ RCMIPS32_NUM, RegMIPS32::getRegName, regClassString);
Karl 2016/01/22 17:10:54 Like in the ARM case, I would add an assert here.
Jim Stichnoth 2016/01/22 19:02:17 Done.
}
void TargetMIPS32::translateO2() {

Powered by Google App Engine
This is Rietveld 408576698