fixes compile bug for not being able to find std::logic_error
authorScott Beamer <sbeamer@eecs.berkeley.edu>
Mon, 23 Sep 2013 22:49:23 +0000 (15:49 -0700)
committerScott Beamer <sbeamer@eecs.berkeley.edu>
Mon, 23 Sep 2013 22:49:23 +0000 (15:49 -0700)
riscv/processor.cc

index 2bd215566cebfd5bd5da31a872b860ed59415842..839c846f3dd61b6ab431fbaeba6c3486a62f5f78 100644 (file)
@@ -12,6 +12,7 @@
 #include <iostream>
 #include <assert.h>
 #include <limits.h>
+#include <stdexcept>
 
 processor_t::processor_t(sim_t* _sim, mmu_t* _mmu, uint32_t _id)
   : sim(_sim), mmu(_mmu), ext(NULL), id(_id), opcode_bits(0)