/*----------------------------------------------------*/
/* signature:
-UWord VG_(disp_run_translations)( UWord* two_words,
- void* guest_state,
- Addr host_addr );
+void VG_(disp_run_translations)( UWord* two_words,
+ void* guest_state,
+ Addr host_addr );
*/
.text
.globl VG_(disp_run_translations)
/*----------------------------------------------------*/
/* signature:
-UWord VG_(disp_run_translations)( UWord* two_words,
- void* guest_state,
- Addr host_addr );
+void VG_(disp_run_translations)( UWord* two_words,
+ void* guest_state,
+ Addr host_addr );
*/
.text
.global VG_(disp_run_translations)
/*----------------------------------------------------*/
/* signature:
-UWord VG_(disp_run_translations)( UWord* two_words,
- void* guest_state,
- Addr host_addr );
+void VG_(disp_run_translations)( UWord* two_words,
+ void* guest_state,
+ Addr host_addr );
*/
.text
.globl VG_(disp_run_translations)
{
volatile HWord jumped = 0;
volatile ThreadState* tst = NULL; /* stop gcc complaining */
- volatile UInt trc = 0;
volatile Int done_this_time = 0;
volatile HWord host_code_addr = 0;
SCHEDSETJMP(
tid,
jumped,
- trc = (UInt)VG_(disp_run_translations)(
- two_words,
- (void*)&tst->arch.vex,
- host_code_addr
- )
+ VG_(disp_run_translations)(
+ two_words,
+ (void*)&tst->arch.vex,
+ host_code_addr
+ )
);
vg_assert(VG_(in_generated_code) == True);
if (jumped != (HWord)0) {
/* We get here if the client took a fault that caused our signal
handler to longjmp. */
- vg_assert(trc == 0);
+ vg_assert(two_words[0] == 0 && two_words[1] == 0); // correct?
two_words[0] = VG_TRC_FAULT_SIGNAL;
two_words[1] = 0;
block_signals();
a TRC value. Second is generally unused, except in the case
where we have to return a chain-me request.
*/
-HWord VG_(disp_run_translations)( HWord* two_words,
- void* guest_state,
- Addr host_addr );
+void VG_(disp_run_translations)( HWord* two_words,
+ void* guest_state,
+ Addr host_addr );
/* We need to know addresses of the continuation-point (cp_) labels so
we can tell VEX what they are. They will get baked into the code