- 30 Sep, 2016 19 commits
-
-
mlippautz authored
R=hpayer@chromium.org TEST=test-heap/Regress598319 Review-Url: https://codereview.chromium.org/2381493004 Cr-Commit-Position: refs/heads/master@{#39912}
-
rmcilroy authored
Review-Url: https://codereview.chromium.org/2385653002 Cr-Commit-Position: refs/heads/master@{#39911}
-
marja authored
It was meant to be recursive. BUG= Review-Url: https://codereview.chromium.org/2381283002 Cr-Commit-Position: refs/heads/master@{#39910}
-
machenbach authored
Revert "[inspector] added inspector test runner [part 1]" This reverts commit dc1c71c0. Revert "[inspector] added inspector test runner [part 2]" This reverts commit cceaa122. Blocks the roll: https://codereview.chromium.org/2379053003/ In particular android debug: https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/137605 BUG=chromium:635948 TBR=kozyatinskiy@chromium.org, NOTRY=true Review-Url: https://codereview.chromium.org/2387603002 Cr-Commit-Position: refs/heads/master@{#39909}
-
machenbach authored
Revert "[inspector] added inspector test runner [part 3]" This reverts commit f3f9f444. Revert "[inspector] added inspector test runner [part 4]" This reverts commit 4a5f5d09. Revert "[inspector] added inspector test runner [part 5]" This reverts commit 9ddbdab1. Reverting this in order to revert parts 1-2 which block the roll: https://codereview.chromium.org/2379053003/ BUG=chromium:635948 TBR=kozyatinskiy@chromium.org, NOTRY=true Review-Url: https://codereview.chromium.org/2379303002 Cr-Commit-Position: refs/heads/master@{#39908}
-
caitp authored
Seems to be pretty perf-neutral (for the benchmarks we have in the tree) against the pre-flattened version. BUG=v8:5388 R=bmeurer@chromium.org, adamk@chromium.org, littledan@chromium.org Review-Url: https://codereview.chromium.org/2382013002 Cr-Commit-Position: refs/heads/master@{#39907}
-
ivica.bogosavljevic authored
Port f84f45f9 Original commit message: When zeroing a floating point stack slot, store the zero register directly, rather than storing zero moved to an FP register. BUG= Review-Url: https://codereview.chromium.org/2364903002 Cr-Commit-Position: refs/heads/master@{#39906}
-
rmcilroy authored
There are only a few occasions where we allocate a register in an outer expression allocation scope, which makes the costly free-list approach of the BytecodeRegisterAllocator unecessary. This CL replaces all occurrences with moves to the accumulator and stores to a register allocated in the correct scope. By doing this, we can simplify the BytecodeRegisterAllocator to be a simple bump-pointer allocator with registers released in the same order as allocated. The following changes are also made: - Make BytecodeRegisterOptimizer able to use registers which have been unallocated, but not yet reused - Remove RegisterExpressionResultScope and rename AccumulatorExpressionResultScope to ValueExpressionResultScope - Introduce RegisterList to represent consecutive register allocations, and use this for operands to call bytecodes. By avoiding the free-list handling, this gives another couple of percent on CodeLoad. BUG=v8:4280 Review-Url: https://codereview.chromium.org/2369873002 Cr-Commit-Position: refs/heads/master@{#39905}
-
balazs.kilvady authored
BUG= Review-Url: https://codereview.chromium.org/2374013004 Cr-Commit-Position: refs/heads/master@{#39904}
-
neis authored
BUG=v8:5449 R=machenbach@chromium.org TBR=littledan@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2383003002 Cr-Commit-Position: refs/heads/master@{#39903}
-
cbruni authored
Review-Url: https://codereview.chromium.org/2383473003 Cr-Commit-Position: refs/heads/master@{#39902}
-
nikolaos authored
This patch moves the method ParseFunctionDeclaration to ParserBase. It also cleans up some forgotten method headers in parser and preparser. R=adamk@chromium.org, verwaest@chromium.org BUG= LOG=N Review-Url: https://codereview.chromium.org/2376293002 Cr-Commit-Position: refs/heads/master@{#39901}
-
neis authored
Before evaluating a module, all variables declared at the top-level in _any_ of the modules in the dependency graph must be initialized. This is observable because a module A can access a variable imported from module B (e.g. a function) at a point when module B's body hasn't been evaluated yet. We achieve this by implementing modules internally as generators with two states (not initialized, initialized). R=adamk@chromium.org BUG=v8:1569 CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_win_dbg Committed: https://crrev.com/f4dfb6fbe1cdd9a0f287a1a9c496e1f69f6f5d20 Committed: https://crrev.com/8c52a411583e870bd5ed100864caa58f491c5d88 Review-Url: https://codereview.chromium.org/2375793002 Cr-Original-Original-Commit-Position: refs/heads/master@{#39871} Cr-Original-Commit-Position: refs/heads/master@{#39892} Cr-Commit-Position: refs/heads/master@{#39900}
-
jgruber authored
This ports RegExp.prototype.exec to a TurboFan builtin. LastMatchInfo is now stored on the context in order to be able to access it from the stub. Unmodified RegExp instances go through a fast path of accessing the lastIndex property as an in-object field, while modified instances call into runtime for lastIndex loads and stores. Octane/regexp shows slight improvements (between 0 and 5%) with this CL. BUG=v8:5339 Review-Url: https://codereview.chromium.org/2375953002 Cr-Commit-Position: refs/heads/master@{#39899}
-
machenbach authored
TBR=jochen@chromium.org, neis@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2374253008 Cr-Commit-Position: refs/heads/master@{#39898}
-
kozyatinskiy authored
- added most part of inspector tests that depends only on JavaScript domains. BUG=chromium:635948 R=dgozman@chromium.org,alph@chromium.org Review-Url: https://codereview.chromium.org/2369753004 Cr-Commit-Position: refs/heads/master@{#39897}
-
bmeurer authored
Revert of Reland: [modules] Properly initialize declared variables. (patchset #6 id:100001 of https://codereview.chromium.org/2375793002/ ) Reason for revert: Speculative revert for christmas tree Original issue's description: > Reland: [modules] Properly initialize declared variables. > > Before evaluating a module, all variables declared at the top-level > in _any_ of the modules in the dependency graph must be initialized. > This is observable because a module A can access a variable imported > from module B (e.g. a function) at a point when module B's body hasn't > been evaluated yet. > > We achieve this by implementing modules internally as generators with > two states (not initialized, initialized). > > R=adamk@chromium.org > BUG=v8:1569 > CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_win_dbg > > Committed: https://crrev.com/f4dfb6fbe1cdd9a0f287a1a9c496e1f69f6f5d20 > Committed: https://crrev.com/8c52a411583e870bd5ed100864caa58f491c5d88 > Cr-Original-Commit-Position: refs/heads/master@{#39871} > Cr-Commit-Position: refs/heads/master@{#39892} TBR=adamk@chromium.org,mstarzinger@chromium.org,machenbach@chromium.org,neis@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:1569 Review-Url: https://codereview.chromium.org/2387593002 Cr-Commit-Position: refs/heads/master@{#39896}
-
kozyatinskiy authored
- added inspector test suite definition in testcfg.py - added JS infrastructure for tests in protocol-test.js BUG=chromium:635948 R=dgozman@chromium.org,alph@chromium.org Review-Url: https://codereview.chromium.org/2370743003 Cr-Commit-Position: refs/heads/master@{#39895}
-
mtrofin authored
First stab at strongly typing the wasm compiled module FixedArray. The goal is to improve maintainability of the data structures living on the JS heap. My goal is to do so just for the first level, since we plan to eventually avoid copying the metadata bits that are currently copied from the decoded structures (export/import metadata, etc). Subsequent CLs will try and consolidate internal functions working off the compiled module as members, and evaluate what the actual interface with the rest of the world of this type should be - we may be able to completely move it in the cc file, for instance. BUG= Committed: https://crrev.com/6e03b72d9d7c0d69a4222981687757ffb0737236 Review-Url: https://codereview.chromium.org/2340623003 Cr-Original-Commit-Position: refs/heads/master@{#39890} Cr-Commit-Position: refs/heads/master@{#39894}
-
- 29 Sep, 2016 21 commits
-
-
mtrofin authored
Revert of [wasm] Strongly typed compiled module (patchset #7 id:120001 of https://codereview.chromium.org/2340623003/ ) Reason for revert: Forgot to correctly clone a heap number. Reverting to fix. Original issue's description: > [wasm] Strongly typed compiled module > > First stab at strongly typing the wasm compiled module FixedArray. The goal > is to improve maintainability of the data structures living on the JS heap. > > My goal is to do so just for the first level, since we plan to eventually > avoid copying the metadata bits that are currently copied from the decoded > structures (export/import metadata, etc). > > Subsequent CLs will try and consolidate internal functions working off the > compiled module as members, and evaluate what the actual interface with the > rest of the world of this type should be - we may be able to completely > move it in the cc file, for instance. > > BUG= > > Committed: https://crrev.com/6e03b72d9d7c0d69a4222981687757ffb0737236 > Cr-Commit-Position: refs/heads/master@{#39890} TBR=bradnelson@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review-Url: https://codereview.chromium.org/2383623003 Cr-Commit-Position: refs/heads/master@{#39893}
-
neis authored
Before evaluating a module, all variables declared at the top-level in _any_ of the modules in the dependency graph must be initialized. This is observable because a module A can access a variable imported from module B (e.g. a function) at a point when module B's body hasn't been evaluated yet. We achieve this by implementing modules internally as generators with two states (not initialized, initialized). R=adamk@chromium.org BUG=v8:1569 CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_win_dbg Committed: https://crrev.com/f4dfb6fbe1cdd9a0f287a1a9c496e1f69f6f5d20 Review-Url: https://codereview.chromium.org/2375793002 Cr-Original-Commit-Position: refs/heads/master@{#39871} Cr-Commit-Position: refs/heads/master@{#39892}
-
kozyatinskiy authored
- added test runner, that takes file names and V8 flags as arguments and run scripts from passed files with passed flags in frontend context BUG=chromium:635948 R=dgozman@chromium.org,alph@chromium.org Review-Url: https://codereview.chromium.org/2372793002 Cr-Commit-Position: refs/heads/master@{#39891}
-
mtrofin authored
First stab at strongly typing the wasm compiled module FixedArray. The goal is to improve maintainability of the data structures living on the JS heap. My goal is to do so just for the first level, since we plan to eventually avoid copying the metadata bits that are currently copied from the decoded structures (export/import metadata, etc). Subsequent CLs will try and consolidate internal functions working off the compiled module as members, and evaluate what the actual interface with the rest of the world of this type should be - we may be able to completely move it in the cc file, for instance. BUG= Review-Url: https://codereview.chromium.org/2340623003 Cr-Commit-Position: refs/heads/master@{#39890}
-
adamk authored
Revert of [wasm] Remove improper assembler check for grow memory. (patchset #2 id:20001 of https://codereview.chromium.org/2376153003/ ) Reason for revert: grow-memory test now fails on Linux dbg, blocking the CQ: https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20debug/builds/11217 Original issue's description: > [wasm] Remove improper assembler check for grow memory. > > Note that the offset can still be out of bounds, even after grow memory. The calculation of the remaining size can overflow. > > R=gdeepti@chromium.org > BUG=chromium:644670 > > Committed: https://crrev.com/e6071a9c067e07304329250e040b652fb82e9b5e > Cr-Commit-Position: refs/heads/master@{#39886} TBR=gdeepti@chromium.org,titzer@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:644670 Review-Url: https://codereview.chromium.org/2378973003 Cr-Commit-Position: refs/heads/master@{#39889}
-
kozyatinskiy authored
- added the channel implementation, - added inspector implementation, - added v8::Extension for communication between backend and frontend. BUG=chromium:635948 R=dgozman@chromium.org,alph@chromium.org Review-Url: https://codereview.chromium.org/2368393003 Cr-Commit-Position: refs/heads/master@{#39888}
-
titzer authored
R=bradnelson@chromium.org,aseemgarg@chromium.org,mstarzinger@chromium.org BUG= Review-Url: https://codereview.chromium.org/2384483002 Cr-Commit-Position: refs/heads/master@{#39887}
-
titzer authored
Note that the offset can still be out of bounds, even after grow memory. The calculation of the remaining size can overflow. R=gdeepti@chromium.org BUG=chromium:644670 Review-Url: https://codereview.chromium.org/2376153003 Cr-Commit-Position: refs/heads/master@{#39886}
-
titzer authored
R=bradnelson@chromium.org,mtrofin@chromium.org BUG=chromium:575167 Review-Url: https://codereview.chromium.org/2384513002 Cr-Commit-Position: refs/heads/master@{#39885}
-
machenbach authored
Revert of [WASM] Implements catch for the wasm low level exception mechanism. (patchset #16 id:300001 of https://codereview.chromium.org/2275293002/ ) Reason for revert: nosse4 errors: https://build.chromium.org/p/client.v8/builders/V8%20Linux/builds/13524 https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20debug/builds/11215 Original issue's description: > [WASM] Implements catch for the wasm low level exception mechanism. > > BUG= > > Committed: https://crrev.com/93e5425c46453764779bd557628d61fae670027a > Cr-Commit-Position: refs/heads/master@{#39881} TBR=titzer@chromium.org,bradnelson@chromium.org,jpp@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review-Url: https://codereview.chromium.org/2383613002 Cr-Commit-Position: refs/heads/master@{#39884}
-
leszeks authored
Uses the base hashmap to store the ConstantArrayBuilder's constant map, which slightly improves the performance of ConstantArrayBuilder::Insert. Includes a small overload of the hashmap LookupOrInsert method, which allows passing in a value creation function instead of just default initialising new values. On Octane's codeload, this gives (on my machine) a 0.27% improvement, which doesn't sound like a lot but I guess every little helps. Review-Url: https://codereview.chromium.org/2336553002 Cr-Commit-Position: refs/heads/master@{#39883}
-
leszeks authored
Adds a fast-path test and branch for the turbofan graph generated by BytecodeGraphBuilder for dynamic global lookups. BUG=v8:5263 Review-Url: https://codereview.chromium.org/2374983003 Cr-Commit-Position: refs/heads/master@{#39882}
-
jpp authored
BUG= Review-Url: https://codereview.chromium.org/2275293002 Cr-Commit-Position: refs/heads/master@{#39881}
-
jgruber authored
The label names were reversed - an external string is a short external string if (instance_type | kShortExternalStringMask) != 0. R=ishell@chromium.org BUG= Review-Url: https://codereview.chromium.org/2380073002 Cr-Commit-Position: refs/heads/master@{#39880}
-
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, jkummerow@chromium.org Committed: https://crrev.com/f9a2c8b1112c4e915df8bc5f7ea1fccdf7a33ff8 Cr-Commit-Position: refs/heads/master@{#39765} patch from issue 2358263002 at patchset 260001 (http://crrev.com/2358263002#ps260001) Review-Url: https://codereview.chromium.org/2381053002 Cr-Commit-Position: refs/heads/master@{#39879}
-
leszeks authored
Making new nodes inside of exception-handled blocks fiddles around with the current environment to merge the exception paths. In particular, the current environment pointer is mutated. This patch ensures that when we merge the fast and slow paths of the LdaContextLookup, we actually merge the correct environment and do not accidentally merge the exceptional environment. BUG=chromium:651394 Review-Url: https://codereview.chromium.org/2379043002 Cr-Commit-Position: refs/heads/master@{#39878}
-
kozyatinskiy authored
BUG=chromium:635948 R=dgozman@chromium.org,jochen@chromium.org Review-Url: https://codereview.chromium.org/2373983003 Cr-Commit-Position: refs/heads/master@{#39877}
-
lkelvin authored
Port: 1beb89f2 This patch simplifies code for speeding up marking and removes write barrier counter. The step size is now computed based in two parts: - bytes to mark in order to keep up with allocation, - bytes to mark in order to make progress. R=mvstanton@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/2378053003 Cr-Commit-Position: refs/heads/master@{#39876}
-
jarin authored
Review-Url: https://codereview.chromium.org/2377343002 Cr-Commit-Position: refs/heads/master@{#39875}
-
alph authored
The test now checks the case when an observer is added after tracing is started. BUG=chromium:406277 Review-Url: https://codereview.chromium.org/2376953002 Cr-Commit-Position: refs/heads/master@{#39874}
-
machenbach authored
Revert of [modules] Properly initialize declared variables. (patchset #5 id:80001 of https://codereview.chromium.org/2375793002/ ) Reason for revert: Suspect for causing win64 debug problems: https://build.chromium.org/p/client.v8/builders/V8%20Win64%20-%20debug/builds/12646 Original issue's description: > [modules] Properly initialize declared variables. > > Before evaluating a module, all variables declared at the top-level > in _any_ of the modules in the dependency graph must be initialized. > This is observable because a module A can access a variable imported > from module B (e.g. a function) at a point when module B's body hasn't > been evaluated yet. > > We achieve this by implementing modules internally as generators with > two states (not initialized, initialized). > > R=adamk@chromium.org > BUG=v8:1569 > > Committed: https://crrev.com/f4dfb6fbe1cdd9a0f287a1a9c496e1f69f6f5d20 > Cr-Commit-Position: refs/heads/master@{#39871} TBR=adamk@chromium.org,mstarzinger@chromium.org,neis@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:1569 Review-Url: https://codereview.chromium.org/2379063002 Cr-Commit-Position: refs/heads/master@{#39873}
-