Deleted Added
sdiff udiff text old ( 11321:02e930db812d ) new ( 11886:43b882cada33 )
full compact
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 291 unchanged lines hidden (view full) ---

300 {
301 Base::set(val);
302 _size = 0;
303 }
304
305 PCState() {}
306 PCState(Addr val) { set(val); }
307
308 uint8_t size() const { return _size; }
309 void size(uint8_t newSize) { _size = newSize; }
310
311 bool
312 branching() const
313 {
314 return this->npc() != this->pc() + size();
315 }

--- 62 unchanged lines hidden ---