History

Remove 'using namespace' statements from all but the execution table file.

arr committed 9 years ago

Commit 2519a931 parent 68d4d6931 files · +725 −426Browse files

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

Unified · Split

src/vm/execution_table.cpp+13−13
@@ -1286,8 +1286,8 @@ namespace · 1285 unmodified lines
12861286 {
12871287 r.request_mutex.pending_request = false;
12881288
1289− if (debug::is_component_tracing_enabled<debug::component_trace_t::channel>())
1290− debug::log_msg(debug::component_trace_t::channel, debug::log_level_t::debug, "alt: request: non-blocking");
1289+ if (disvm::debug::is_component_tracing_enabled<debug::component_trace_t::channel>())
1290+ disvm::debug::log_msg(debug::component_trace_t::channel, debug::log_level_t::debug, "alt: request: non-blocking");
12911291
12921292 // Cancel request in all channels.
12931293 for (auto i = word_t{ 0 }; i < channel_count; ++i)
@@ -1482,8 +1482,8 @@ namespace · 188 unmodified lines
14821482 if (new_frame == nullptr)
14831483 r.current_thread_state = vm_thread_state_t::empty_stack;
14841484
1485− if (debug::is_component_tracing_enabled<debug::component_trace_t::stack>())
1486− debug::log_msg(debug::component_trace_t::stack, debug::log_level_t::debug, "exit: function");
1485+ if (disvm::debug::is_component_tracing_enabled<debug::component_trace_t::stack>())
1486+ disvm::debug::log_msg(debug::component_trace_t::stack, debug::log_level_t::debug, "exit: function");
14871487 }
14881488
14891489 EXEC_DECL(call)
@@ -1500,7 +1500,7 @@ namespace · 10 unmodified lines
15001500
15011501 r.next_pc = vt_ref<vm_pc_t>(r.dest);
15021502
1503− debug::log_msg(debug::component_trace_t::stack, debug::log_level_t::debug, "enter: function");
1503+ disvm::debug::log_msg(debug::component_trace_t::stack, debug::log_level_t::debug, "enter: function");
15041504 }
15051505
15061506 EXEC_DECL(mcall)
@@ -1529,9 +1529,9 @@ namespace · 22 unmodified lines
15291529 top_frame->prev_pc() = r.next_pc;
15301530 top_frame->prev_module_ref() = r.module_ref;
15311531
1532− if (debug::is_component_tracing_enabled<debug::component_trace_t::stack>())
1532+ if (disvm::debug::is_component_tracing_enabled<debug::component_trace_t::stack>())
15331533 {
1534− debug::log_msg(
1534+ disvm::debug::log_msg(
15351535 debug::component_trace_t::stack,
15361536 debug::log_level_t::debug,
15371537 "enter: function: inter-module: %d >>%s<< %d %s",
@@ -1660,8 +1660,8 @@ namespace · 122 unmodified lines
16601660 // String
16611661 exception_id = static_cast<vm_string_t *>(e);
16621662
1663− if (debug::is_component_tracing_enabled<debug::component_trace_t::exception>())
1664− debug::log_msg(debug::component_trace_t::exception, debug::log_level_t::debug, "raise: string: >>%s<<", exception_id->str());
1663+ if (disvm::debug::is_component_tracing_enabled<debug::component_trace_t::exception>())
1664+ disvm::debug::log_msg(debug::component_trace_t::exception, debug::log_level_t::debug, "raise: string: >>%s<<", exception_id->str());
16651665 }
16661666 else
16671667 {
@@ -1673,8 +1673,8 @@ namespace · 5 unmodified lines
16731673 exception_id = at_val<vm_string_t>(content);
16741674 assert(exception_id != nullptr);
16751675
1676− if (debug::is_component_tracing_enabled<debug::component_trace_t::exception>())
1677− debug::log_msg(debug::component_trace_t::exception, debug::log_level_t::debug, "raise: exception: >>%s<<", exception_id->str());
1676+ if (disvm::debug::is_component_tracing_enabled<debug::component_trace_t::exception>())
1677+ disvm::debug::log_msg(debug::component_trace_t::exception, debug::log_level_t::debug, "raise: exception: >>%s<<", exception_id->str());
16781678 }
16791679
16801680 // Check if the tool dispatcher has been supplied
@@ -1682,7 +1682,7 @@ namespace · 1 unmodified line
16821682 if (tool_dispatch != nullptr)
16831683 tool_dispatch->on_exception_raised(r, *exception_id, *e);
16841684
1685− const handler_t *handler;
1685+ const handler_entry_t *handler;
16861686 vm_frame_t *target_frame;
16871687 vm_pc_t handler_pc;
16881688
@@ -1783,7 +1783,7 @@ namespace · 94 unmodified lines
17831783 }
17841784 catch (const vm_module_exception &e)
17851785 {
1786− debug::log_msg(debug::component_trace_t::module, debug::log_level_t::debug, "exception: load: >>%s<<", e.what());
1786+ disvm::debug::log_msg(debug::component_trace_t::module, debug::log_level_t::debug, "exception: load: >>%s<<", e.what());
17871787 return;
17881788 }
17891789 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t