- 09 Jun, 2016 39 commits
-
-
oth authored
TBR=rmcilroy@chromium.org BUG=chromium:618757 LOG=N Review-Url: https://codereview.chromium.org/2052993002 Cr-Commit-Position: refs/heads/master@{#36875}
-
jyan authored
port 406146ff Original Commit Message: This makes sure we do not compile ToNumber stub on demand. This makes it easier to use during concurrent compilation. R=jarin@chromium.org, 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/2052963003 Cr-Commit-Position: refs/heads/master@{#36874}
-
lpy authored
We ported hashmap.h into libsampler as a workaround before, so the main focus of this patch is to reduce code duplication. This patch moves the hashmap into src/base as well as creates DefaultAllocationPolicy using malloc and free. BUG=v8:5050 LOG=n Review-Url: https://codereview.chromium.org/2010243003 Cr-Commit-Position: refs/heads/master@{#36873}
-
jyan authored
port 546dd77f Original Commit Message: Since some builtins use StringToNumberStub (so the code is always there), it makes more sense to have StringToNumber builtin. R=jarin@chromium.org, 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/2052833003 Cr-Commit-Position: refs/heads/master@{#36872}
-
ishell authored
There are no ICs left that store their state in this field: vector based ICs use feedback vector and the rest three (BinaryOpIC, CompareIC and ToBooleanIC) reconstruct their state from the ExtraICState field. This CL also removes unused InlineCacheState::DEBUG_STUB which was used mostly in Code::is_debug_stub(). The latter now checks if the code is one of the debug builtins instead. BUG=chromium:618701 LOG=Y Review-Url: https://codereview.chromium.org/2052763003 Cr-Commit-Position: refs/heads/master@{#36871}
-
jarin authored
This makes sure we do not compile ToNumber stub on demand. This makes it easier to use during concurrent compilation. Review-Url: https://codereview.chromium.org/2051113002 Cr-Commit-Position: refs/heads/master@{#36870}
-
mstarzinger authored
This removes explicit uses of the RUNTIME_ASSERT macro from some runtime methods. The implicit ones in CONVERT_FOO_ARG_CHECKED will be addressed in a separate CL for all runtime modules at once. R=bmeurer@chromium.org BUG=v8:5066 Review-Url: https://codereview.chromium.org/2057543002 Cr-Commit-Position: refs/heads/master@{#36869}
-
verwaest authored
We have fast-paths in identifier and string scanning that know that so far they have only handled one-byte input. In that case, we can add chars to the literal buffer assuming that it's still in one-byte state, avoiding 2 branches. This seemingly reduces identifier scanning from ~5% to ~4% on octane-codeload. BUG= Review-Url: https://codereview.chromium.org/2044233004 Cr-Commit-Position: refs/heads/master@{#36868}
-
Adam Klein authored
R=rossberg@chromium.org Review URL: https://codereview.chromium.org/2057593002 . Cr-Commit-Position: refs/heads/master@{#36867}
-
titzer authored
R=ahaas@chromium.org,machenbach@chromium.org BUG= Review-Url: https://codereview.chromium.org/2055803002 Cr-Commit-Position: refs/heads/master@{#36866}
-
jyan authored
R=machenbach@chromium.org BUG= Review-Url: https://codereview.chromium.org/2055703002 Cr-Commit-Position: refs/heads/master@{#36865}
-
neis authored
Only look at the --ignition-generators flag when determining whether to use Ignition (in compiler.cc). In generator runtime functions, instead of looking at the flag, determine the generator kind based on whether the generator has a bytecode array. This allows compiling some generator function using full-codegen and others using Ignition, e.g when using --ignition-filter. R=mstarzinger@chromium.org BUG=chromium:618657,v8:4907 Review-Url: https://codereview.chromium.org/2052873002 Cr-Commit-Position: refs/heads/master@{#36864}
-
oth authored
With this change the bytecode array builder only emits expression positions for bytecodes that can throw. This allows more peephole optimization opportunities and results in smaller code. BUG=v8:4280,chromium:615979 LOG=N Review-Url: https://codereview.chromium.org/2038323002 Cr-Commit-Position: refs/heads/master@{#36863}
-
machenbach authored
BUG=chromium:616033 LOG=y Review-Url: https://codereview.chromium.org/2049743002 Cr-Commit-Position: refs/heads/master@{#36862}
-
machenbach authored
Revert of [mb] Switch staging bot to gyp for testing purposes (patchset #1 id:1 of https://codereview.chromium.org/2056673002/ ) Reason for revert: Looks good. Switch back to gn. Original issue's description: > [mb] Switch staging bot to gyp for testing purposes > > This is to test the migration workflow. Will be reverted > afterwards. > > BUG=chromium:616035 > NOTRY=true > TBR=vogelheim@chromium.org, jochen@chromium.org > > Committed: https://crrev.com/6a5d769be2b97a9ebca8ec58496cb20aed077f18 > Cr-Commit-Position: refs/heads/master@{#36848} 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:616035 Review-Url: https://codereview.chromium.org/2050243002 Cr-Commit-Position: refs/heads/master@{#36861}
-
machenbach authored
This ports logic from gyp_chromium to skip gyp by environment variable. The variable name stays the same for chromium and v8 as it is shared across other infra tools. BUG=chromium:474921 NOTRY=true Review-Url: https://codereview.chromium.org/2049683004 Cr-Commit-Position: refs/heads/master@{#36860}
-
machenbach authored
This test gets slower with tsan when the print() calls in the tests are deleted. It is also only very slow with crankshaft not with turbofan, but we have no config atm to only run it with turbofan. TBR=ishell@chromium.org, ahaas@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2049993003 Cr-Commit-Position: refs/heads/master@{#36859}
-
cbruni authored
BUG= NOTRY=Y Review-Url: https://codereview.chromium.org/2045013005 Cr-Commit-Position: refs/heads/master@{#36858}
-
machenbach authored
Reland of [ic] Don't pollute per-map code cache with CompareIC stubs. (patchset #1 id:1 of https://codereview.chromium.org/2055793002/ ) Reason for revert: Not the cause... Original issue's description: > Revert of [ic] Don't pollute per-map code cache with CompareIC stubs. (patchset #1 id:20001 of https://codereview.chromium.org/2053583002/ ) > > Reason for revert: > [Sheriff] Speculative revert. Tail call test timing out: > https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/10014 > > Original issue's description: > > [ic] Don't pollute per-map code cache with CompareIC stubs. > > > > Given that > > 1) because of code flags mismatch we are not able to fetch any CompareIC stub that was put into the cache (we put MONOMORPHIC stubs but query only UNINITIALIZED ones), > > 2) it was already broken for a couple of years, > > 3) we will not need to cache any stub once CompareIC becomes vector-based. > > > > Committed: https://crrev.com/172ddf4250e5c4b7510ce352631fb9f8eb291940 > > Cr-Commit-Position: refs/heads/master@{#36854} > > TBR=verwaest@chromium.org,jkummerow@chromium.org,ishell@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > > Committed: https://crrev.com/1d2ee8fd10adbfa5d213462c46181fa1ca899a61 > Cr-Commit-Position: refs/heads/master@{#36856} TBR=verwaest@chromium.org,jkummerow@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/2051823002 Cr-Commit-Position: refs/heads/master@{#36857}
-
machenbach authored
Revert of [ic] Don't pollute per-map code cache with CompareIC stubs. (patchset #1 id:20001 of https://codereview.chromium.org/2053583002/ ) Reason for revert: [Sheriff] Speculative revert. Tail call test timing out: https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/10014 Original issue's description: > [ic] Don't pollute per-map code cache with CompareIC stubs. > > Given that > 1) because of code flags mismatch we are not able to fetch any CompareIC stub that was put into the cache (we put MONOMORPHIC stubs but query only UNINITIALIZED ones), > 2) it was already broken for a couple of years, > 3) we will not need to cache any stub once CompareIC becomes vector-based. > > Committed: https://crrev.com/172ddf4250e5c4b7510ce352631fb9f8eb291940 > Cr-Commit-Position: refs/heads/master@{#36854} TBR=verwaest@chromium.org,jkummerow@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/2055793002 Cr-Commit-Position: refs/heads/master@{#36856}
-
oth authored
The optimization stages in the bytecode generation pipeline must preserve source position information. Failure to preserve source position information could result in single stepping in the debugger misbehaving or mis-reporting in exception stack traces. This change adds tests intended to check optimizations do not damage source position info. BUG=v8:4280 LOG=N Review-Url: https://codereview.chromium.org/2042633002 Cr-Commit-Position: refs/heads/master@{#36855}
-
ishell authored
Given that 1) because of code flags mismatch we are not able to fetch any CompareIC stub that was put into the cache (we put MONOMORPHIC stubs but query only UNINITIALIZED ones), 2) it was already broken for a couple of years, 3) we will not need to cache any stub once CompareIC becomes vector-based. Review-Url: https://codereview.chromium.org/2053583002 Cr-Commit-Position: refs/heads/master@{#36854}
-
ahaas authored
R=machenbach@chromium.org Review-Url: https://codereview.chromium.org/2045253006 Cr-Commit-Position: refs/heads/master@{#36853}
-
mstarzinger authored
This removes explicit uses of the RUNTIME_ASSERT macro from some runtime methods. The implicit ones in CONVERT_FOO_ARG_CHECKED will be addressed in a separate CL for all runtime modules at once. R=bmeurer@chromium.org BUG=v8:5066 Review-Url: https://codereview.chromium.org/2045193002 Cr-Commit-Position: refs/heads/master@{#36852}
-
mlippautz authored
This reverts commit 0bccf3e6. R=ulan@chromium.org Review-Url: https://codereview.chromium.org/2049063004 Cr-Commit-Position: refs/heads/master@{#36851}
-
mlippautz authored
Revert of [heap] Fix Sweeper::IsSweepingCompleted (patchset #1 id:1 of https://codereview.chromium.org/2047013004/ ) Reason for revert: https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/10009 Original issue's description: > [heap] Fix Sweeper::IsSweepingCompleted > > R=ulan@chromium.org > > Committed: https://crrev.com/b4475fff4fe1c423a3c8c3b072e09becd6b2f8ed > Cr-Commit-Position: refs/heads/master@{#36845} TBR=ulan@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/2053623002 Cr-Commit-Position: refs/heads/master@{#36850}
-
jkummerow authored
- include non-default prototypes (useful for TypedArrays) - print value of string/number properties (avoids endless recursion) Review-Url: https://codereview.chromium.org/2048593004 Cr-Commit-Position: refs/heads/master@{#36849}
-
machenbach authored
This is to test the migration workflow. Will be reverted afterwards. BUG=chromium:616035 NOTRY=true TBR=vogelheim@chromium.org, jochen@chromium.org Review-Url: https://codereview.chromium.org/2056673002 Cr-Commit-Position: refs/heads/master@{#36848}
-
machenbach authored
This adds a minimal mb config to switch the v8 staging bot to mb. External mb documentation: https://chromium.googlesource.com/chromium/src/tools/mb/+/HEAD/docs/user_guide.md After this is tested on the staging bot, mb configs for the remaining bots will be provided and all bots will be systematically switched. BUG=chromium:616035 NOTRY=true Review-Url: https://codereview.chromium.org/2024893002 Cr-Commit-Position: refs/heads/master@{#36847}
-
yangguo authored
R=adamk@chromium.org, jochen@chromium.org BUG=chromium:618595 Review-Url: https://codereview.chromium.org/2050733004 Cr-Commit-Position: refs/heads/master@{#36846}
-
mlippautz authored
R=ulan@chromium.org Review-Url: https://codereview.chromium.org/2047013004 Cr-Commit-Position: refs/heads/master@{#36845}
-
ishell authored
Now they use a proper way of checking if the snapshot is available or not. Review-Url: https://codereview.chromium.org/2054693002 Cr-Commit-Position: refs/heads/master@{#36844}
-
jarin authored
Since some builtins use StringToNumberStub (so the code is always there), it makes more sense to have StringToNumber builtin. Review-Url: https://codereview.chromium.org/2050853003 Cr-Commit-Position: refs/heads/master@{#36843}
-
danno authored
Review-Url: https://codereview.chromium.org/2056503003 Cr-Commit-Position: refs/heads/master@{#36842}
-
bmeurer authored
R=yangguo@chromium.org Review-Url: https://codereview.chromium.org/2054543003 Cr-Commit-Position: refs/heads/master@{#36841}
-
bmeurer authored
When walking up the prototype chain during OrdinaryHasInstance, we first check if the current prototype equals the expected one, and only afterwards check the current prototype against null. That's obviously wrong if we check something like Proxy, whose prototype is null. R=yangguo@chromium.org BUG=v8:5085 Review-Url: https://codereview.chromium.org/2041103007 Cr-Commit-Position: refs/heads/master@{#36840}
-
jarin authored
Type feedback introduced DeoptimizeIf node in representation inference (for Int32AddWithOverflow); we found the frame state for the deopt by walking the effect chain. Unfortunately, the effect chain can hit effect merges introduced by simplified lowering (e.g., in LoadBuffer) and thus fail the assertion (we refuse to go through effect phis). This CL postpones assignment of the frame state to the effect-control lninearizer, so that we can correctly propagate the frame state to the deopt point. The DeoptimizeIf node with unassigned frame state is called CheckIf. BUG= Review-Url: https://codereview.chromium.org/2050813003 Cr-Commit-Position: refs/heads/master@{#36839}
-
alph authored
Move is_profiling to the isolate for now. BUG=v8:4789 Review-Url: https://codereview.chromium.org/2040683002 Cr-Commit-Position: refs/heads/master@{#36838}
-
v8-autoroll authored
Rolling v8/build to 4842479bd8da7b9e5eb027f8c15bee533f9c328f Rolling v8/buildtools to 099f1da55bfe8caa12266371a7eb983698fb1d87 TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review-Url: https://codereview.chromium.org/2056613002 Cr-Commit-Position: refs/heads/master@{#36837}
-
- 08 Jun, 2016 1 commit
-
-
alph authored
Make it a part of V8 API GetStackSample function. Also expose external_callback_entry in SampleInfo to break dependency of clients on internal V8 structures. BUG=v8:4789 Committed: https://crrev.com/70acfe39c07322144f5fe9b40bb584a8b1099ffd Review-Url: https://codereview.chromium.org/2007343003 Cr-Original-Commit-Position: refs/heads/master@{#36831} Cr-Commit-Position: refs/heads/master@{#36836}
-