Changeset 37005 in vbox
- Timestamp:
- May 9, 2011 7:44:51 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp
r37004 r37005 171 171 #define IEM_MC_RAISE_GP0_IF_CPL_NOT_ZERO() do {} while (0) 172 172 173 #define IEM_MC_LOCAL(a_Type, a_Name) a_Type a_Name 174 #define IEM_MC_LOCAL_CONST(a_Type, a_Name, a_Value) a_Type const a_Name = (a_Value) 173 #define IEM_MC_LOCAL(a_Type, a_Name) a_Type a_Name; NOREF(a_Name) 174 #define IEM_MC_LOCAL_CONST(a_Type, a_Name, a_Value) a_Type const a_Name = (a_Value); NOREF(a_Name) 175 175 #define IEM_MC_REF_LOCAL(a_pRefArg, a_Local) (a_pRefArg) = &(a_Local) 176 #define IEM_MC_ARG(a_Type, a_Name, a_iArg) a_Type a_Name 177 #define IEM_MC_ARG_CONST(a_Type, a_Name, a_Value, a_iArg) a_Type const a_Name = (a_Value) 176 #define IEM_MC_ARG(a_Type, a_Name, a_iArg) a_Type a_Name; NOREF(a_Name) 177 #define IEM_MC_ARG_CONST(a_Type, a_Name, a_Value, a_iArg) \ 178 a_Type const a_Name = (a_Value); \ 179 NOREF(a_Name) 178 180 #define IEM_MC_ARG_LOCAL_EFLAGS(a_pName, a_Name, a_iArg) \ 179 181 uint32_t a_Name; \ 180 uint32_t *a_pName = &a_Name 182 uint32_t *a_pName = &a_Name; \ 183 NOREF(a_pName) 181 184 #define IEM_MC_COMMIT_EFLAGS(a_EFlags) CHK_TYPE(uint32_t, a_EFlags) 182 185 #define IEM_MC_ASSIGN(a_VarOrArg, a_CVariableOrConst) (a_VarOrArg) = (0) … … 289 292 #define IEM_MC_CALL_VOID_AIMPL_3(a_pfn, a0, a1, a2) do {} while (0) 290 293 #define IEM_MC_CALL_VOID_AIMPL_4(a_pfn, a0, a1, a2, a3) do {} while (0) 291 #define IEM_MC_CALL_AIMPL_4(a_rc, a_pfn, a0, a1, a2, a3) do { } while (0)294 #define IEM_MC_CALL_AIMPL_4(a_rc, a_pfn, a0, a1, a2, a3) do { (a_rc) = VINF_SUCCESS; } while (0) 292 295 #define IEM_MC_CALL_CIMPL_0(a_pfnCImpl) return VINF_SUCCESS 293 296 #define IEM_MC_CALL_CIMPL_1(a_pfnCImpl, a0) return VINF_SUCCESS
Note:
See TracChangeset
for help on using the changeset viewer.

