ulan
5e4951b899
Do not embed interceptor in handler.
...
BUG=v8:3629
LOG=N
Review URL: https://codereview.chromium.org/893573003
Cr-Commit-Position: refs/heads/master@{#26363}
2015-01-30 16:34:52 +00:00
caitpotter88
9355457b55
Implement parsing of ES6 Rest Parameters
...
BUG=v8:2159
LOG=N
R=marja@chromium.org , arv@chromium.org
Review URL: https://codereview.chromium.org/885243002
Cr-Commit-Position: refs/heads/master@{#26362}
2015-01-30 15:21:50 +00:00
mvstanton
3df0a9ae77
CallIC used an invalid mechanism to detect if it was in optimized code.
...
BUG=453481
LOG=N
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/885333002
Cr-Commit-Position: refs/heads/master@{#26361}
2015-01-30 15:07:14 +00:00
ulan
a113ce28bf
Do not embedd store callback in handler.
...
BUG=v8:3629
LOG=N
Review URL: https://codereview.chromium.org/881783003
Cr-Commit-Position: refs/heads/master@{#26360}
2015-01-30 14:54:56 +00:00
jarin
da90aabc07
Always emit bailout id for inlining property access (even for keyed access).
...
R=ulan@chromium.org
BUG=chromium:453805
LOG=n
Review URL: https://codereview.chromium.org/887023003
Cr-Commit-Position: refs/heads/master@{#26359}
2015-01-30 14:35:43 +00:00
ulan
3ea4ca9dbf
Load callback data from weak cell instead of embedding it in handler.
...
BUG=v8:3629
LOG=N
Review URL: https://codereview.chromium.org/877243004
Cr-Commit-Position: refs/heads/master@{#26358}
2015-01-30 14:31:28 +00:00
jarin
0cd991ebc0
Do not inline array push for arrays with dictionary mode elements.
...
BUG=chromium:452878
LOG=n
Review URL: https://codereview.chromium.org/880233002
Cr-Commit-Position: refs/heads/master@{#26357}
2015-01-30 13:51:43 +00:00
bmeurer
5d12b2855d
Fix the test-code-stubs tests.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/892603002
Cr-Commit-Position: refs/heads/master@{#26356}
2015-01-30 13:36:13 +00:00
titzer
e25a0f7e4e
[turbofan] Fix usage of ThisFunction parameter in OSR.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/892593002
Cr-Commit-Position: refs/heads/master@{#26355}
2015-01-30 13:09:44 +00:00
ishell
32fe247d91
Layout descriptor sharing issue fixed.
...
BUG=chromium:437713, v8:3832
LOG=Y
Review URL: https://codereview.chromium.org/885003002
Cr-Commit-Position: refs/heads/master@{#26354}
2015-01-30 12:55:25 +00:00
balazs.kilvady
29953afd09
MIPS: Add MEGAMORPHIC state support for KeyedLoadIC.
...
Port 491eb81780
BUG=
Review URL: https://codereview.chromium.org/888843002
Cr-Commit-Position: refs/heads/master@{#26353}
2015-01-30 12:45:18 +00:00
dcarney
74c00e93c5
update vector ics to handle megamorphic keyed loads
...
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/889863002
Cr-Commit-Position: refs/heads/master@{#26352}
2015-01-30 12:41:08 +00:00
hpayer
11aa116f1f
Visit code objects in native contexts only during full GCs.
...
BUG=
Review URL: https://codereview.chromium.org/887943002
Cr-Commit-Position: refs/heads/master@{#26351}
2015-01-30 11:26:43 +00:00
dcarney
6149d5ec76
[turbofan] cleanup MoveOptimizer a little
...
BUG=
Review URL: https://codereview.chromium.org/888813002
Cr-Commit-Position: refs/heads/master@{#26350}
2015-01-30 10:58:38 +00:00
Dan Carney
75c1c0df50
fix gcc after r26345
...
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/885303002
Cr-Commit-Position: refs/heads/master@{#26349}
2015-01-30 10:12:24 +00:00
mstarzinger
66b1648fcf
Avoid using ProcessArguments for static calls.
...
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/886853002
Cr-Commit-Position: refs/heads/master@{#26348}
2015-01-30 09:56:19 +00:00
Benedikt Meurer
cba14fbef7
Make GCC happy with test-cpu-profiler.
...
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/891663002
Cr-Commit-Position: refs/heads/master@{#26347}
2015-01-30 09:49:09 +00:00
bmeurer
c65ae4f10c
Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.".
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/877753007
Cr-Commit-Position: refs/heads/master@{#26346}
2015-01-30 09:29:41 +00:00
dcarney
491eb81780
Add MEGAMORPHIC state support for KeyedLoadIC
...
BUG=
Review URL: https://codereview.chromium.org/878263002
Cr-Commit-Position: refs/heads/master@{#26345}
2015-01-30 09:17:16 +00:00
hpayer
9b60e89482
Collect phantom callback data only once during gc. For scavenges, just consider the young handles referenced by young generation.
...
BUG=
Review URL: https://codereview.chromium.org/885553005
Cr-Commit-Position: refs/heads/master@{#26344}
2015-01-30 08:23:07 +00:00
michael_dawson
f1ba8d8f86
Contribution of PowerPC port (continuation of 422063005) - AIX Common1
...
Contribution of PowerPC port (continuation of 422063005 and 817143002). This patch covers
the key changes needed to the common files needed to support AIX. Subsequent
patches will cover:
- changes to update the ppc directories so they are current with the changes
in the rest of the project.
- remaining AIX changes not resolved by 4.8 compiler
- individual optimizations for PPC
This is based off of the GitHub repository
https://github.com/andrewlow/v8ppc
R=danno@chromium.org , svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/866843003
Cr-Commit-Position: refs/heads/master@{#26343}
2015-01-30 08:02:08 +00:00
Benedikt Meurer
883852293a
Revert "Make GCC happy again." and "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.".
...
This reverts commit 6a4c0a3bae
and commit
0deaa4b629
for breaking GCC bots.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/893533003
Cr-Commit-Position: refs/heads/master@{#26342}
2015-01-30 07:19:57 +00:00
Benedikt Meurer
6a4c0a3bae
Make GCC happy again.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/889743003
Cr-Commit-Position: refs/heads/master@{#26341}
2015-01-30 06:56:47 +00:00
bmeurer
0deaa4b629
Initial switch to Chromium-style CHECK_* and DCHECK_* macros.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/888613002
Cr-Commit-Position: refs/heads/master@{#26340}
2015-01-30 06:25:36 +00:00
v8-autoroll
9c1705d53c
Update V8 DEPS.
...
Rolling v8/build/gyp to 104e21ecf6f28c47d2e729d572aa790b85225ee0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/891623002
Cr-Commit-Position: refs/heads/master@{#26339}
2015-01-30 04:32:02 +00:00
adamk
0c928d533a
Implemented new syntax for ImportDeclarations
...
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}
2015-01-30 03:27:06 +00:00
arv
13616615fd
Lexical declarations should not be allowed in Statement
...
For example let and class should only be allowed inside function/block/script.
We have to continue to support const in statements in sloppy mode for backwards compatibility.
BUG=3831
LOG=Y
R=dslomov@chromium.org , adamk
Review URL: https://codereview.chromium.org/869293002
Cr-Commit-Position: refs/heads/master@{#26337}
2015-01-30 03:10:13 +00:00
arv
b004b1d821
Move object literal checking into checker classes
...
This removes the duplicate property check from object literals.
Instead we repurpose the ObjectLiteralChecker into two cases, implemented
by two subclasses to ObjectLiteralCheckerBase called ObjectLiteralChecker
and ClassLiteralChecker.
The object literal checker now only checks for duplicate __proto__ fields in
object literals.
The class literal checker checks for duplicate constructors, non constructor
fields named constructor as well as static properties named prototype.
BUG=v8:3819
LOG=Y
R=adamk, dslomov@chromium.org
Review URL: https://codereview.chromium.org/873823003
Cr-Commit-Position: refs/heads/master@{#26336}
2015-01-29 23:12:43 +00:00
balazs.kilvady
c12d79257e
MIPS: Fix 'Load API accessor from descriptor instead of embedding it in handler.'
...
Fix a typo in 6ea31f7eee
BUG=
Review URL: https://codereview.chromium.org/878023003
Cr-Commit-Position: refs/heads/master@{#26335}
2015-01-29 18:33:53 +00:00
machenbach
24bfa90b31
Revert of Use a WeakCell in the CallIC type vector. (patchset #4 id:80001 of https://codereview.chromium.org/881433002/ )
...
Reason for revert:
Breaks a regression test on linux isloates, and linux with gcc 4.8.
Original issue's description:
> Use a WeakCell in the CallIC type vector.
>
> This allows us to clear the IC on a more sedate schedule, just
> like Load and Store ICs.
>
> R=ulan@chromium.org
> BUG=
>
> Committed: https://crrev.com/bcc79d33ca6d97d9ecfcfcf110a6ea84a0225389
> Cr-Commit-Position: refs/heads/master@{#26332}
TBR=ulan@chromium.org ,mvstanton@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/886663004
Cr-Commit-Position: refs/heads/master@{#26334}
2015-01-29 18:01:23 +00:00
titzer
11311c083a
[turbofan] Fix OSR compilations of for-in.
...
R=mstarzinger@chromium.org
LOG=Y
BUG=
Review URL: https://codereview.chromium.org/890543002
Cr-Commit-Position: refs/heads/master@{#26333}
2015-01-29 17:40:23 +00:00
mvstanton
bcc79d33ca
Use a WeakCell in the CallIC type vector.
...
This allows us to clear the IC on a more sedate schedule, just
like Load and Store ICs.
R=ulan@chromium.org
BUG=
Review URL: https://codereview.chromium.org/881433002
Cr-Commit-Position: refs/heads/master@{#26332}
2015-01-29 17:36:51 +00:00
ulan
b98f27f592
Load API holder from prototype chain instead embedding it in handler.
...
BUG=v8:3629
LOG=N
Review URL: https://codereview.chromium.org/873723005
Cr-Commit-Position: refs/heads/master@{#26331}
2015-01-29 17:18:50 +00:00
hpayer
350cbaabfd
Introduce ProcessYoungWeakReferences and process weak list of allocation sites just during full GCs.
...
BUG=
Review URL: https://codereview.chromium.org/890613002
Cr-Commit-Position: refs/heads/master@{#26330}
2015-01-29 16:54:43 +00:00
dcarney
f5ca41450a
store InstructionOperands directly in Instruction
...
BUG=
Review URL: https://codereview.chromium.org/884503002
Cr-Commit-Position: refs/heads/master@{#26329}
2015-01-29 16:00:19 +00:00
aperez
91b87e7a28
Do not create unresolved variables when parsing arrow functions lazily
...
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}
2015-01-29 15:53:15 +00:00
jarin
a4b163a940
[turbofan] Make sure there is space for lazy deopt patching before the constant pool.
...
BUG=chromium:446647
LOG=n
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/874863003
Cr-Commit-Position: refs/heads/master@{#26327}
2015-01-29 15:30:32 +00:00
ulan
23866a6f99
Load API call data from function instead of embedding it in handler.
...
BUG=v8:3629
LOG=N
Review URL: https://codereview.chromium.org/883253002
Cr-Commit-Position: refs/heads/master@{#26326}
2015-01-29 15:26:40 +00:00
machenbach
60bd272f3a
Retrieve recent v8 release information based on tags.
...
BUG=chromium:451975
TBR=tandrii@chromium.org
NOTRY=true
LOG=n
TEST=./script_test.py
TEST=tools/release/releases.py -c path/to/src
Review URL: https://codereview.chromium.org/869613007
Cr-Commit-Position: refs/heads/master@{#26325}
2015-01-29 14:21:41 +00:00
kozyatinskiy
eaae397c42
[V8] Added Script::is_debugger_script flag for embedders
...
In DevTools we need one more flag for script origin - is debugger script. We already have "is shared origin" flag. The new flag added by analogy with the old but new has accessor in script object.
R=yurys@chromium.org
Review URL: https://codereview.chromium.org/879553002
Cr-Commit-Position: refs/heads/master@{#26324}
2015-01-29 14:01:33 +00:00
danno
328cf76e35
[turbofan] Improve JSON output
...
Review URL: https://codereview.chromium.org/882973002
Cr-Commit-Position: refs/heads/master@{#26323}
2015-01-29 12:15:14 +00:00
machenbach
7a8d0c02a5
Add try release mode to test runner.
...
Also refactor the configuration of modes to have the level
of abstraction in one json dict.
In a follow up CL, the new mode could be added to quickcheck
and release trybots.
Review URL: https://codereview.chromium.org/882983002
Cr-Commit-Position: refs/heads/master@{#26322}
2015-01-29 10:22:57 +00:00
verwaest
df5b2ee334
Bump max-inlined-nodes-cumulative
...
BUG=
Review URL: https://codereview.chromium.org/887603002
Cr-Commit-Position: refs/heads/master@{#26321}
2015-01-29 10:11:31 +00:00
ulan
6ea31f7eee
Load API accessor from descriptor instead of embedding it in handler.
...
BUG=v8:3629
LOG=N
Review URL: https://codereview.chromium.org/880333003
Cr-Commit-Position: refs/heads/master@{#26320}
2015-01-29 09:58:13 +00:00
titzer
fca95cf753
[turbofan] Remove use of generic algorithm from Scheduler.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/882103002
Cr-Commit-Position: refs/heads/master@{#26319}
2015-01-29 09:56:52 +00:00
titzer
f5479ca675
[turbofan] Gracefully bail out if OSR encounters a loop too deeply nested.
...
R=jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/877553007
Cr-Commit-Position: refs/heads/master@{#26318}
2015-01-29 09:46:36 +00:00
ulan
d83a2445a2
Fix register aliasing after r26306, r26275.
...
BUG=
Review URL: https://codereview.chromium.org/877343003
Cr-Commit-Position: refs/heads/master@{#26317}
2015-01-29 09:37:36 +00:00
bmeurer
1df5fed50a
[turbofan] Cleanup the NodeProperties.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/883613006
Cr-Commit-Position: refs/heads/master@{#26316}
2015-01-29 09:18:09 +00:00
bmeurer
d0f3e5302c
Minor refactoring for Zone class and friends.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/885813002
Cr-Commit-Position: refs/heads/master@{#26315}
2015-01-29 07:41:52 +00:00
caitpotter88
1f2e5973eb
Don't take iterable path in ArrayFrom if items[@@iterator] is null
...
BUG=v8:3833
LOG=N
R=arv@chromium.org
Review URL: https://codereview.chromium.org/856303002
Cr-Commit-Position: refs/heads/master@{#26314}
2015-01-29 02:36:12 +00:00