machenbach@chromium.org [Wed, 11 Jun 2014 21:45:54 +0000 (21:45 +0000)]
Whitespace change to trigger bots.
BUG=
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
330563002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21782
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Wed, 11 Jun 2014 21:44:50 +0000 (21:44 +0000)]
Reland 21774: Generate KeyedLoadGeneric with Hydrogen
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
57123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21781
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Wed, 11 Jun 2014 20:06:01 +0000 (20:06 +0000)]
MIPS: Fixed flooring division by a power of 2, once again...
Port r21769 (52e191b)
Original commit message:
Avoid right shifts by zero bits: On ARM it actually means shifting by
32 bits (correctness issue) and on other platforms they are useless
(performance issue). This is fix for the fix in r20544.
BUG=v8:3259
LOG=y
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
322403006
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21780
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 11 Jun 2014 18:12:03 +0000 (18:12 +0000)]
Drop globals.h include from platform.h
Also delete dead cpu-features-implied-by-platform code.
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
326333002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21779
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 11 Jun 2014 18:02:38 +0000 (18:02 +0000)]
Rossberg's suggested changes to the LookupIterator.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
324383005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21778
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Wed, 11 Jun 2014 17:32:32 +0000 (17:32 +0000)]
MIPS: Revert 21774: "Generate KeyedLoadGeneric with Hydrogen"
Port r21776 (10a4872)
Original commit message:
Due to arm64 and GCMole failures
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
329723007
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21777
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Wed, 11 Jun 2014 16:33:44 +0000 (16:33 +0000)]
Revert 21774: "Generate KeyedLoadGeneric with Hydrogen"
Due to arm64 and GCMole failures
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
329253003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21776
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Wed, 11 Jun 2014 16:28:30 +0000 (16:28 +0000)]
MIPS: Generate KeyedLoadGeneric with Hydrogen.
Port r21774 (f0462b8)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
328173002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21775
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Wed, 11 Jun 2014 14:56:38 +0000 (14:56 +0000)]
Generate KeyedLoadGeneric with Hydrogen
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
57123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21774
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Wed, 11 Jun 2014 14:44:13 +0000 (14:44 +0000)]
MIPS: Simplify string copy in SubStringStub.
Port r21756 (3d58e58)
Original commit message:
The optimizations are unnecessary since the maximum
string length they operate on is currently 12.
BUG=352155
LOG=N
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
326413002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21773
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 11 Jun 2014 14:09:05 +0000 (14:09 +0000)]
X87: Simplify string copy in SubStringStub.
port r21756.
original commit message:
The optimizations are unnecessary since the maximum
string length they operate on is currently 12.
R=yangguo@chromium.org, bmeurer@chromium.org
BUG=352155
LOG=N
Review URL: https://codereview.chromium.org/
326353002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21772
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 11 Jun 2014 14:03:13 +0000 (14:03 +0000)]
Correctly lookup starting at the holder
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
329153002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21771
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 11 Jun 2014 13:40:18 +0000 (13:40 +0000)]
Ignore live_edit_ flag when when dealing with LiveEdit in a debug break.
LiveEdit maybe disabled when we enter the break and again when we
leave it, but enabled in between.
TEST=https://codereview.chromium.org/
329533002
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
325183003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21770
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Wed, 11 Jun 2014 13:29:25 +0000 (13:29 +0000)]
Fixed flooring division by a power of 2, once again...
Avoid right shifts by zero bits: On ARM it actually means shifting by
32 bits (correctness issue) and on other platforms they are useless
(performance issue). This is fix for the fix in r20544.
BUG=v8:3259
LOG=y
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
324403003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21769
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 11 Jun 2014 12:16:14 +0000 (12:16 +0000)]
Whitespace change to trigger bots.
BUG=
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
324373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21768
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 11 Jun 2014 09:59:14 +0000 (09:59 +0000)]
Implement LookupIterator designed to replace LookupResult
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
314953006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21767
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Wed, 11 Jun 2014 09:44:14 +0000 (09:44 +0000)]
Set SAHF flag correctly for ia32
sahf flag will not be set for ia32 on some old platform because some old processors does not support CPUID's extended features.
This also avoids redundant cpuid check in ia32 for sahf.
BUG=
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
298823008
Patch from Weiliang Lin <weiliang.lin@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21766
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 11 Jun 2014 09:42:48 +0000 (09:42 +0000)]
Fix typos in BUILD.gn source lists
"foo,cc" is not the same as "foo.cc"
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
326193002
Patch from James Robinson <jamesr@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21765
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Wed, 11 Jun 2014 09:34:25 +0000 (09:34 +0000)]
Unbreak build.
TBR=ulan@chromium.org
Review URL: https://codereview.chromium.org/
329053005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21764
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Wed, 11 Jun 2014 09:12:35 +0000 (09:12 +0000)]
Removed dead API entries.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
322293003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21763
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Wed, 11 Jun 2014 09:09:15 +0000 (09:09 +0000)]
Fix unsigned comparisons.
Instead of marking the comparison instruction itself as Uint32, we
look at its arguments. This is more consistent what HChange does.
BUG=v8:3380
TEST=mjsunit/regress/regress-3380
LOG=y
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
325133004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21762
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 11 Jun 2014 08:31:13 +0000 (08:31 +0000)]
Fix GN build.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
328883005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21759
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 11 Jun 2014 06:59:25 +0000 (06:59 +0000)]
Simplify string copy in SubStringStub.
The optimizations are unnecessary since the maximum
string length they operate on is currently 12.
R=bmeurer@chromium.org
BUG=352155
LOG=N
Review URL: https://codereview.chromium.org/
326943002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21756
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yurys@chromium.org [Wed, 11 Jun 2014 05:48:33 +0000 (05:48 +0000)]
V8 can clear exception pending message, when should not do this.
The case:
v8::TryCatch try_catch;
CompileRun(try { CEvaluate('throw 1;'); } finally {});
CHECK(try_catch.HasCaught());
CHECK(!try_catch.Message().IsEmpty());
CEvaluate is native call. Last check is not passed without patch. Patch contains test TryCatchFinallyStoresMessageUsingTryCatchHandler with more details.
R=yangguo@chromium.org, mstarzinger@chromium.org, vsevik@chromium.org
Review URL: https://codereview.chromium.org/
321763002
Patch from Alexey Kozyatinskiy <kozyatinskiy@google.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21755
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Tue, 10 Jun 2014 18:54:28 +0000 (18:54 +0000)]
Temporarily disable uint32 mode for comparisons
BUG=v8:3380
LOG=n
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
323103002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21750
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 10 Jun 2014 15:34:49 +0000 (15:34 +0000)]
Revert "Fix gn build".
This was reverted due to GN build failures while rolling V8 into
Chromium. Locally reproducing it verified that this makes the GN
build pass again.
R=jkummerow@chromium.org, machenbach@chromium.org
Review URL: https://codereview.chromium.org/
324013006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21749
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 10 Jun 2014 15:19:27 +0000 (15:19 +0000)]
Add arity checks to mjsunit's assertEquals and assertSame
BUG=None
LOG=n
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
309173003
Patch from Erik Arvidsson <arv@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21748
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 10 Jun 2014 14:46:30 +0000 (14:46 +0000)]
Do not merge adjourning ranges when calculating percentages in plot.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
319703009
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21747
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Tue, 10 Jun 2014 14:01:08 +0000 (14:01 +0000)]
Reland 21720: Introduce FieldIndex to unify and abstract property/field offset
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
300283002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21746
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 10 Jun 2014 13:23:05 +0000 (13:23 +0000)]
Temporary disabled failing tests on ARM64 no-snap.
R=machenbach@chromium.org
TEST=cctest/test-serialize
BUG=v8:3385
LOG=N
Review URL: https://codereview.chromium.org/
324943002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21745
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 10 Jun 2014 12:49:04 +0000 (12:49 +0000)]
Relax assertion in StoreBuffer::FindPointersToNewSpaceInMapsRegion
Since r21232, maps are now a non-power-of-two size and thus don't fit
evenly into a page. No test case, as it is somewhat difficult to get
this condition to trigger. It is possible with this case, however:
var result;
(function() {
for (var i = 0; i < 1e7; i++) {
result = (function*() { yield 1; })();
result.foo = 1;
}
})();
R=hpayer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
291913002
Patch from Andy Wingo <wingo@igalia.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21744
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 10 Jun 2014 12:24:54 +0000 (12:24 +0000)]
Fix invalid attributes when generalizing because of incompatible map change.
BUG=382143
LOG=y
TEST=mjsunit/regress/regress-382143
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
324933003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21743
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 10 Jun 2014 10:51:33 +0000 (10:51 +0000)]
Revert "Support external startup data in V8."
This reverts commit r21696 for breaking chromium windows compilation in the chromium cq.
Conflicts:
src/d8.cc
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
328693003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21740
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 10 Jun 2014 10:06:14 +0000 (10:06 +0000)]
Revert "Port 'external startup data' flag from gyp to gn."
This cause compile failures on the GN buildbot about 'gen/v8/libraries.bin'
missing and no known rule to make it.
TBR=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
327703004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21739
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
haitao.feng@intel.com [Tue, 10 Jun 2014 09:52:44 +0000 (09:52 +0000)]
Update DecodeFieldToSmi to support x32 port.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
310803003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21738
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 10 Jun 2014 09:42:41 +0000 (09:42 +0000)]
Do not clear mirror cache when fetching loaded scripts.
R=yurys@chromium.org
BUG=376534
LOG=N
Review URL: https://codereview.chromium.org/
309313002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21737
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 10 Jun 2014 09:34:18 +0000 (09:34 +0000)]
Log IC misses as timer events.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
318983005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21736
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 10 Jun 2014 09:24:00 +0000 (09:24 +0000)]
Make presubmit script happy again.
No clue why this seems to be an issue only for me, though...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
321123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21735
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 10 Jun 2014 09:16:29 +0000 (09:16 +0000)]
Reuse RelocInfo's IsPatchedDebugBreakSlotSequence() implementation.
RelocInfo::IsPatchedDebugBreakSlotSequence() already does this assembly
check, so just reuse it in BreakLocationIterator::IsDebugBreakAtSlot(),
like the other debug ports do.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
321743002
Patch from Thiago Farina <tfarina@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21734
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Tue, 10 Jun 2014 09:01:45 +0000 (09:01 +0000)]
Bugfix in inlined versions of Array.indexOf() and Array.lastIndexOf() with a regression test.
BUG=chromium:381534
LOG=N
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
319343002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21733
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Tue, 10 Jun 2014 09:00:10 +0000 (09:00 +0000)]
Revert 21720: "Introduce FieldIndex to unify and abstract property/field offset"
Due to assorted failures
R=mstarzinger@chromium.org
TBR=mstarzginer@chromium.org
Review URL: https://codereview.chromium.org/
329463005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21732
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 10 Jun 2014 08:51:12 +0000 (08:51 +0000)]
Whitespace change to trigger bots.
BUG=
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
324893003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21731
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Tue, 10 Jun 2014 08:09:56 +0000 (08:09 +0000)]
X87: Preliminary support for block contexts in hydrogen.
Port r21684.
Origin message:
Preliminary support for block contexts in hydrogen.
Patch from Steven Keuchel <keuchel@chromium.org>;
BUG=v8:2198
LOG=N
TEST=mjsunit/harmony/block-let-crankshaft.js
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
315233002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21730
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 10 Jun 2014 07:13:36 +0000 (07:13 +0000)]
Add whitespace file to allow no-op changelists for bot maintenance.
BUG=
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
323033002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21729
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Tue, 10 Jun 2014 04:47:06 +0000 (04:47 +0000)]
Ensure that constant-capacity elements are initialized on copy
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
308003015
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21728
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 10 Jun 2014 04:26:15 +0000 (04:26 +0000)]
Fix missing smi check in inlined indexOf/lastIndexOf.
BUG=382513
LOG=y
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
313233005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21727
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
haitao.feng@intel.com [Tue, 10 Jun 2014 04:08:48 +0000 (04:08 +0000)]
Update DoNumberTagI to support x32 port.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
263123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21726
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
haitao.feng@intel.com [Tue, 10 Jun 2014 04:03:51 +0000 (04:03 +0000)]
Update SmiShiftLeft, SmiShiftLogicalRight, SmiShiftArithmeticRight and SmiDiv to support x32 port.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
264973011
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21725
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Tue, 10 Jun 2014 03:43:48 +0000 (03:43 +0000)]
X87: Introduce FieldIndex to unify and abstract property/field offset
port r21720.
Original commit message:
Introduce FieldIndex to unify and abstract property/field offset.
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
326563002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21724
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rodolph.perfetta@arm.com [Mon, 9 Jun 2014 14:23:46 +0000 (14:23 +0000)]
ARM64: Clean up support for explicit literal load.
This is the first patch to improve literal pool handling in arm64. Cleans up
assembler/macro-assembler access to literal pools.
BUG=
R=rmcilroy@chromium.org
Review URL: https://codereview.chromium.org/
318773009
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21723
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Fri, 6 Jun 2014 15:43:19 +0000 (15:43 +0000)]
MIPS: Introduce FieldIndex to unify and abstract property/field offset.
Port r21720 (aeb7bef)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
314333003
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21722
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vogelheim@chromium.org [Fri, 6 Jun 2014 14:30:33 +0000 (14:30 +0000)]
Port 'external startup data' flag from gyp to gn.
R=jochen@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
316363004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21721
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Fri, 6 Jun 2014 14:05:10 +0000 (14:05 +0000)]
Introduce FieldIndex to unify and abstract property/field offset
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
300283002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21720
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Fri, 6 Jun 2014 13:54:08 +0000 (13:54 +0000)]
Drop unused Object::GetMarkerMap method
R=verwaest@chromium.org
BUG=none
LOG=n
Review URL: https://codereview.chromium.org/
317373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21719
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Fri, 6 Jun 2014 13:33:27 +0000 (13:33 +0000)]
Simplify prototype chain walk in hydrogen
Since we know that we're only encountering JSObjects, we can use the
faster GetPrototype() method to walk up the chain
BUG=none
R=verwaest@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
321543002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21718
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 6 Jun 2014 13:16:24 +0000 (13:16 +0000)]
Revert "Re-land Clusterfuzz identified overflow check needed in dehoisting."
This reverts commit r21712
TBR=danno@chromium.org
Review URL: https://codereview.chromium.org/
315843005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21715
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 6 Jun 2014 13:00:07 +0000 (13:00 +0000)]
Re-land Clusterfuzz identified overflow check needed in dehoisting.
Overflow check needs to be smarter.
BUG=380092
R=danno@google.com, danno@chromium.org
LOG=N
Review URL: https://codereview.chromium.org/
317963004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21712
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Fri, 6 Jun 2014 09:57:08 +0000 (09:57 +0000)]
Field layout in class Arguments is incompatible w\ 64-bit archs.
The length_ field must be defined as intptr_t rather than int. This is
due to the fact that we place native argc/argv values into stack slots
(via SetFrameSlot) and then interpret the slots as a an instance of
Arguments class.
Little endian architectures get 'lucky' that the layout happens to work
with implicit padding. Big endian is not as lucky.
See Runtime_ArrayConstructor for an example.
Based on
https://github.com/andrewlow/v8/commit/
d8c3570f71c0be9914e79139740124bd1ca711a7
BUG=v8:3366
LOG=N
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
314123003
Patch from Andrew Low <andrew_low@ca.ibm.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21711
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 6 Jun 2014 09:50:33 +0000 (09:50 +0000)]
Do not overwrite event logger when we explicitly have --log-timer-events.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
318063002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21710
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 6 Jun 2014 09:47:14 +0000 (09:47 +0000)]
Revert "Clusterfuzz identified overflow check needed in dehoisting."
This reverts commit r21708, due to ASAN-reported issue.
TBR=danno@chromium.org
Review URL: https://codereview.chromium.org/
318073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21709
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 6 Jun 2014 09:12:16 +0000 (09:12 +0000)]
Clusterfuzz identified overflow check needed in dehoisting.
BUG=380092
R=danno@chromium.org
LOG=N
Review URL: https://codereview.chromium.org/
315593002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21708
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 6 Jun 2014 08:15:05 +0000 (08:15 +0000)]
Fix bug in tools/plot-timer-events
Bug was introduced in r21338.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
314143004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21707
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Fri, 6 Jun 2014 07:26:23 +0000 (07:26 +0000)]
Fix gn build
BUG=none
TBR=brettw@chromium.org,vogelheim@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
318043002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21706
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Thu, 5 Jun 2014 18:16:06 +0000 (18:16 +0000)]
Turn on harmony_collections for es_staging
BUG=v8:1622
LOG=Y
R=arv@chromium.org, rossberg@chromium.org
Review URL: https://codereview.chromium.org/
313153002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21703
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 5 Jun 2014 17:08:21 +0000 (17:08 +0000)]
Revert "Grow big old generation slower."
This reverts commit r21700 due to Windows compile warnings.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
318763007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21702
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Thu, 5 Jun 2014 16:47:02 +0000 (16:47 +0000)]
MIPS: Preliminary support for block contexts in hydrogen.
Port r21684 (ea35030)
Original commit message:
Patch from Steven Keuchel <keuchel@chromium.org>
BUG=v8:2198
LOG=N
TEST=mjsunit/harmony/block-let-crankshaft.js
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
313183007
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21701
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Thu, 5 Jun 2014 15:00:02 +0000 (15:00 +0000)]
Grow big old generation slower.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
305413002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21700
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vogelheim@chromium.org [Thu, 5 Jun 2014 14:04:12 +0000 (14:04 +0000)]
Fix presubmit warning.
(http://build.chromium.org/p/client.v8/builders/V8%20Linux/builds/8147/steps/Presubmit/logs/stdio)
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
319563003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21699
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yurys@chromium.org [Thu, 5 Jun 2014 13:58:57 +0000 (13:58 +0000)]
Revert "V8 can clear exception pending message, when should not do this."
This reverts commit
2c6665a7a21bd38f3dea28eb9b303f913c69be8d. Broke too many tests.
TBR=yangguo@chromium.org
BUG=None
LOG=N
Review URL: https://codereview.chromium.org/
318773006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21698
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yurys@chromium.org [Thu, 5 Jun 2014 13:07:53 +0000 (13:07 +0000)]
V8 can clear exception pending message, when should not do this.
The case:
v8::TryCatch try_catch;
CompileRun(try { CEvaluate('throw 1;'); } finally {});
CHECK(try_catch.HasCaught());
CHECK(!try_catch.Message().IsEmpty());
CEvaluate is native call. Last check is not passed without patch. Patch contains test TryCatchFinallyStoresMessageUsingTryCatchHandler with more details.
R=mstarzinger@chromium.org, vsevik@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
306463002
Patch from Alexey Kozyatinskiy <kozyatinskiy@google.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21697
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vogelheim@chromium.org [Thu, 5 Jun 2014 13:06:21 +0000 (13:06 +0000)]
Support external startup data in V8.
[Retry of crrev.com/
293993021, which caused problems with 'ninja all' in Chromium. First patch set if a clean apply
of crrev.com/
293993021. Subsequent sets are the actual fix
for that issue.]
If the embedder chooses, the 'natives' (library sources) and the
precompiled startup blob can be written to files during the build
process and handed over to V8 at startup. The main purpose would be
to reduce the size of the compiled binary for space constrained
platforms.
The build-time option is off by default. Nothing should change if
it's not enabled.
BUG=
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
315033002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21696
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
marja@chromium.org [Thu, 5 Jun 2014 13:02:18 +0000 (13:02 +0000)]
Compilation API: next step of deprecations.
Remove deprecated functions and deprecated Script::GetId (which was supposed to
be deprecated, but Chrome was using it).
R=dcarney@chromium.org, svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
315003003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21695
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 5 Jun 2014 12:53:36 +0000 (12:53 +0000)]
Mark arm div tests as PASS/FAIL.
R=machenbach@chromium.org
BUG=v8:3259
LOG=N
Review URL: https://codereview.chromium.org/
318943002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21694
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 5 Jun 2014 12:14:47 +0000 (12:14 +0000)]
Move atomic ops and related files to base library
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
316133002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21693
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 5 Jun 2014 10:26:09 +0000 (10:26 +0000)]
Enable concurrent OSR.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
258953010
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21692
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 5 Jun 2014 08:56:38 +0000 (08:56 +0000)]
Do not make heap iterable eagerly.
R=jarin@chromium.org
BUG=379740
LOG=Y
Review URL: https://codereview.chromium.org/
318863004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21691
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Jacob.Bramley@arm.com [Thu, 5 Jun 2014 08:55:46 +0000 (08:55 +0000)]
ARM64: Add and use SmiTagAndPush.
In some cases, this allows SmiTag and Push to be combined into a single
operation.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
311133003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21690
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 5 Jun 2014 08:45:24 +0000 (08:45 +0000)]
Address a few TODOs in the gn config
- add direct dependant settings
- only compile mksnapshot on the host toolset
BUG=none
LOG=n
R=machenbach@chromium.org, brettw@chromium.org
Review URL: https://codereview.chromium.org/
314073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21689
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 5 Jun 2014 08:44:42 +0000 (08:44 +0000)]
Move most of the implementation of AdjustAmountOfExternalMemory to v8.h
This reduces the overhead of reporting allocations to v8 to an
acceptable level.
BUG=none
LOG=n
R=dcarney@chromium.org, hpayer@chromium.org
Review URL: https://codereview.chromium.org/
310393003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21688
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 5 Jun 2014 08:44:00 +0000 (08:44 +0000)]
Fix another presubmit error in heap.cc
TBR=ulan@chromium.org
BUG=none
LOG=n
Review URL: https://codereview.chromium.org/
319473004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21687
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Thu, 5 Jun 2014 08:41:29 +0000 (08:41 +0000)]
Fix presubmit style error in parser.cc
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
315003007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21686
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Thu, 5 Jun 2014 08:33:42 +0000 (08:33 +0000)]
Documentation: fix comments for CommuteCondition.
R=jkummerow@google.com, jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
313283003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21685
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Thu, 5 Jun 2014 07:33:01 +0000 (07:33 +0000)]
Preliminary support for block contexts in hydrogen.
Patch from Steven Keuchel <keuchel@chromium.org>
BUG=v8:2198
LOG=N
TEST=mjsunit/harmony/block-let-crankshaft.js
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
307593002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21684
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Wed, 4 Jun 2014 15:21:35 +0000 (15:21 +0000)]
Revert "Folding of bounded dynamic size allocations with const size allocations."
This reverts r21675.
TBR=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
311173002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21679
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 4 Jun 2014 15:21:26 +0000 (15:21 +0000)]
Fix building android gn
BUG=none
TBR=machenbach@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
313923002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21678
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Wed, 4 Jun 2014 14:57:51 +0000 (14:57 +0000)]
Rename ReverseCondition to CommuteCondition, a more standard term.
R=dcarney@chromium.org, dcarney
BUG=
Review URL: https://codereview.chromium.org/
313083006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21677
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Wed, 4 Jun 2014 13:40:52 +0000 (13:40 +0000)]
Rename InvertCondition and ReverseConditionForCmp on arm64 to be consistent with the other ports.
R=dcarney@chromium.org, dcarney
BUG=
Review URL: https://codereview.chromium.org/
317663002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21676
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Wed, 4 Jun 2014 13:39:02 +0000 (13:39 +0000)]
Folding of bounded dynamic size allocations with const size allocations.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
301973014
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21675
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Wed, 4 Jun 2014 12:09:10 +0000 (12:09 +0000)]
Flag --pretenure-call-new broken on MIPS.
A label in JSConstructStubHelper was in the wrong place.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
315963002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21674
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 4 Jun 2014 11:56:29 +0000 (11:56 +0000)]
Fix regexp=interpreted build.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
318603002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21673
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 4 Jun 2014 11:52:17 +0000 (11:52 +0000)]
Extend bounds check elimination to constant keys.
R=jkummerow@chromium.org
BUG=v8:3367
LOG=N
Review URL: https://codereview.chromium.org/
310333004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21672
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Wed, 4 Jun 2014 09:35:41 +0000 (09:35 +0000)]
Implemented folding of constant size allocation followed by dynamic size allocation.
Manually folded allocations (JSArray, JSRegExpResult) are split into two separate allocations.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
304153009
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21671
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 4 Jun 2014 09:27:16 +0000 (09:27 +0000)]
X87: Improve write barriers in optimized code.
Port r21630 (a21ff10)
Original commit message:
Use a cheaper RecordWriteForMap() to update the
write barrier for maps. And skip the value check
in RecordWriteField() when we statically know that
the value is in new space (and therefore has "pointers
to here are interesting" flag set).
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
314983002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21668
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Wed, 4 Jun 2014 08:52:00 +0000 (08:52 +0000)]
Revert "Enable pretenure call new."
This reverts commit r21664 due to interesting failures.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
316823002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21667
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Wed, 4 Jun 2014 08:35:42 +0000 (08:35 +0000)]
Revert "Support external startup data in V8."
This reverts commit r21646, as it blocks pushing to chromium.
TBR=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
317633003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21666
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 4 Jun 2014 08:21:39 +0000 (08:21 +0000)]
Fix invalid loop condition for Array.lastIndexOf().
BUG=380512
LOG=y
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
313073003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21665
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Wed, 4 Jun 2014 07:46:41 +0000 (07:46 +0000)]
Enable pretenure call new.
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
312723004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21664
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
haitao.feng@intel.com [Wed, 4 Jun 2014 06:08:35 +0000 (06:08 +0000)]
Introduce MakeSureDoubleAlignedHelper for x64 port.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
261233002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21662
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 4 Jun 2014 01:40:07 +0000 (01:40 +0000)]
X87: Temporarily skip cctest/test-serialize tests in debug mode
BUG=
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
307373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21661
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Tue, 3 Jun 2014 20:12:19 +0000 (20:12 +0000)]
Add API support for passing a C++ function as a microtask callback
This allows embedders to enqueue microtasks without having any v8::Context
handy, as happens in Blink in some cases (such as DOM mutations due to editing
triggering MutationObservers).
LOG=Y
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
306053003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21658
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00