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

Unified Diff: src/IceTargetLoweringMIPS32.h

Issue 1257283004: Iasm and obj lowering for advanced switch lowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 5 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 e63d7388de3209b87917050ca78976c78cff1c8f..17ed592c16647ab134b9efb57e2398f54eeab781 100644
--- a/src/IceTargetLoweringMIPS32.h
+++ b/src/IceTargetLoweringMIPS32.h
@@ -56,6 +56,8 @@ public:
// TODO(ascull): what is the best size of MIPS?
SizeT getMinJumpTableSize() const override { return 3; }
+ void emitJumpTable(const Cfg *Func,
+ const InstJumpTable *JumpTable) const override;
void emitVariable(const Variable *Var) const override;
@@ -147,6 +149,7 @@ public:
void lowerGlobals(const VariableDeclarationList &Vars,
const IceString &SectionSuffix) override;
void lowerConstants() override;
+ void lowerJumpTables() override;
protected:
explicit TargetDataMIPS32(GlobalContext *Ctx);

Powered by Google App Engine
This is Rietveld 408576698