Skip to content

Commit 1cf26e2

Browse files
committed
Upgrade V8 to 3.6.6.11
1 parent 46b6954 commit 1cf26e2

File tree

4 files changed

+11
-39
lines changed

4 files changed

+11
-39
lines changed

deps/v8/src/debug.cc

-38
Original file line numberDiff line numberDiff line change
@@ -1731,44 +1731,6 @@ void Debug::PrepareForBreakPoints() {
17311731
// functions as debugging does not work with optimized code.
17321732
if (!has_break_points_) {
17331733
Deoptimizer::DeoptimizeAll();
1734-
1735-
AssertNoAllocation no_allocation;
1736-
Builtins* builtins = isolate_->builtins();
1737-
Code* lazy_compile = builtins->builtin(Builtins::kLazyCompile);
1738-
1739-
// Find all non-optimized code functions with activation frames on
1740-
// the stack.
1741-
List<JSFunction*> active_functions(100);
1742-
for (JavaScriptFrameIterator it(isolate_); !it.done(); it.Advance()) {
1743-
JavaScriptFrame* frame = it.frame();
1744-
if (frame->function()->IsJSFunction()) {
1745-
JSFunction* function = JSFunction::cast(frame->function());
1746-
if (function->code()->kind() == Code::FUNCTION)
1747-
active_functions.Add(function);
1748-
}
1749-
}
1750-
active_functions.Sort();
1751-
1752-
// Scan the heap for all non-optimized functions which has no
1753-
// debug break slots.
1754-
HeapIterator iterator;
1755-
HeapObject* obj = NULL;
1756-
while (((obj = iterator.next()) != NULL)) {
1757-
if (obj->IsJSFunction()) {
1758-
JSFunction* function = JSFunction::cast(obj);
1759-
if (function->shared()->allows_lazy_compilation() &&
1760-
function->shared()->script()->IsScript() &&
1761-
function->code()->kind() == Code::FUNCTION &&
1762-
!function->code()->has_debug_break_slots()) {
1763-
bool has_activation =
1764-
SortedListBSearch<JSFunction*>(active_functions, function) != -1;
1765-
if (!has_activation) {
1766-
function->set_code(lazy_compile);
1767-
function->shared()->set_code(lazy_compile);
1768-
}
1769-
}
1770-
}
1771-
}
17721734
}
17731735
}
17741736

deps/v8/src/log.h

+6
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,13 @@ class Logger {
294294
INLINE(static LogEventsAndTags ToNativeByScript(LogEventsAndTags, Script*));
295295

296296
// Profiler's sampling interval (in milliseconds).
297+
#if defined(ANDROID)
298+
// Phones and tablets have processors that are much slower than desktop
299+
// and laptop computers for which current heuristics are tuned.
300+
static const int kSamplingIntervalMs = 5;
301+
#else
297302
static const int kSamplingIntervalMs = 1;
303+
#endif
298304

299305
// Callback from Log, stops profiling in case of insufficient resources.
300306
void LogFailure();

deps/v8/src/version.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#define MAJOR_VERSION 3
3636
#define MINOR_VERSION 6
3737
#define BUILD_NUMBER 6
38-
#define PATCH_LEVEL 8
38+
#define PATCH_LEVEL 11
3939
// Use 1 for candidates and 0 otherwise.
4040
// (Boolean macro values are not supported by all preprocessors.)
4141
#define IS_CANDIDATE_VERSION 0

deps/v8/test/mjsunit/mjsunit.status

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ bugs: FAIL
3434
# Fails.
3535
regress/regress-1119: FAIL
3636

37+
#############################################################################
38+
# Fails due to r10102 which reverts precise stepping on the 3.6 branch.
39+
debug-step-2: FAIL
40+
3741
##############################################################################
3842
# Too slow in debug mode with --stress-opt
3943
compiler/regress-stacktrace-methods: PASS, SKIP if $mode == debug

0 commit comments

Comments
 (0)