Skip to content

Commit

Permalink
Limited DBT block size
Browse files Browse the repository at this point in the history
  • Loading branch information
eyck committed Nov 23, 2017
1 parent 2e7811c commit 3b05de8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion incl/iss/vm_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ template <typename ARCH> class vm_base : public debugger_if, public vm_if {

using dbg_if = iss::debugger_if;

constexpr static unsigned blk_size = 128;//std::numeric_limits<unsigned>::max();

arch_if *get_arch() override { return &core; };

constexpr unsigned int get_reg_width(int idx) const {
Expand Down Expand Up @@ -169,7 +171,6 @@ template <typename ARCH> class vm_base : public debugger_if, public vm_if {

protected:
std::tuple<continuation_e, llvm::Function *> disass(virt_addr_t &pc) {
unsigned blk_size = std::numeric_limits<unsigned>::max();
unsigned cur_blk = 0;
virt_addr_t cur_pc = pc;
processing_pc_entry addr(*this, pc, this->core.v2p(pc));
Expand Down

0 comments on commit 3b05de8

Please sign in to comment.