mem.hh (7747:2b65eb281f5f) | mem.hh (7845:714be811f978) |
---|---|
1/* 2 * Copyright (c) 2010 ARM Limited 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 --- 136 unchanged lines hidden (view full) --- 145 uint32_t _regMode, AddrMode _mode, bool _wb) 146 : MightBeMicro(mnem, _machInst, __opClass), 147 regMode(_regMode), mode(_mode), wb(_wb), uops(NULL) 148 {} 149 150 virtual 151 ~SrsOp() 152 { | 1/* 2 * Copyright (c) 2010 ARM Limited 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 --- 136 unchanged lines hidden (view full) --- 145 uint32_t _regMode, AddrMode _mode, bool _wb) 146 : MightBeMicro(mnem, _machInst, __opClass), 147 regMode(_regMode), mode(_mode), wb(_wb), uops(NULL) 148 {} 149 150 virtual 151 ~SrsOp() 152 { |
153 delete uops; | 153 delete [] uops; |
154 } 155 156 StaticInstPtr 157 fetchMicroop(MicroPC microPC) const 158 { 159 assert(uops != NULL && microPC < numMicroops); 160 return uops[microPC]; 161 } --- 334 unchanged lines hidden --- | 154 } 155 156 StaticInstPtr 157 fetchMicroop(MicroPC microPC) const 158 { 159 assert(uops != NULL && microPC < numMicroops); 160 return uops[microPC]; 161 } --- 334 unchanged lines hidden --- |