- 30 Dec, 2016 4 commits
-
-
gsathya authored
This refactors the logic from within the FastNewObject TF_BUILTIN to a helper method which can be reused in other assemblers. This saves the overhead of setting up the stub and calling into it. A wrapper method is created for functions that don't need to tail call into the runtime. PromiseBuiltinsAssembler and RegexpBuiltinsAssembler are refactored to use EmitFastNewObject. Review-Url: https://codereview.chromium.org/2607233002 Cr-Commit-Position: refs/heads/master@{#42000}
-
adamk authored
R=bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2602903005 Cr-Commit-Position: refs/heads/master@{#41999}
-
v8-autoroll authored
Rolling v8/third_party/catapult: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+log/1e8a2ca..9ddf248 TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review-Url: https://codereview.chromium.org/2601373002 Cr-Commit-Position: refs/heads/master@{#41998}
-
gsathya authored
R=adamk@chromium.org BUG=v8:5343 Review-Url: https://codereview.chromium.org/2608843002 Cr-Commit-Position: refs/heads/master@{#41997}
-
- 29 Dec, 2016 13 commits
-
-
bjaideep authored
Port 05873add Port f2e8c978 Original commit message: The following ported to builtins: FastCloneRegExp FastCloneShallowArray FastCloneShallowObject R=mvstanton@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG= LOG=N Review-Url: https://codereview.chromium.org/2603003002 Cr-Commit-Position: refs/heads/master@{#41996}
-
gsathya authored
R=adamk@chromium.org, caitp@igalia.com BUG=v8:5343 Review-Url: https://codereview.chromium.org/2603033002 Cr-Commit-Position: refs/heads/master@{#41995}
-
adamk authored
This looks like it was leftover from strong mode; default class constructors are always in strict mode. R=littledan@chromium.org Review-Url: https://codereview.chromium.org/2601123002 Cr-Commit-Position: refs/heads/master@{#41994}
-
Michael Achenbach authored
Cr-Commit-Position: refs/heads/master@{#41993}
-
bjaideep authored
Port 5b02a98b Original Commit Message: In the process, convert from a code stub into a builtin. R=danno@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG= LOG=N Review-Url: https://codereview.chromium.org/2601243003 Cr-Commit-Position: refs/heads/master@{#41992}
-
gsathya authored
This patch stores the promise, resolve, reject properties of the deferred object created by CreateInternalPromiseCapability and NewPromiseCapability directly on the promise (if the promise hasn't been fulfilled), otherwise they are stored on the PromiseReactionJobInfo. This patch removes the currently unused CreateInternalPromiseCapability and inlines the call to create the deferred promise object. NewPromiseCapability is the only function that works with a deferred. This patch results in a 8.5% improvement in benchmarks over 5 runs. BUG=v8:5343 Review-Url: https://codereview.chromium.org/2590563003 Cr-Commit-Position: refs/heads/master@{#41991}
-
Michael Achenbach authored
Cr-Commit-Position: refs/heads/master@{#41990}
-
mvstanton authored
The following ported to builtins: FastCloneRegExp FastCloneShallowArray FastCloneShallowObject BUG= TBR=rmcilroy@chromium.org, rossberg@chromium.org Review-Url: https://codereview.chromium.org/2605893002 Cr-Commit-Position: refs/heads/master@{#41989}
-
mvstanton authored
BUG= TBR=rmcilroy@chromium.org Review-Url: https://codereview.chromium.org/2604833004 Cr-Commit-Position: refs/heads/master@{#41988}
-
mvstanton authored
BUG= R=epertoso@chromium.org Review-Url: https://codereview.chromium.org/2602903004 Cr-Commit-Position: refs/heads/master@{#41987}
-
danno authored
In the process, convert from a code stub into a builtin. Review-Url: https://codereview.chromium.org/2606733002 Cr-Commit-Position: refs/heads/master@{#41986}
-
danno authored
R=mvstanton@chromium.org TBR=rmcilroy@chromium.org Review-Url: https://codereview.chromium.org/2608683002 Cr-Commit-Position: refs/heads/master@{#41985}
-
v8-autoroll authored
Rolling v8/tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/d79b0df..432074b TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review-Url: https://codereview.chromium.org/2601243002 Cr-Commit-Position: refs/heads/master@{#41984}
-
- 28 Dec, 2016 16 commits
-
-
machenbach authored
TBR=mstarzinger@chromium.org,bmeurer@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2605113002 Cr-Commit-Position: refs/heads/master@{#41983}
-
gsathya authored
Add test as well. Add regression test for passing uninitialized promises to init hook BUG=v8:4643 Review-Url: https://codereview.chromium.org/2578173004 Cr-Commit-Position: refs/heads/master@{#41982}
-
jbarboza authored
Section 3.2 of the C++ standard states that destructor definitions implicitly "use" operator delete functions. Therefore, these operator delete functions must be defined even if they are never called by user code explicitly. http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#261 gcc allows them to remain as empty definitions. However, not all compilers allow this. (e.g. xlc on zOS) This pull request creates definitions which if ever called, result in an abort. R=danno@chromium.org,jochen@chromium.org BUG= LOG=N Review-Url: https://codereview.chromium.org/2588433002 Cr-Commit-Position: refs/heads/master@{#41981}
-
Michael Achenbach authored
Cr-Commit-Position: refs/heads/master@{#41980}
-
epertoso authored
We currently use BitcastTaggedToWord only in from the code assemblers to verify the correctness of the operation. BUG= Review-Url: https://codereview.chromium.org/2605073002 Cr-Commit-Position: refs/heads/master@{#41979}
-
joransiu authored
In fast-allocate, the path that leverages Add Mem-Imm fails to take into account that the allocation size may be adjusted by kDoubleSize/2 for alignment. Limit this instruction to 64-bit only. Also guard PFDs with the proper facility check. R=jyan@ca.ibm.com, michael_dawson@ca.ibm.com, bjaideep@ca.ibm.com BUG= Review-Url: https://codereview.chromium.org/2605063002 Cr-Commit-Position: refs/heads/master@{#41978}
-
danno authored
R=ishell@chromium.org LOG=N Review-Url: https://codereview.chromium.org/2608433003 Cr-Commit-Position: refs/heads/master@{#41977}
-
danno authored
Before this patch, loops in deferred code would defeat the propagation of the deferred flag, since back edges would usually not come from deferred blocks, thus stoping the forward propagation of the deferred flag at loop headers. This patch ensures that back edges are ignored in the deferred propations, properly placing loops dominated by deferred labels and the code that follows them into deferred code. R=epertoso@chromium.org LOG=N Review-Url: https://codereview.chromium.org/2606923002 Cr-Commit-Position: refs/heads/master@{#41976}
-
danno authored
Instead of loading the address both the limit and top pointers, rely on the property that the limit pointer is always directly after the top pointer so that it can be loaded with the limit pointer's address plus a fixed offset. This generates smaller code and reduces the number of registers required by the allocation sequence by one. LOG=N R=epertoso@chromium.org Review-Url: https://codereview.chromium.org/2605043002 Cr-Commit-Position: refs/heads/master@{#41975}
-
danno authored
Before this patch, Loads generated in the CSA on x64 that have a zero offset displacement will add a zero to the effective address rather than using an addressing mode that folds away the zero. This functionality already exists on ia32, but the port wasn't purely mechanical so it hadn't been done on x64. R=epertoso@chromium.org LOG=N Review-Url: https://codereview.chromium.org/2602893002 Cr-Commit-Position: refs/heads/master@{#41974}
-
ishell authored
... and add explicit CallPrologue/CallEpilogue callbacks to CodeAssemblerState instead. This will allow IntepreterAssembler to use any other helper assembler. TBR=rmcilroy@chromium.org BUG= Review-Url: https://codereview.chromium.org/2600183004 Cr-Commit-Position: refs/heads/master@{#41973}
-
danno authored
Specifically, don't propage "needs_frame" up through non-deferred -> deferred block transitions where there are multiple edges from the non-deferred to deferred code. LOG=N R=epertoso@chromium.org Review-Url: https://codereview.chromium.org/2606893002 Cr-Commit-Position: refs/heads/master@{#41972}
-
danno authored
Recognize and emit in-memory comparisons of 8-bit and 16-bit values with immediate values that fit. LOG=N R=epertoso@chromium.org Review-Url: https://codereview.chromium.org/2605863002 Cr-Commit-Position: refs/heads/master@{#41971}
-
mvstanton authored
This aids in TurboFan concurrent compilation, a general good. TBR for Ross, on vacation... TBR=rmcilroy@chromium.org BUG= Review-Url: https://codereview.chromium.org/2607563002 Cr-Commit-Position: refs/heads/master@{#41970}
-
epertoso authored
BUG= Review-Url: https://codereview.chromium.org/2601043002 Cr-Commit-Position: refs/heads/master@{#41969}
-
v8-autoroll authored
Rolling v8/tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/7018464..d79b0df TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review-Url: https://codereview.chromium.org/2607693002 Cr-Commit-Position: refs/heads/master@{#41968}
-
- 27 Dec, 2016 7 commits
-
-
adamk authored
The rest of the cases I found are places where the runtime function calls some API that takes handles but itself uses HandleScopes internally where needed. R=gsathya@chromium.org BUG=v8:5783 Review-Url: https://codereview.chromium.org/2600993002 Cr-Commit-Position: refs/heads/master@{#41967}
-
bjaideep authored
Reason for revert: Original CL was reverted, https://codereview.chromium.org/2597163002 Original issue's description: > PPC/s390: [TypeFeedbackVector] Root literal arrays in function literals slots > > Port 93df0940 > > Original Commit Message: > > Literal arrays and feedback vectors for a function can be garbage > collected if we don't have a rooted closure for the function, which > happens often. It's expensive to come back from this (recreating > boilerplates and gathering feedback again), and the cost is > disproportionate if the function was inlined into optimized code. > > To guard against losing these arrays when we need them, we'll now > create literal arrays when creating the feedback vector for the outer > closure, and root them strongly in that vector. > > R=mvstanton@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com > BUG=v8:5456 > LOG=N > > Review-Url: https://codereview.chromium.org/2592043003 > Cr-Commit-Position: refs/heads/master@{#41898} > Committed: https://chromium.googlesource.com/v8/v8/+/19aa7a20b0c39ea9ef81d6e021863183732f82c0 R=mvstanton@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG=v8:5456 LOG=N Review-Url: https://codereview.chromium.org/2601793002 Cr-Commit-Position: refs/heads/master@{#41966}
-
littledan authored
Review-Url: https://codereview.chromium.org/2595403002 Cr-Commit-Position: refs/heads/master@{#41965}
-
gsathya authored
R=adamk@chromium.org BUG=v8:5783 Review-Url: https://codereview.chromium.org/2608433002 Cr-Commit-Position: refs/heads/master@{#41964}
-
adamk authored
R=gsathya@chromium.org BUG=v8:5783 Review-Url: https://codereview.chromium.org/2603783003 Cr-Commit-Position: refs/heads/master@{#41963}
-
adamk authored
The only caller was the API, and it can just as easily use the TurboFan version. R=franzih@chromium.org Review-Url: https://codereview.chromium.org/2603493002 Cr-Commit-Position: refs/heads/master@{#41962}
-
adamk authored
The TF version of this operation was missing a ToObject coercion, so failed to do @@toStringTag lookups when passed primitive values. R=franzih@chromium.org BUG=v8:5780 Review-Url: https://codereview.chromium.org/2597323002 Cr-Commit-Position: refs/heads/master@{#41961}
-