X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=cpu%2Fstatic_inst.cc;h=54bd9914eff169a83fc444ec430b99f674579c03;hb=5aa71721193c49016ffa69934b44ce38672e4eed;hp=7069d89ec6a78fd35a3f3f170f0fe57148b74768;hpb=554dc7831f414c14ee194169356d15bd9e5945e1;p=gem5.git diff --git a/cpu/static_inst.cc b/cpu/static_inst.cc index 7069d89ec..54bd9914e 100644 --- a/cpu/static_inst.cc +++ b/cpu/static_inst.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003 The Regents of The University of Michigan + * Copyright (c) 2003-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -28,7 +28,7 @@ #include #include "cpu/static_inst.hh" -#include "sim/universe.hh" +#include "sim/root.hh" template StaticInstPtr StaticInst::nullStaticInstPtr; @@ -68,7 +68,7 @@ StaticInst::nullStaticInstPtr; template bool -StaticInst::hasBranchTarget(Addr pc, ExecContext *xc, Addr &tgt) +StaticInst::hasBranchTarget(Addr pc, ExecContext *xc, Addr &tgt) const { if (isDirectCtrl()) { tgt = branchTarget(pc);