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

Unified Diff: src/IceTargetLoweringMIPS32.h

Issue 1176133004: implement the null function for the Mips32 subzero compiler (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Run clang format Created 5 years, 6 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 cb583b553d9df1257be46f7e3f528dad3ca59d3f..821d027bab48e1c23db14cdf0d623509ba26ce69 100644
--- a/src/IceTargetLoweringMIPS32.h
+++ b/src/IceTargetLoweringMIPS32.h
@@ -56,19 +56,23 @@ public:
const char *getConstantPrefix() const final { return ""; }
void emit(const ConstantUndef *C) const final {
- llvm::report_fatal_error("Not yet implemented");
+ llvm::report_fatal_error("Not yet implemented: constantundef");
}
void emit(const ConstantInteger32 *C) const final {
- llvm::report_fatal_error("Not yet implemented");
+ llvm::report_fatal_error("Not yet implemented: constantinteger32");
}
void emit(const ConstantInteger64 *C) const final {
- llvm::report_fatal_error("Not yet implemented");
+ llvm::report_fatal_error("Not yet implemented: constantinteger64");
}
void emit(const ConstantFloat *C) const final {
- llvm::report_fatal_error("Not yet implemented");
+ llvm::report_fatal_error("Not yet implemented: constantfloat");
}
void emit(const ConstantDouble *C) const final {
- llvm::report_fatal_error("Not yet implemented");
+ llvm::report_fatal_error("Not yet implemented: constantdouble");
+ }
+
+ void _ret(Variable *LR, Variable *Src0 = nullptr) {
jvoung (off chromium) 2015/06/12 19:39:13 LR -> RA
+ Context.insert(InstMIPS32Ret::create(Func, LR, Src0));
}
void lowerArguments() override;

Powered by Google App Engine
This is Rietveld 408576698