- 27 Sep, 2016 40 commits
-
-
mtrofin authored
BUG= Review-Url: https://codereview.chromium.org/2377683003 Cr-Commit-Position: refs/heads/master@{#39796}
-
titzer authored
[0xC] Convert to stack machine semantics. [0xC] Use section codes instead of names. [0xC] Add elements section decoding. [0xC] Decoding of globals section. [0xC] Decoding of memory section. [0xC] Decoding of imports section. [0xC] Decoding of exports section. [0xC] Decoding of data section. [0xC] Remove CallImport bytecode. [0xC] Function bodies have an implicit block. [0xC] Remove the bottom label from loops. [0xC] Add signatures to blocks. [0xC] Remove arities from branches. Add tests for init expression decoding. Rework compilation of import wrappers and how they are patched. Rework function indices in debugging. Fix ASM->WASM builder for stack machine. Reorganize asm.js foreign functions due to import indices change. R=ahaas@chromium.org,rossberg@chromium.org,bradnelson@chromium.org BUG=chromium:575167 LOG=Y Committed: https://crrev.com/76eb976a67273b8c03c744f64ad850b0432554b9 Review-Url: https://codereview.chromium.org/2345593003 Cr-Original-Commit-Position: refs/heads/master@{#39678} Cr-Commit-Position: refs/heads/master@{#39795}
-
alph authored
BUG=chromium:406277 Review-Url: https://codereview.chromium.org/2369073003 Cr-Commit-Position: refs/heads/master@{#39794}
-
kozyatinskiy authored
If promise was resolved before adding handler in Runtime.evaluate method then this callback won't be called. We need to run microtasks after adding handlers. R=dgozman@chromium.org,alph@chromium.org Review-Url: https://codereview.chromium.org/2371773004 Cr-Commit-Position: refs/heads/master@{#39793}
-
adamk authored
TBR=klaasb@google.com Review-Url: https://codereview.chromium.org/2370033004 Cr-Commit-Position: refs/heads/master@{#39792}
-
gsathya authored
Previously passing in the PromiseNopResolver function to the Promise constructor would result in creating the resolving functions to be in passed in to the executor, but the PromiseNopResolver does not use these resolving functions resulting in wastefully creating these closures. Instead we pass in the promiseRawSymbol to the promise constructor so that these unnecessary resolving functions are not created. BUG=v8:5046 Review-Url: https://codereview.chromium.org/2353303003 Cr-Commit-Position: refs/heads/master@{#39791}
-
adamk authored
R=neis@chromium.org BUG=v8:1569 Review-Url: https://codereview.chromium.org/2376693003 Cr-Commit-Position: refs/heads/master@{#39790}
-
alph authored
Drive-by: Use perfect forwarding for AddTraceEvent arguments. BUG=406277 Committed: https://crrev.com/dcac49af485fe5d4c0027f153901435dbb29c232 Review-Url: https://codereview.chromium.org/2367603002 Cr-Original-Commit-Position: refs/heads/master@{#39742} Cr-Commit-Position: refs/heads/master@{#39789}
-
nikolaos authored
This patch moves the following parsing method to ParserBase: - DesugarAsyncFunctionBody, renamed to ParseAsyncFunctionBody - ParseAsyncFunctionExpression, renamed to ParseAsyncFunctionLiteral - ParseAsyncFunctionDeclaration It renames the parser implementation methods: - ParseArrowFunctionFormalParameterList -> DeclareArrowFunctionFormalParameters - ParseArrowFunctionFormalParameters -> AddArrowFunctionFormalParameters It also eliminates method ParseAsyncArrowSingleExpressionBody. R=adamk@chromium.org, marja@chromium.org BUG= LOG=N Review-Url: https://codereview.chromium.org/2372733002 Cr-Commit-Position: refs/heads/master@{#39788}
-
neis authored
We must not throw when seeing a cycle while trying to resolve a name through star exports. (It may be surprising that we do have to throw when seeing an ambiguity, but this is what the spec says.) R=adamk@chromium.org BUG=v8:1569 Review-Url: https://codereview.chromium.org/2376563002 Cr-Commit-Position: refs/heads/master@{#39787}
-
kozyatinskiy authored
BUG=chromium:644629 R=dgozman@chromium.org Review-Url: https://codereview.chromium.org/2372093002 Cr-Commit-Position: refs/heads/master@{#39786}
-
mlippautz authored
BUG= Review-Url: https://codereview.chromium.org/2371173002 Cr-Commit-Position: refs/heads/master@{#39785}
-
mvstanton authored
This flag is meant to control whether we add a special context-free entry to the optimized code map or not. A usage of the flag was bogus. BUG= Review-Url: https://codereview.chromium.org/2374723002 Cr-Commit-Position: refs/heads/master@{#39784}
-
jgruber authored
SmiMax will be used in a follow-up commit. BUG= Review-Url: https://codereview.chromium.org/2372543002 Cr-Commit-Position: refs/heads/master@{#39783}
-
klaasb authored
When we OSR using Turbofan, we would set the function to be optimized on the next call, irrespective of the runtime profiler's previous decisions - such as compiling for baseline. It seems more prudent to always make these decisions in the runtime profiler where the data is available. Review-Url: https://codereview.chromium.org/2369043002 Cr-Commit-Position: refs/heads/master@{#39782}
-
ulan authored
BUG= Review-Url: https://codereview.chromium.org/2377513007 Cr-Commit-Position: refs/heads/master@{#39781}
-
ulan authored
The same information can be obtained by processing --trace-gc-nvp output or using trace event and GC metric of catapult in Chrome. BUG= Review-Url: https://codereview.chromium.org/2361073002 Cr-Commit-Position: refs/heads/master@{#39780}
-
machenbach authored
The test driver fails once in a while with no output when listing the tests on windows, causing the testing to not even start. This should make that less likely if there's a flaky crash when listing the tests. BUG=v8:5438 Review-Url: https://codereview.chromium.org/2373043002 Cr-Commit-Position: refs/heads/master@{#39779}
-
mlippautz authored
A page now belongs either the nursery *or* the intermediate gen. The page that contained objects of both spaces is removed in this change. BUG=chromium:636331 Review-Url: https://codereview.chromium.org/2209583002 Cr-Commit-Position: refs/heads/master@{#39778}
-
epertoso authored
The bytecode offset parameter was Int32, but everywhere else it's an IntPtr. BUG= Review-Url: https://codereview.chromium.org/2369033003 Cr-Commit-Position: refs/heads/master@{#39777}
-
mstarzinger authored
This makes sure we only replace load operations for fields on virtual objects. Even though data flow information for non-virtual (escaping) allocations is available, it might be inaccurate in certain situations where object state hasn't been cleared. R=jarin@chromium.org TEST=mjsunit/compiler/regress-escape-analysis-indirect Review-Url: https://codereview.chromium.org/2369953002 Cr-Commit-Position: refs/heads/master@{#39776}
-
haraken authored
I need this API for https://codereview.chromium.org/1609343002/. BUG=483722 Review-Url: https://codereview.chromium.org/1627233002 Cr-Commit-Position: refs/heads/master@{#39775}
-
jgruber authored
The call to RegExpSubclassExec may refer to a different exec method since splitter is newly constructed previously to the call. BUG=v8:5351 Review-Url: https://codereview.chromium.org/2370733003 Cr-Commit-Position: refs/heads/master@{#39774}
-
mstarzinger authored
The lowering of {JSToBoolean} operators in {JSTypedLowering} inserts loads that are not part of the effect chain. This does not play well with effect-sensitive data flow analysis (e.g. escape analysis). This removes the lowering in question, we can implement it using a dedicated simplified operator eventually if needed. R=bmeurer@chromium.org TEST=mjsunit/wasm/embenchen/lua_binarytrees Review-Url: https://codereview.chromium.org/2366363003 Cr-Commit-Position: refs/heads/master@{#39773}
-
jgruber authored
These crashes were caused by an invalid pointer stored in a tagged variable in SubStringStub. This can be reproduced by calling the stub on an external string and ensuring GC kicks in on the subsequent allocation. Only the TurboFan implementation of SubStringStub is affected, the current PlatformStub implementation handles this case just fine. BUG=chromium:649967 Review-Url: https://codereview.chromium.org/2374603003 Cr-Commit-Position: refs/heads/master@{#39772}
-
bmeurer authored
Even after https://codereview.chromium.org/2371963002 we might still create JSTypedArray instances where the length field is a HeapNumber, especially when TurboFan no longer canonicalizes all values in Smi range to Smis (which we try to achieve currently). This adds strict checking for this fact now. R=mstarzinger@chromium.org Review-Url: https://codereview.chromium.org/2373013002 Cr-Commit-Position: refs/heads/master@{#39771}
-
hpayer authored
Revert of [heap] Always use the passed-in collector in CollectGarbage. (patchset #1 id:1 of https://codereview.chromium.org/2336943003/ ) Reason for revert: Regresses jank and memory. Revert for offline analysis. Original issue's description: > [heap] Always use the passed-in collector in CollectGarbage. > > Do not overwrite a collector decision. > > BUG= > > Committed: https://crrev.com/c19abaddafb5ede5e0d5efbe608b7fc5d7c7fcd0 > Cr-Commit-Position: refs/heads/master@{#39585} TBR=ulan@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG= Review-Url: https://codereview.chromium.org/2369933004 Cr-Commit-Position: refs/heads/master@{#39770}
-
verwaest authored
BUG= Review-Url: https://codereview.chromium.org/2372703004 Cr-Commit-Position: refs/heads/master@{#39769}
-
marja authored
1) To get proper test coverage for the flag turned off 2) We need more scope analysis in the PreParser to not disable optimizations for some common cases (inner function "var i" shadowing outer function vars). R=verwaest@chromium.org BUG= Review-Url: https://codereview.chromium.org/2365263005 Cr-Commit-Position: refs/heads/master@{#39768}
-
hpayer authored
BUG=chromium:650577,chromium:648568 Review-Url: https://codereview.chromium.org/2372933003 Cr-Commit-Position: refs/heads/master@{#39767}
-
caitp authored
BUG=v8:5268, v8:5162 R=ishell@chromium.org Review-Url: https://codereview.chromium.org/2374703002 Cr-Commit-Position: refs/heads/master@{#39766}
-
caitp authored
Migrate newly added C++ String Iterator builtins to TFJ builtins, per step 4. of the String Iterator Baseline Implementation section of the design doc BUG=v8:5388 R=bmeurer@chromium.org, mstarzinger@chromium.org Review-Url: https://codereview.chromium.org/2358263002 Cr-Commit-Position: refs/heads/master@{#39765}
-
ishell authored
BUG=chromium:576312 Review-Url: https://codereview.chromium.org/2166843002 Cr-Commit-Position: refs/heads/master@{#39764}
-
verwaest authored
BUG= Review-Url: https://codereview.chromium.org/2367383002 Cr-Commit-Position: refs/heads/master@{#39763}
-
bmeurer authored
Turn the StringEqualStub and friends into proper TurboFan builtins, which means that we don't need to do on-demand compilation for those stubs, and use those to defer lowering of the StringEqual, etc. simplified operators to effect/control linearization (i.e. move it to the concurrent recompilation part). BUG=v8:5428 R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2363333003 Cr-Commit-Position: refs/heads/master@{#39762}
-
mvstanton authored
Adding this back in because it's not part of the stability issue. BUG=chromium:649967 TBR=jarin@chromium.org Review-Url: https://codereview.chromium.org/2365373004 Cr-Commit-Position: refs/heads/master@{#39761}
-
caitp authored
BUG=chromium:650172 R=mstarzinger@chromium.org, bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2368323002 Cr-Commit-Position: refs/heads/master@{#39760}
-
ishell authored
Review-Url: https://codereview.chromium.org/2372173002 Cr-Commit-Position: refs/heads/master@{#39759}
-
epertoso authored
They are nops, but will be used when verifying the machine graph. BUG= Review-Url: https://codereview.chromium.org/2367413002 Cr-Commit-Position: refs/heads/master@{#39758}
-
epertoso authored
The MachineOperatorReducer was only reducing word32 expressions of the type x << y | x >>> (32 - y) (and variants) to the equivalent Word32Ror. This CL applies the same pattern-matching logic to Word32Xor. BUG= Committed: https://crrev.com/a86397d890d3caa01a947e2a6e71beb1f58e6e6b Review-Url: https://codereview.chromium.org/2199323003 Cr-Original-Commit-Position: refs/heads/master@{#38284} Cr-Commit-Position: refs/heads/master@{#39757}
-