Bugfix: Incorrect type feedback vector structure on recompile.

Scoping rules are different on recompile vis-a-vis global loads.

BUG=chromium:514526
LOG=y
NOTREECHECKS=true

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

Cr-Commit-Position: refs/heads/master@{#29896}
This commit is contained in:
mvstanton 2015-07-28 07:02:49 -07:00 committed by Commit bot
parent d4d5663a2f
commit d2e815f15b
2 changed files with 5 additions and 0 deletions

View File

@ -692,6 +692,7 @@ bool Scope::HasTrivialContext() const {
if (scope->is_eval_scope()) return false;
if (scope->scope_inside_with_) return false;
if (scope->ContextLocalCount() > 0) return false;
if (scope->ContextGlobalCount() > 0) return false;
}
return true;
}

View File

@ -71,6 +71,10 @@
# This tests API threading, no point in running several variants.
'test-api/Threading*': [PASS, NO_VARIANTS],
# Parser fixes break the function name inference in the constructor.
# BUG(4331)
'test-func-name-inference/InConstructor': [SKIP],
# The cpu profiler tests are notoriously flaky.
# BUG(2999). (test/cpu-profiler/CollectCpuProfile)
# BUG(3287). (test-cpu-profiler/SampleWhenFrameIsNotSetup)