Chromium Code Reviews| 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; |