Commit b342e611 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Attempt to fix MSVC failure in test-debug/BreakPointJSBuiltin

TBR=bmeurer@chromium.org

Bug: v8:178
Change-Id: Idfa86749f3ee49c9f3b2a7fc7c0d7d3285e45c20
Reviewed-on: https://chromium-review.googlesource.com/956066Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51824}
parent bf021c3c
......@@ -1179,7 +1179,7 @@ void Debug::InstallDebugBreakTrampoline() {
if (!shared->HasDebugInfo()) continue;
if (!shared->GetDebugInfo()->CanBreakAtEntry()) continue;
if (!fun->is_compiled()) {
needs_compile.push_back(handle(fun));
needs_compile.emplace_back(fun, isolate_);
} else {
fun->set_code(*trampoline);
}
......@@ -1189,7 +1189,7 @@ void Debug::InstallDebugBreakTrampoline() {
}
// By overwriting the function code with DebugBreakTrampoline, which tailcalls
// to shared code, we bypass CompileLazy. Perform CompileLazy here instead.
for (Handle<JSFunction> fun : needs_compile) {
for (const auto& fun : needs_compile) {
Compiler::Compile(fun, Compiler::CLEAR_EXCEPTION);
fun->set_code(*trampoline);
}
......
......@@ -234,8 +234,6 @@
##############################################################################
['system == windows', {
# BUG(178). Fails on windows.
'test-debug/BreakPointJSBuiltin': [SKIP],
# BUG(3331). Fails on windows.
'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
......
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