Commit abb83a6b authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Add comment about avoiding VS runtime support to OS::DebugBreak.

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/23090004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16294 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c7696479
......@@ -1010,6 +1010,9 @@ void OS::Abort() {
void OS::DebugBreak() {
#ifdef _MSC_VER
// To avoid Visual Studio runtime support the following code can be used
// instead
// __asm { int 3 }
__debugbreak();
#else
::DebugBreak();
......
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