History

Basic implementation of Sys module functions - Sys.create, Sys.open, Sys.read, Sys.write - Sys.tokenize

Code analysis violations Bug in scheduler - race during with worker thread shutdown.

arr committed 10 years ago

Commit 992a33f1 parent 6d77c2d18 files · +695 −243Browse files

Showing the changes to src/vm/vm_exception_handler.cpp (1 of 18 files). Show all

Unified · Split

src/vm/vm_exception_handler.cpp+2−2
@@ -43,12 +43,12 @@ std::tuple<const handler_t *, vm_frame_t *, vm_pc_t> disvm::runtime::find_except · 42 unmodified lines
43 if (exception_id.compare_to(exception_name) == 0)43 if (exception_id.compare_to(exception_name) == 0)
44 {44 {
45 debug::log_msg(debug::component_trace_t::exception, debug::log_level_t::debug, "end: handler: match: %d\n", unwind_depth);45 debug::log_msg(debug::component_trace_t::exception, debug::log_level_t::debug, "end: handler: match: %d\n", unwind_depth);
46 return std::tuple<const handler_t *, vm_frame_t *, std::size_t>{ &handler, current_frame, exception.pc };46 return std::make_tuple(&handler, current_frame, exception.pc);
47 }47 }
48 else if (exception_name == nullptr && exception.pc != runtime_constants::invalid_program_counter)48 else if (exception_name == nullptr && exception.pc != runtime_constants::invalid_program_counter)
49 {49 {
50 debug::log_msg(debug::component_trace_t::exception, debug::log_level_t::debug, "end: handler: fallback: %d\n", unwind_depth);50 debug::log_msg(debug::component_trace_t::exception, debug::log_level_t::debug, "end: handler: fallback: %d\n", unwind_depth);
51 return std::tuple<const handler_t *, vm_frame_t *, std::size_t>{ &handler, current_frame, exception.pc };51 return std::make_tuple(&handler, current_frame, exception.pc);
52 }52 }
53 }53 }
54 }54 }