- 06 Jun, 2016 39 commits
-
-
gsathya authored
When |ResolvePromise| is resolved with a promise that is already fulfilled or resolved, we can short circuit the promise resolution procedure by directly looking up the result from the promise. We save creating two closures, enqueuing in the promise queue, and running through PromiseThen. This patch uses IsPromise to check if the |resolution| object is a native promise and also checks if |resolution.then| hasn't been monkey patched. This patch adds some redundant code from PromiseThen like setting the promiseHasHandlerSymbol and calling PromiseRevokeReject call, which would've been taken care of by PromiseThen in the old code path. This patch results in a 13.8% improvement(over 5 runs) in the bluebird benchmarks. BUG=v8:5046 Review-Url: https://codereview.chromium.org/2028253004 Cr-Commit-Position: refs/heads/master@{#36765}
-
adamk authored
Revert of [stubs] Enable TurboFan LoadIC dispatcher stub. (patchset #1 id:1 of https://codereview.chromium.org/2033943005/ ) Reason for revert: Fails cctest consistently on Linux nosnap debug: https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20debug/builds/7185 https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20debug/builds/7186 https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20debug/builds/7187 Original issue's description: > [stubs] Enable TurboFan LoadIC dispatcher stub. > > Committed: https://crrev.com/46a9322e88de037598cfd1090285375d97b11db2 > Cr-Commit-Position: refs/heads/master@{#36760} TBR=verwaest@chromium.org,ishell@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/2042873002 Cr-Commit-Position: refs/heads/master@{#36764}
-
hpayer authored
As a first step I uncommit the memory on the main thread. Also to measure impact and stability of that optimization. In a follow-up CL, the uncommitting should be moved on the concurrent thread. BUG= Review-Url: https://codereview.chromium.org/2032393002 Cr-Commit-Position: refs/heads/master@{#36763}
-
mtrofin authored
We should use both the int value as well as the reloc info mode for the key of a relocatable int{32|64}. BUG= Review-Url: https://codereview.chromium.org/2039023002 Cr-Commit-Position: refs/heads/master@{#36762}
-
hlopko authored
This cl sketches an api for incremental wrapper tracing, but still uses the api in the stop-the-world fashion. Responsibility to maintain a marking deque is transfered to the embedder. V8 will still collect wrapper internal fields, but will send them to the embedder after each incremental gc task. Wrappers must be sent at latest by the time next oilpan gc runs - so blink can keep all discovered wrappables alive. The old api will be cleared after this cl and corresponding blink cl land. Comments are very welcomed :) LOG=no BUG=468240 Review-Url: https://codereview.chromium.org/2032213003 Cr-Commit-Position: refs/heads/master@{#36761}
-
ishell authored
Review-Url: https://codereview.chromium.org/2033943005 Cr-Commit-Position: refs/heads/master@{#36760}
-
balazs.kilvady authored
Port 8d90210a BUG= Review-Url: https://codereview.chromium.org/2045553002 Cr-Commit-Position: refs/heads/master@{#36759}
-
epertoso authored
Revert of Provide a tagged allocation top pointer. (patchset #5 id:80001 of https://codereview.chromium.org/2028633002/ ) Reason for revert: d8 segfaults on some benchmarks on ia32. Investigating. Original issue's description: > Provide a tagged allocation top pointer. > > Taking over http://crrev.com/1924223002. > > BUG=chromium:606711 > LOG=N > > Committed: https://crrev.com/f42c9e93c80fdf57e8f92bb87f6ed927d0ae4028 > Committed: https://crrev.com/c99caf307ba3bb1b1cf08bf4172f503754c41341 > Cr-Original-Commit-Position: refs/heads/master@{#36633} > Cr-Commit-Position: refs/heads/master@{#36742} TBR=bmeurer@chromium.org,hpayer@chromium.org,machenbach@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:606711 Review-Url: https://codereview.chromium.org/2035413003 Cr-Commit-Position: refs/heads/master@{#36758}
-
yangguo authored
Prior to this change, both 0 and 1 as RNG seed would result in the same internal state. state0 and state1 cannot both be zero, but murmur hash maps 0 back to 0. R=cbruni@chromium.org BUG=v8:5069 Review-Url: https://codereview.chromium.org/2040953002 Cr-Commit-Position: refs/heads/master@{#36757}
-
martyn.capewell authored
Improve CheckedLoad and Store bounds checking for arrays with power of two length. BUG= Review-Url: https://codereview.chromium.org/2043663002 Cr-Commit-Position: refs/heads/master@{#36756}
-
littledan authored
R=rossberg,adamk BUG=chromium:616386 Review-Url: https://codereview.chromium.org/2042793002 Cr-Commit-Position: refs/heads/master@{#36755}
-
ishell authored
[stubs] Introducing LoadICTFStub and LoadICTrampolineTFStub and a switch to enable them instead of respective platform stubs. The stubs do not increase respective counters as they are in the snapshot and --native-code-counters is off during snapshot creation anyway. Review-Url: https://codereview.chromium.org/2031753003 Cr-Commit-Position: refs/heads/master@{#36754}
-
machenbach authored
This switches a few underscores to dashes to match the infra- side definitions. BUG=chromium:474921 TBR=vogelheim@chromium.org, jochen@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2045543002 Cr-Commit-Position: refs/heads/master@{#36753}
-
mstarzinger authored
This allows the header in question to be included without including any other header files. This is step towards factory.h being self-contained. R=clemensh@chromium.org Review-Url: https://codereview.chromium.org/2043723002 Cr-Commit-Position: refs/heads/master@{#36752}
-
jochen authored
Since the generic GetCallingContext is deprecated, but there's still the use case for the debugger to get the currently debugged context while in the debug context, add a convenience API for it. Note that EventDetails already exposes this context, but the embedder might not necessarily have the EventDetails around. R=verwaest@chromium.org BUG= Review-Url: https://codereview.chromium.org/2040853003 Cr-Commit-Position: refs/heads/master@{#36751}
-
bjaideep authored
Port 8d90210a R=yangguo@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com BUG=v8:4483 LOG=N Review-Url: https://codereview.chromium.org/2040803003 Cr-Commit-Position: refs/heads/master@{#36750}
-
bjaideep authored
R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com, bjaideep@ca.ibm.com BUG= Review-Url: https://codereview.chromium.org/2043553002 Cr-Commit-Position: refs/heads/master@{#36749}
-
titzer authored
R=ahaas@chromium.org,aseemgarg@chromium.org,bradnelson@chromium.org BUG=chromium:617525 Review-Url: https://codereview.chromium.org/2040983002 Cr-Commit-Position: refs/heads/master@{#36748}
-
titzer authored
BUG=chromium:617529 Review-Url: https://codereview.chromium.org/2041843002 Cr-Commit-Position: refs/heads/master@{#36747}
-
machenbach authored
This makes the isolate-driver script rebase all paths to be relative to the isolate-file location. This is an assumption of the go binaries and is needed for batcharchive to work. In gyp, actions were executed relative to the gyp file that specified them, while in gn it's relative to the product dir. BUG=chromium:474921 Review-Url: https://codereview.chromium.org/2039873002 Cr-Commit-Position: refs/heads/master@{#36746}
-
cbruni authored
BUG= Review-Url: https://codereview.chromium.org/2040823003 Cr-Commit-Position: refs/heads/master@{#36745}
-
cbruni authored
Passing in the isolate and pointer compare the instnance against the corresponding constant is always faster than decoding the instance types. BUG= Review-Url: https://codereview.chromium.org/2028983002 Cr-Commit-Position: refs/heads/master@{#36744}
-
mstarzinger authored
This makes sure {NodeProperties::FindFrameStateBefore} can deal with effect chains that are marked as dead. This can happen when reducers looking for frame states run together with other reducers killing some execution paths within the same reduction phase. R=bmeurer@chromium.org TEST=mjsunit/regress/regress-crbug-617567 BUG=chromium:617567,chromium:617224 Review-Url: https://codereview.chromium.org/2041833002 Cr-Commit-Position: refs/heads/master@{#36743}
-
epertoso authored
Taking over http://crrev.com/1924223002. BUG=chromium:606711 LOG=N Committed: https://crrev.com/f42c9e93c80fdf57e8f92bb87f6ed927d0ae4028 Review-Url: https://codereview.chromium.org/2028633002 Cr-Original-Commit-Position: refs/heads/master@{#36633} Cr-Commit-Position: refs/heads/master@{#36742}
-
machenbach authored
Revert of [build] Use sysroot for linux compilation with clang (patchset #5 id:80001 of https://codereview.chromium.org/2028623002/ ) Reason for revert: sysroot logic breaks "make arm" Original issue's description: > [build] Use sysroot for linux compilation with clang > > This ports the configuration for using a sysroot from > chromium's common.gypi. > > This is restricted to clang only. > > BUG=chromium:474921, chromium:616032 > LOG=y > > Committed: https://crrev.com/c47d3c63695d2999752f5fc61ff171f3ff100553 > Cr-Commit-Position: refs/heads/master@{#36729} TBR=jochen@chromium.org,vogelheim@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:474921, chromium:616032 Review-Url: https://codereview.chromium.org/2042693003 Cr-Commit-Position: refs/heads/master@{#36741}
-
machenbach authored
Revert of [build] Fix default for target_arch (patchset #1 id:1 of https://codereview.chromium.org/2040803005/ ) Reason for revert: sysroot logic breaks "make arm" Original issue's description: > [build] Fix default for target_arch > > Fix after https://codereview.chromium.org/2028623002/ > > BUG=chromium:474921, chromium:616032 > TBR=vogelheim@chromium.org, jochen@chromium.org > NOTRY=true > > Committed: https://crrev.com/9dcb67dd174fefc98f9c964ef54fed8fe6feb224 > Cr-Commit-Position: refs/heads/master@{#36733} TBR=vogelheim@chromium.org,jochen@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:474921, chromium:616032 Review-Url: https://codereview.chromium.org/2039853002 Cr-Commit-Position: refs/heads/master@{#36740}
-
titzer authored
This duplicates some test code (which hopefully can be factored out later), but increases test coverage. R=ahaas@chromium.org BUG= Review-Url: https://codereview.chromium.org/2042773002 Cr-Commit-Position: refs/heads/master@{#36739}
-
epertoso authored
[crankshaft] Fix DoDeferredMathAbsTaggedHeapNumber overwriting the context with some temporary value. BUG=v8:5067 Review-Url: https://codereview.chromium.org/2033413002 Cr-Commit-Position: refs/heads/master@{#36738}
-
v8-autoroll authored
Rolling v8/build to 9f3f50f2d8b3b751c451c76d9bbf648835256dd5 Rolling v8/third_party/icu to ffa4b6704cf5cc9fec9485731f24a05b2ba94bca Rolling v8/tools/clang to 27056571d3878fee640fe0e3f1b8ba5e9a7570f6 TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review-Url: https://codereview.chromium.org/2041803002 Cr-Commit-Position: refs/heads/master@{#36737}
-
bgeron authored
Previously, ZoneVector<MachineType>* printed just as a pointer; now we print each MachineType in it, separated by commas. BUG= Review-Url: https://codereview.chromium.org/2030323002 Cr-Commit-Position: refs/heads/master@{#36736}
-
mstarzinger authored
This removes the macro in question form the utility header. In the long run we want to convert all RUNTIME_ASSERTs to CHECKs, now that runtime functions are no longer fuzzed directly. This is just a first step. R=bmeurer@chromium.org BUG=v8:5066 Review-Url: https://codereview.chromium.org/2038013002 Cr-Commit-Position: refs/heads/master@{#36735}
-
neis authored
This is mostly about DCHECKs. Enabling some requires a few changes to tests that were not careful about types. BUG= Review-Url: https://codereview.chromium.org/2033703002 Cr-Commit-Position: refs/heads/master@{#36734}
-
machenbach authored
Fix after https://codereview.chromium.org/2028623002/ BUG=chromium:474921, chromium:616032 TBR=vogelheim@chromium.org, jochen@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2040803005 Cr-Commit-Position: refs/heads/master@{#36733}
-
neis authored
R=machenbach@chromium.org BUG= Review-Url: https://codereview.chromium.org/2035313003 Cr-Commit-Position: refs/heads/master@{#36732}
-
machenbach authored
This calls the action that archives test262 in gn. In gn we can't specify an action output outside the product directory. This works around it with an extra action stamp file in the product directory, while the archive remains in the test directory. We don't want to generate the archive in the product directory, as some legacy archiving scripts might include it and it's too large. It should only be included in the swarming tasks that are going to use it for testing. BUG=chromium:474921 Review-Url: https://codereview.chromium.org/2034713005 Cr-Commit-Position: refs/heads/master@{#36731}
-
machenbach authored
This ports: https://codereview.chromium.org/1991343002 BUG=chromium:599327 Review-Url: https://codereview.chromium.org/2040913002 Cr-Commit-Position: refs/heads/master@{#36730}
-
machenbach authored
This ports the configuration for using a sysroot from chromium's common.gypi. This is restricted to clang only. BUG=chromium:474921, chromium:616032 LOG=y Review-Url: https://codereview.chromium.org/2028623002 Cr-Commit-Position: refs/heads/master@{#36729}
-
zhengxing.li authored
port 8d90210a (r36718) original commit message: BUG= Review-Url: https://codereview.chromium.org/2039743002 Cr-Commit-Position: refs/heads/master@{#36728}
-
zhengxing.li authored
port f2da19fe (r36703) original commit message: Introduce a dedicated Float64Log machine operator, that is either implemented by a direct C call or by platform specific code, i.e. using the FPU on x64 and ia32. This operator is used to implement Math.log as a proper TurboFan builtin on top of the CodeStubAssembler. Also introduce a NumberLog simplified operator on top of Float64Log and use that for the fast inline path of Math.log inside TurboFan optimized code. BUG= Review-Url: https://codereview.chromium.org/2034393002 Cr-Commit-Position: refs/heads/master@{#36727}
-
- 04 Jun, 2016 1 commit
-
-
oth authored
This change requires a single pass over the register set during bytecode pipeline flushes. A few bytecode tests are updated too because the order of register flushes is different. BUG=v8:4280 LOG=N Review-Url: https://codereview.chromium.org/2033013002 Cr-Commit-Position: refs/heads/master@{#36726}
-