@@ -250,7 +250,6 @@ void ARMMachine::IsReturnAddress(TADDR retAddr, TADDR* whereCalled) const
250
250
}
251
251
}
252
252
253
- #ifndef FEATURE_PAL
254
253
255
254
// Return 0 for non-managed call. Otherwise return MD address.
256
255
static TADDR MDForCall (TADDR callee)
@@ -272,8 +271,14 @@ static TADDR MDForCall (TADDR callee)
272
271
// Determine if a value is MT/MD/Obj
273
272
static void HandleValue (TADDR value)
274
273
{
274
+ #ifndef FEATURE_PAL
275
275
// remove the thumb bit (if set)
276
276
value = value & ~1 ;
277
+ #else
278
+ // set the thumb bit (if not set)
279
+ value = value | 1 ;
280
+ #endif // !FEATURE_PAL
281
+
277
282
// A MethodTable?
278
283
if (IsMethodTable (value))
279
284
{
@@ -336,8 +341,6 @@ static void HandleValue(TADDR value)
336
341
}
337
342
}
338
343
339
- #endif // !FEATURE_PAL
340
-
341
344
/* *********************************************************************\
342
345
* Routine Description: *
343
346
* *
@@ -355,7 +358,6 @@ void ARMMachine::Unassembly (
355
358
BOOL bSuppressLines,
356
359
BOOL bDisplayOffsets) const
357
360
{
358
- #ifndef FEATURE_PAL
359
361
ULONG_PTR PC = PCBegin;
360
362
char line[1024 ];
361
363
char *ptr;
@@ -383,6 +385,7 @@ void ARMMachine::Unassembly (
383
385
}
384
386
}
385
387
388
+ #ifndef FEATURE_PAL
386
389
//
387
390
// Print out any GC information corresponding to the current instruction offset.
388
391
//
@@ -397,7 +400,7 @@ void ARMMachine::Unassembly (
397
400
SwitchToFiber (pGCEncodingInfo->pvGCTableFiber );
398
401
}
399
402
}
400
-
403
+ # endif // !FEATURE_PAL
401
404
//
402
405
// Print out any EH info corresponding to the current offset
403
406
//
@@ -529,7 +532,6 @@ void ARMMachine::Unassembly (
529
532
530
533
ExtOut (" \n " );
531
534
}
532
- #endif // !FEATURE_PAL
533
535
}
534
536
535
537
#if 0 // @ARMTODO: Figure out how to extract this information under CoreARM
0 commit comments