- 12 Jul, 2016 6 commits
-
-
ahaas authored
I removed or replaced some values in the list of float and double values in value-helper.h which cannot be represented precisely as floats or doubles, respectively. R=titzer@chromium.org Review-Url: https://codereview.chromium.org/2135243004 Cr-Commit-Position: refs/heads/master@{#37671}
-
mstarzinger authored
This removes the checking for use-def and def-use chain links from the graph verification. Presence of such links can only be violated by a bug in the actual {Node} implementation itself. That container class is also covered by unit tests. The verification in question was useful in the early days when the graph implementation itself was prone to bugs. By now it has stabilized and spending O(n^2) time during graph verification is too wasteful to still be considered a reasonable trade-off. R=jarin@chromium.org TEST=unittests/NodeTest.* Review-Url: https://codereview.chromium.org/2140973003 Cr-Commit-Position: refs/heads/master@{#37670}
-
bmeurer authored
The PlainPrimitiveToNumber operator performs a superset of the operations previously performed by the BooleanToNumber and StringToNumber operators, so we can just use the special lowering rules for PlainPrimitiveToNumber based on the input type and get rid of the specialized operators. R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2139183002 Cr-Commit-Position: refs/heads/master@{#37669}
-
danno authored
This CL separates the check whether something is tail-callable from the computation of the size of the stack parameters that a function takes. In order to track this precisely, the stack parameter size calculation uses the recently landed MachineType information that's embedded in return and parameter value LinkageLocations. Review-Url: https://codereview.chromium.org/2121753002 Cr-Commit-Position: refs/heads/master@{#37668}
-
bmeurer authored
Remove obsolete definitions from macros.py, and drop the now obsolete %_ToPrimitive, %_ToPrimitive_Number, %_ToPrimitive_String, %_ToName and the %ToPrimitive_String intrinsics/runtime entries. R=yangguo@chromium.org BUG=v8:5049 Review-Url: https://codereview.chromium.org/2137203002 Cr-Commit-Position: refs/heads/master@{#37665}
-
yangguo authored
R=franzih@chromium.org BUG=chromium:515897 Review-Url: https://codereview.chromium.org/2137033002 Cr-Commit-Position: refs/heads/master@{#37664}
-
- 11 Jul, 2016 20 commits
-
-
jochen authored
Instead just return undefined A side effect of this is that it's no longer possible to compile functions in a detached context. BUG=chromium:541703 R=verwaest@chromium.org,bmeurer@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng Review-Url: https://codereview.chromium.org/2034083002 Cr-Commit-Position: refs/heads/master@{#37657}
-
jwolfe authored
When the scanner finds a '-->', it's either part of an HTMLCloseComment or a '--' followed by a '>'. Previously, only a preceding newline would make it an HTMLCloseComment. Now, a preceding multiline comment also makes it an HTMLCloseComment. The effect is that now the following is not a SyntaxError: x/* */-->this is now a comment BUG=v8:5142 LOG=y Review-Url: https://codereview.chromium.org/2119763003 Cr-Commit-Position: refs/heads/master@{#37656}
-
littledan authored
This patch just checks for a stack overflow and returns failure from the cases which Clusterfuzz found. However, there may be more locations in the parser which need similar treatment. R=caitpotter88@gmail.com,neis BUG=v8:4483,chromium:624300 Review-Url: https://codereview.chromium.org/2135503002 Cr-Commit-Position: refs/heads/master@{#37655}
-
bbudge authored
LOG=N BUG=v8:4124 Review-Url: https://codereview.chromium.org/2139513002 Cr-Commit-Position: refs/heads/master@{#37654}
-
aseemgarg authored
BUG=613928 R=bradnelson@chromium.org TEST=regress-613928.js Review-Url: https://codereview.chromium.org/2123283007 Cr-Commit-Position: refs/heads/master@{#37653}
-
ishell authored
[runtime] Follow-up fix for "Better encapsulation of dictionary objects handling in lookup iterator." BUG=chromium:626715 Review-Url: https://codereview.chromium.org/2135253002 Cr-Commit-Position: refs/heads/master@{#37651}
-
hpayer authored
BUG= Review-Url: https://codereview.chromium.org/2138783002 Cr-Commit-Position: refs/heads/master@{#37648}
-
mstarzinger authored
This removes the frame state input representing the before-state from nodes having any comparison operator. Lowering that inserts number conversions of the inputs has to be disabled when deoptimization is enabled, because the frame state layout is no longer known. R=jarin@chromium.org BUG=v8:5021 Review-Url: https://codereview.chromium.org/2134173002 Cr-Commit-Position: refs/heads/master@{#37646}
-
mstarzinger authored
This extends pretenuring decisions based on allocation sites to heap numbers that are allocated as part of object literals. It ensures memory locality of a bigger enclosure of the deep copy of an object literal. R=bmeurer@chromium.org TEST=cctest/test-heap/OptimizedPretenuringMixedInObjectProperties Review-Url: https://codereview.chromium.org/2135933002 Cr-Commit-Position: refs/heads/master@{#37645}
-
titzer authored
R=ahaas@chromium.org BUG= Review-Url: https://codereview.chromium.org/2135693002 Cr-Commit-Position: refs/heads/master@{#37642}
-
peterssen authored
BUG=chromium:508898 Review-Url: https://codereview.chromium.org/2135153002 Cr-Commit-Position: refs/heads/master@{#37640}
-
rmcilroy authored
BUG=v8:4280 Review-Url: https://codereview.chromium.org/2128233002 Cr-Commit-Position: refs/heads/master@{#37637}
-
mstarzinger authored
R=titzer@chromium.org Review-Url: https://codereview.chromium.org/2132373002 Cr-Commit-Position: refs/heads/master@{#37635}
-
caitp authored
BUG=v8:5174, v8:1543 R=cbruni@chromium.org, littledan@chromium.org Review-Url: https://codereview.chromium.org/2129193003 Cr-Commit-Position: refs/heads/master@{#37634}
-
danno authored
By adding MachineType to LinkageLocation, it is possible not only to reason about the location of a LinkageLocation on the stack, but also about it's size. This will be useful in follow-on CLs that attempt to merge some of the parameter passing logic of tail calls and normal (non-tail) calls. As a nice side-effect, it is no longer necessary to separately keep a MachineSignature in a CallDescriptor, because the MachineTypes contianed in LinkageLocation for all of the Descriptor's parameters and return types are sufficient. This CL therefore removes the MachineSignature from the CallDescriptor and adjusts all the calling code accordingly, simplifying and de-duplicating code in a bunch of places. R=titzer@chromium.org, bmeurer@chromium.org LOG=N Review-Url: https://codereview.chromium.org/2124023003 Cr-Commit-Position: refs/heads/master@{#37633}
-
jgruber authored
CallSite::IsConstructor() was unable to recognize builtin construct stubs (NumberConstructor_ConstructStub and StringConstructor_ConstructStub) as constructors, and thus these frames were not formatted correctly in stack traces. Fix this by explicitly marking their Code objects as construct stubs and passing along a special receiver value when we encounter such cases in CaptureSimpleStackTrace. R=mstarzinger@chromium.org, yangguo@chromium.org BUG= Review-Url: https://codereview.chromium.org/2125163004 Cr-Commit-Position: refs/heads/master@{#37631}
-
mstarzinger authored
This enables tests which verify allocation site feedback is used and influences pretenuring decisions. By now TurboFan is respecting such feedback. Ignition however doesn't provide such feedback yet. R=mvstanton@chromium.org Review-Url: https://codereview.chromium.org/2135563003 Cr-Commit-Position: refs/heads/master@{#37628}
-
machenbach authored
Revert "Move SimulatorHelper into V8 out of profiler clients." This reverts commit b8372411. Revert "Make use of v8::TickSample instead of v8::internal::TickSample in logger." This reverts commit c3a16f0a. Revert "Clean up SimulatorHelper code." This reverts commit 8ee236e1. BUG=v8:5193 TBR=alph@chromium.org, yangguo@chromium.org Review-Url: https://codereview.chromium.org/2138643003 Cr-Commit-Position: refs/heads/master@{#37626}
-
yangguo authored
R=bmeurer@chromium.org, littledan@chromium.org BUG=v8:5167 Review-Url: https://codereview.chromium.org/2124813002 Cr-Commit-Position: refs/heads/master@{#37623}
-
bmeurer authored
Consume Smi/Signed32 feedback for division and modulus and introduce appropriate checked operators. This is especially important for modulus where the Float64Mod operator is significantly slower than Int32Mod on most platforms. For division it's mostly important to propagate integerness, i.e. to avoid follow-up conversions between float and int32. Drive-by-fix: Use Int32Mod for the ModulusStub (and the bytecode handler) when the inputs are both Smi. R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2138633002 Cr-Commit-Position: refs/heads/master@{#37621}
-
- 08 Jul, 2016 8 commits
-
-
alph authored
Clients should not know about the simulator. BUG=v8:4789 Review-Url: https://codereview.chromium.org/2128613004 Cr-Commit-Position: refs/heads/master@{#37617}
-
littledan authored
The Intl code previously called the initial value of String.prototype.split for some internal operations. However, this did not have the intended effect as Intl only needs to split strings by strings, but String.prototype.split has integration with Symbol.split for RegExps. This patch replaces the calls of StringSplit in the Intl implementation with direct calls to the %StringSplit runtime function to avoid the issue. R=yangguo@chromium.org BUG=v8:5179 Review-Url: https://codereview.chromium.org/2126073002 Cr-Commit-Position: refs/heads/master@{#37615}
-
alph authored
Isolate is not going to retain a CPU profiler. The client will be creating an instance of profiler when needed. Deprectate v8::Isolate::GetCpuProfiler() BUG=v8:4789 Review-Url: https://codereview.chromium.org/2117343006 Cr-Commit-Position: refs/heads/master@{#37613}
-
mstarzinger authored
R=yangguo@chromium.org Review-Url: https://codereview.chromium.org/2127423002 Cr-Commit-Position: refs/heads/master@{#37609}
-
Michael Starzinger authored
This enables tests which rely on the context available at "debugger" statements to be accurate. This is the case by now when deoptimization information is available. R=yangguo@chromium.org BUG=v8:4055 Review URL: https://codereview.chromium.org/2129123002 . Cr-Commit-Position: refs/heads/master@{#37604}
-
yangguo authored
R=bmeurer@chromium.org, mstarzinger@chromium.org, rmcilroy@chromium.org Review-Url: https://codereview.chromium.org/2112853002 Cr-Commit-Position: refs/heads/master@{#37602}
-
lpy authored
BUG= Review-Url: https://codereview.chromium.org/2125023004 Cr-Commit-Position: refs/heads/master@{#37599}
-
jgruber authored
BUG=v8:5173 R=bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2118283003 Cr-Commit-Position: refs/heads/master@{#37598}
-
- 07 Jul, 2016 6 commits
-
-
ben authored
Fix a TypeError when putting together the invocationText for a symbol method's stack frame. See https://github.com/nodejs/node/issues/7536. Review-Url: https://codereview.chromium.org/2122793003 Cr-Commit-Position: refs/heads/master@{#37597}
-
franzih authored
Drive-by-fix: hydrogen code does not blindly return the byteLength offset, instead it executes what is defined in the byteLength getter. BUG= Review-Url: https://codereview.chromium.org/2123263002 Cr-Commit-Position: refs/heads/master@{#37595}
-
jochen authored
Such an object can be used to later create a context from it. It has to have access checks with handlers enabled, as it cannot be accessed otherwise. BUG=chromium:618305 R=verwaest@chromium.org Review-Url: https://codereview.chromium.org/2107673003 Cr-Commit-Position: refs/heads/master@{#37594}
-
mstarzinger authored
This enables tests which rely on the context available at "debugger" statements to be accurate. This is the case by now when deoptimization information is available. R=mvstanton@chromium.org BUG=v8:4035 Review-Url: https://codereview.chromium.org/2125773005 Cr-Commit-Position: refs/heads/master@{#37590}
-
mstarzinger authored
R=mvstanton@chromium.org Review-Url: https://codereview.chromium.org/2127093002 Cr-Commit-Position: refs/heads/master@{#37589}
-
mstarzinger authored
R=mvstanton@chromium.org BUG=v8:4458 Review-Url: https://codereview.chromium.org/2129903002 Cr-Commit-Position: refs/heads/master@{#37584}
-