- 30 Jan, 2015 1 commit
-
-
adamk authored
Also had to split ParseImportsList and ParseExportClause into separate methods as they have different rules about reserved words and arguments/eval. Added lots more test cases, including some export cases that were missed before due to incorrect checking of reserved words. BUG=v8:1569 LOG=n Review URL: https://codereview.chromium.org/887843002 Cr-Commit-Position: refs/heads/master@{#26338}
-
- 29 Jan, 2015 1 commit
-
-
aperez authored
Arrow function parameter lists are parsed as expressions. When an identifier is found a VariableProxy is created and added to the list of unresolved variables for the scope. When parsing a function lazily, the scope has been already resolved, so with this patch only the VariableProxy is created, without adding it as an unresolved variable in the scope. BUG=v8:3501 LOG=Y Review URL: https://codereview.chromium.org/880253004 Cr-Commit-Position: refs/heads/master@{#26328}
-
- 28 Jan, 2015 1 commit
-
-
Adam Klein authored
One missing feature: anonymous function & class declarations in "export default". BUG=v8:1569 LOG=n R=arv@chromium.org Review URL: https://codereview.chromium.org/882893002 Cr-Commit-Position: refs/heads/master@{#26313}
-
- 27 Jan, 2015 1 commit
-
-
adamk authored
The approach taken in this CL is to incrementally move toward the currently-specced version of modules in ES6. The biggest change in this patch is separating the parsing of modules from the parsing of scripts, getting rid of the 'module' keyword and thus disallowing modules-in-scripts as well as modules-in-modules. The syntax supported by import/export declarations has not yet been significantly changed, with the major exception being that import declarations require a string as the 'from' part. Most of the existing tests have been disabled, with a first new test added in cctest/test-parsing. BUG=v8:1569 LOG=n Review URL: https://codereview.chromium.org/881623002 Cr-Commit-Position: refs/heads/master@{#26299}
-
- 23 Jan, 2015 2 commits
-
-
adamk authored
R=arv@chromium.org Review URL: https://codereview.chromium.org/867923004 Cr-Commit-Position: refs/heads/master@{#26258}
-
danno authored
Along the way: - Thread isolate parameter explicitly through code that used to rely on getting it from the zone. - Canonicalize the parameter position of isolate and zone for affected code - Change Hydrogen New<> instruction templates to automatically pass isolate R=mstarzinger@chromium.org LOG=N Review URL: https://codereview.chromium.org/868883002 Cr-Commit-Position: refs/heads/master@{#26252}
-
- 15 Jan, 2015 2 commits
-
-
arv authored
This adds support for computed property names, under the flag --harmony-computed-property-names, for both object literals and classes. This is a revert of the revert, 7d48fd9d. BUG=v8:3754 LOG=Y R=dslomov@chromium.org Review URL: https://codereview.chromium.org/798243004 Cr-Commit-Position: refs/heads/master@{#26084}
-
adamk authored
This also simplifies target_stack_ and tightens up the types of nodes that can appear in it. Best I can tell, this code has been dead since https://code.google.com/p/v8/source/detail?r=7542 Review URL: https://codereview.chromium.org/850093004 Cr-Commit-Position: refs/heads/master@{#26083}
-
- 12 Jan, 2015 1 commit
-
-
marja authored
Allows \u{xxxxx} in regexps. Behind the --harmony-unicode flag. Part 1 is here: https://codereview.chromium.org/716423002 BUG=v8:3648 LOG=N Review URL: https://codereview.chromium.org/788043005 Cr-Commit-Position: refs/heads/master@{#26018}
-
- 07 Jan, 2015 1 commit
-
-
sergeyv authored
BUG= Review URL: https://codereview.chromium.org/821723002 Cr-Commit-Position: refs/heads/master@{#25980}
-
- 17 Dec, 2014 2 commits
-
-
machenbach authored
Revert of ES6 computed property names (patchset #1 id:1 of https://codereview.chromium.org/792233008/) Reason for revert: [sheriff] Still crashes on win32 (XP): http://build.chromium.org/p/client.v8/builders/V8%20Win32%20-%201/builds/1380 Original issue's description: > ES6 computed property names > > This adds support for computed property names, under the flag > --harmony-computed-property-names, for both object literals and > classes. > > This is a revert of the revert, a76419f0. > > This changes to do an early bailout in > HOptimizedGraphBuilder::VisitObjectLiteral instead of doing that in the later > loop. > > BUG=v8:3754 > LOG=Y > TBR=dslomov@chromium.org TBR=dslomov@chromium.org,arv@chromium.org NOTREECHECKS=true NOTRY=true BUG=v8:3754 Review URL: https://codereview.chromium.org/811593004 Cr-Commit-Position: refs/heads/master@{#25872}
-
arv authored
This adds support for computed property names, under the flag --harmony-computed-property-names, for both object literals and classes. This is a revert of the revert, a76419f0. This changes to do an early bailout in HOptimizedGraphBuilder::VisitObjectLiteral instead of doing that in the later loop. BUG=v8:3754 LOG=Y TBR=dslomov@chromium.org Review URL: https://codereview.chromium.org/792233008 Cr-Commit-Position: refs/heads/master@{#25868}
-
- 16 Dec, 2014 2 commits
-
-
arv authored
Revert of ES6 computed property names (patchset #1 id:1 of https://codereview.chromium.org/807173002/) Reason for revert: Crashes Win32. It was not flake. Original issue's description: > ES6 computed property names > > This adds support for computed property names, under the flag > --harmony-computed-property-names, for both object literals and > classes. > > This is a revert of the revert, a76419f0 with > no changes. I cannot reproduce the issue on Win8.1 or WinXP. Letting the bots > try again. > > BUG=v8:3754 > LOG=Y > TBR=dslomov@chromium.org TBR=dslomov@chromium.org NOTREECHECKS=true NOTRY=true BUG=v8:3754 Review URL: https://codereview.chromium.org/807033003 Cr-Commit-Position: refs/heads/master@{#25853}
-
arv authored
This adds support for computed property names, under the flag --harmony-computed-property-names, for both object literals and classes. This is a revert of the revert, a76419f0 with no changes. I cannot reproduce the issue on Win8.1 or WinXP. Letting the bots try again. BUG=v8:3754 LOG=Y TBR=dslomov@chromium.org Review URL: https://codereview.chromium.org/807173002 Cr-Commit-Position: refs/heads/master@{#25851}
-
- 15 Dec, 2014 2 commits
-
-
arv authored
Revert of ES6 computed property names (patchset #9 id:160001 of https://codereview.chromium.org/795573005/) Reason for revert: Crashes on Win32 http://build.chromium.org/p/client.v8/builders/V8%20Win32%20-%201/builds/1357 Test: mjsunit/harmony/computed-property-names Flags: --stress-opt --always-opt Command: build\Release\d8.exe --test --random-seed=-233815021 --stress-opt --always-opt --nohard-abort --nodead-code-elimination --nofold-constants --harmony-computed-property-names test\mjsunit\mjsunit.js test\mjsunit\harmony\computed-property-names.js Run #1 Exit code: -1073741819 Result: CRASH Expected outcomes: PASS Run #2 Exit code: -1073741819 Result: CRASH Expected outcomes: PASS Run #3 Exit code: -1073741819 Result: CRASH Expected outcomes: PASS Original issue's description: > ES6 computed property names > > This adds support for computed property names, under the flag > --harmony-computed-property-names, for both object literals and > classes. > > BUG=v8:3754 > LOG=Y TBR=dslomov@chromium.org,wingo@igalia.com NOTREECHECKS=true NOTRY=true BUG=v8:3754 Review URL: https://codereview.chromium.org/809433002 Cr-Commit-Position: refs/heads/master@{#25825}
-
arv authored
This adds support for computed property names, under the flag --harmony-computed-property-names, for both object literals and classes. BUG=v8:3754 LOG=Y Review URL: https://codereview.chromium.org/795573005 Cr-Commit-Position: refs/heads/master@{#25821}
-
- 11 Dec, 2014 1 commit
-
-
caitpotter88 authored
LOG=N R=arv@chromium.org, dslomov@chromium.org, marja@chromium.org BUG= Review URL: https://codereview.chromium.org/792083002 Cr-Commit-Position: refs/heads/master@{#25782}
-
- 08 Dec, 2014 1 commit
-
-
marja authored
Blink already has code for handling invalid cached data. The attached test ensures that cached data is gracefully rejected if it cannot be used. This also unifies parser cache and code cache handling. R=yangguo@chromium.org BUG=439889 LOG=N Review URL: https://codereview.chromium.org/781203003 Cr-Commit-Position: refs/heads/master@{#25708}
-
- 03 Dec, 2014 1 commit
-
-
arv authored
BUG=v8:3710 LOG=Y R=dslomov@chromium.org, marja@chromium.org Review URL: https://codereview.chromium.org/768203002 Cr-Commit-Position: refs/heads/master@{#25640}
-
- 02 Dec, 2014 1 commit
-
-
marja authored
The mystery crash never reappeared once the debugging code was in place. R=jochen@chromium.org BUG= Review URL: https://codereview.chromium.org/760863003 Cr-Commit-Position: refs/heads/master@{#25601}
-
- 20 Nov, 2014 1 commit
-
-
caitpotter88 authored
BUG=v8:3230 LOG=y Review URL: https://codereview.chromium.org/742643003 Cr-Commit-Position: refs/heads/master@{#25450}
-
- 18 Nov, 2014 1 commit
-
-
mstarzinger authored
R=titzer@chromium.org Review URL: https://codereview.chromium.org/742433002 Cr-Commit-Position: refs/heads/master@{#25403}
-
- 17 Nov, 2014 1 commit
-
-
yangguo authored
Review URL: https://codereview.chromium.org/733023003 Cr-Commit-Position: refs/heads/master@{#25378}
-
- 14 Nov, 2014 3 commits
-
-
caitpotter88 authored
BUG=v8:3230 Review URL: https://codereview.chromium.org/663683006 Cr-Commit-Position: refs/heads/master@{#25362}
-
arv authored
Named class declarations and class expression have a const binding for the name that is in TDZ for the extends expression. BUG=v8:3330 LOG=Y R=dslomov@chromium.org, adamk Review URL: https://codereview.chromium.org/722793005 Cr-Commit-Position: refs/heads/master@{#25360}
-
Andy Wingo authored
R=svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/679943004 Cr-Commit-Position: refs/heads/master@{#25357}
-
- 13 Nov, 2014 2 commits
-
-
Daniel Vogelheim authored
This reverts commit eafce666. Original commit failed some tests w/ memory leaks. TBR=yangguo@chromium.org BUG= Review URL: https://codereview.chromium.org/724053004 Cr-Commit-Position: refs/heads/master@{#25336}
-
Yang Guo authored
API=ScriptCompiler::CachedData::rejected LOG=Y R=vogelheim@google.com, vogelheim@chromium.org Review URL: https://codereview.chromium.org/724023002 Cr-Commit-Position: refs/heads/master@{#25335}
-
- 12 Nov, 2014 1 commit
-
-
dslomov@chromium.org authored
1. Global{Context,Scope}=>Script{Context,Scope} 2. Enable fixed tests 3. Update comments R=rossberg@chromium.org BUG=v8:2198 LOG=N Review URL: https://codereview.chromium.org/716833002 Cr-Commit-Position: refs/heads/master@{#25291} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25291 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Nov, 2014 1 commit
-
-
arv@chromium.org authored
Introduce two new function kind, one for default constructor and one for default constructor call super. Then when we are about to pares these we just generate the correct AST in source. BUG=v8:3661, v8:3672 LOG=Y R=dslomov@chromium.org Review URL: https://codereview.chromium.org/700523003 Cr-Commit-Position: refs/heads/master@{#25222} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25222 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Nov, 2014 1 commit
-
-
arv@chromium.org authored
When --harmony-classes is enabled we did not treat static as a strict reserved word. BUG=v8:3642 LOG=Y R=rossberg@chromium.org Review URL: https://codereview.chromium.org/652743009 Cr-Commit-Position: refs/heads/master@{#25087} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25087 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Oct, 2014 2 commits
-
-
dslomov@chromium.org authored
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/643603002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24488 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Every CompilationInfo has an ID generator now, and it is never reset/copied/assigned. Simplified FunctionState. R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/633373003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24481 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Oct, 2014 1 commit
-
-
arv@chromium.org authored
BUG=v8:3330 LOG=Y R=dslomov@chromium.org Review URL: https://codereview.chromium.org/624013005 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24472 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Oct, 2014 2 commits
-
-
arv@chromium.org authored
prototype. This does not add the methods/accessors to the prototype or the constructor. BUG=v8:3330 LOG=Y R=dslomov@chromium.org Review URL: https://codereview.chromium.org/631433002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24442 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
AST ids only need to be unique, so there is no need to fiddle around with them. R=dslomov@chromium.org Review URL: https://codereview.chromium.org/633053002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24433 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Oct, 2014 1 commit
-
-
marja@chromium.org authored
This adds a bunch of checks so we hopefully get more detailed information about what exactly goes wrong. R=jochen@chromium.org BUG= Review URL: https://codereview.chromium.org/619583005 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24373 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Sep, 2014 1 commit
-
-
arv@chromium.org authored
BUG=v8:3330 LOG=Y R=marja@chromium.org Review URL: https://codereview.chromium.org/575083002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24051 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Sep, 2014 1 commit
-
-
titzer@chromium.org authored
Minor compiler pipeline refactoring. Inline UpdateSharedFunctionInfo and make Parser::Parse responsible for setting the strict mode of the CompilationInfo. R=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/555553003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24001 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Sep, 2014 1 commit
-
-
arv@chromium.org authored
This implements parsing for ClassExpression and ClassDeclaration. The runtime is not yet implemented and the value is currently hard coded to undefined. BUG=v8:3330 LOG=Y R=dslomov@chromium.org, marja@chromium.org, rossberg@chromium.org Review URL: https://codereview.chromium.org/561913002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23988 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-