Commit 81b6a24d authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Fixed formatting...

parent 70d4dd5a
...@@ -93,8 +93,11 @@ pub extern "C" fn throw_exception_internal(exception_obj: Address, frame_cursor: ...@@ -93,8 +93,11 @@ pub extern "C" fn throw_exception_internal(exception_obj: Address, frame_cursor:
// Check for a catch block at this callsite // Check for a catch block at this callsite
if callsite_info.exceptional_destination.is_some() { if callsite_info.exceptional_destination.is_some() {
catch_address = callsite_info.exceptional_destination.unwrap(); catch_address = callsite_info.exceptional_destination.unwrap();
debug!("Found catch block: 0x{:x} - {}", catch_address, debug!(
get_symbol_name(catch_address)); "Found catch block: 0x{:x} - {}",
catch_address,
get_symbol_name(catch_address)
);
sp = get_previous_stack_pointer( sp = get_previous_stack_pointer(
current_frame_pointer, current_frame_pointer,
callsite_info.stack_args_size callsite_info.stack_args_size
...@@ -160,7 +163,7 @@ fn print_backtrace(base: Address, compiled_callsite_table: &HashMap<Address, Com ...@@ -160,7 +163,7 @@ fn print_backtrace(base: Address, compiled_callsite_table: &HashMap<Address, Com
if log::max_log_level() < log::LogLevelFilter::Debug { if log::max_log_level() < log::LogLevelFilter::Debug {
return; return;
} }
debug!("BACKTRACE: "); debug!("BACKTRACE: ");
let cur_thread = thread::MuThread::current(); let cur_thread = thread::MuThread::current();
let ref vm = cur_thread.vm; let ref vm = cur_thread.vm;
...@@ -206,7 +209,7 @@ fn print_backtrace(base: Address, compiled_callsite_table: &HashMap<Address, Com ...@@ -206,7 +209,7 @@ fn print_backtrace(base: Address, compiled_callsite_table: &HashMap<Address, Com
func_name, func_name,
callsite callsite
); );
debug!("..."); debug!("\tother native frames...");
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment