projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abcab81
)
Always run the second pass of the phantom callbacks synchronously if --predictable...
author
epertoso
<epertoso@chromium.org>
Tue, 21 Jul 2015 10:52:43 +0000
(
03:52
-0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 21 Jul 2015 10:53:00 +0000
(10:53 +0000)
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
1245093004
Cr-Commit-Position: refs/heads/master@{#29771}
src/global-handles.cc
patch
|
blob
|
history
diff --git
a/src/global-handles.cc
b/src/global-handles.cc
index
ab48997
..
444614c
100644
(file)
--- a/
src/global-handles.cc
+++ b/
src/global-handles.cc
@@
-840,7
+840,7
@@
int GlobalHandles::DispatchPendingPhantomCallbacks(
}
}
if (pending_phantom_callbacks_.length() > 0) {
- if (synchronous_second_pass) {
+ if (
FLAG_optimize_for_size || FLAG_predictable ||
synchronous_second_pass) {
InvokeSecondPassPhantomCallbacks(&pending_phantom_callbacks_, isolate());
} else {
auto task = new PendingPhantomCallbacksSecondPassTask(