nativetrace.hh (10664:61a0b02aa800) | nativetrace.hh (11321:02e930db812d) |
---|---|
1/* 2 * Copyright (c) 2006-2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 76 unchanged lines hidden (view full) --- 85 return new NativeTraceRecord(this, when, tc, 86 staticInst, pc, macroStaticInst); 87 } 88 89 template<class T> 90 bool 91 checkReg(const char * regName, T &val, T &realVal) 92 { | 1/* 2 * Copyright (c) 2006-2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 76 unchanged lines hidden (view full) --- 85 return new NativeTraceRecord(this, when, tc, 86 staticInst, pc, macroStaticInst); 87 } 88 89 template<class T> 90 bool 91 checkReg(const char * regName, T &val, T &realVal) 92 { |
93 if(val != realVal) | 93 if (val != realVal) |
94 { 95 DPRINTFN("Register %s should be %#x but is %#x.\n", 96 regName, realVal, val); 97 return false; 98 } 99 return true; 100 } 101 --- 20 unchanged lines hidden --- | 94 { 95 DPRINTFN("Register %s should be %#x but is %#x.\n", 96 regName, realVal, val); 97 return false; 98 } 99 return true; 100 } 101 --- 20 unchanged lines hidden --- |