[PATCH] D11895: [libunwind] Add OpenRISC 1000 support

Anton Korobeynikov via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 30 22:16:52 PDT 2015


asl added inline comments.

================
Comment at: src/Registers.hpp:1785
@@ +1784,3 @@
+inline void Registers_or1k::setRegister(int regNum, uint32_t value) {
+  if(regNum >= UNW_OR1K_R0 && regNum <= UNW_OR1K_R31) {
+    _registers.__r[regNum - UNW_OR1K_R0] = value;
----------------
Minor nit - space after "if". Same in getRegister(). Ok from me with that change.


http://reviews.llvm.org/D11895





More information about the llvm-commits mailing list