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

Unified Diff: src/IceTargetLoweringMIPS32.h

Issue 2289043002: [SubZero] Implement lowerSwitch for MIPS (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addressed review comments Created 4 years, 4 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.h
diff --git a/src/IceTargetLoweringMIPS32.h b/src/IceTargetLoweringMIPS32.h
index 70fed4e8cbc11e74742b3ba7c14820f9d0615c3f..5d5a98ec9966cb315e4c7503c5e15d988ecbe08b 100644
--- a/src/IceTargetLoweringMIPS32.h
+++ b/src/IceTargetLoweringMIPS32.h
@@ -178,6 +178,13 @@ public:
Context.insert<InstMIPS32Br>(TargetTrue, TargetFalse, Src0, Condition);
}
+ void _br(CfgNode *TargetTrue, CfgNode *TargetFalse, Operand *Src0,
+ Operand *Src1, const InstMIPS32Label *Label,
+ CondMIPS32::Cond Condition) {
+ Context.insert<InstMIPS32Br>(TargetTrue, TargetFalse, Src0, Src1, Label,
+ Condition);
+ }
+
void _ret(Variable *RA, Variable *Src0 = nullptr) {
Context.insert<InstMIPS32Ret>(RA, Src0);
}

Powered by Google App Engine
This is Rietveld 408576698