ishell
18b60594c4
Another regression test for resolving references to "this" in strict mode.
...
BUG=chromium:487105
LOG=N
Review URL: https://codereview.chromium.org/1136123010
Cr-Commit-Position: refs/heads/master@{#28480}
2015-05-19 12:51:42 +00:00
machenbach
8c15e5bdc3
[test] Make test as flaky
...
BUG=v8:4127
LOG=n
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/1146683003
Cr-Commit-Position: refs/heads/master@{#28479}
2015-05-19 11:50:51 +00:00
brettw
e92804b02e
Make the snapshot a public dependency of v8.
...
Adds a chain of public dependencies from the v8 target to the snapshot target.
A future version of GN will validate that any files taken as inputs to a step
were generated by public dependencies of that target. Some targets in Chrome
depend on the results of the snapshot.
Review URL: https://codereview.chromium.org/1138953007
Cr-Commit-Position: refs/heads/master@{#28478}
2015-05-19 11:36:26 +00:00
jkummerow
c0144c0c64
Fix has_pending_exception logic in API's Array::CloneElementAt
...
BUG=v8:4103
LOG=y
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/1138723003
Cr-Commit-Position: refs/heads/master@{#28477}
2015-05-19 11:34:45 +00:00
erikcorry
8cb1c3540c
Adjust benchmark framework to avoid spending 50% of time on 'new Date'
...
R=dslomov@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1133843007
Cr-Commit-Position: refs/heads/master@{#28476}
2015-05-19 11:19:36 +00:00
jkummerow
e5227ba5c3
Update safe_math_impl.h
...
Porting Chromium's https://codereview.chromium.org/1142783002/ to fix a division-by-zero bug.
BUG=chromium:488302
LOG=n
Review URL: https://codereview.chromium.org/1135293003
Cr-Commit-Position: refs/heads/master@{#28475}
2015-05-19 11:08:55 +00:00
ssid
66083dd05f
Adding api to get last gc object statistics for chrome://tracing.
...
For dumping the number of objects and size of objects alive after the
last gc into chrome://tracing memory dumps, this CL adds new api to
get these number for each isolate.
Note: Chrome should be run with --js-flags='--track_gc_object_stats
--noincremental-marking' for object tracking.
BUG=476013
LOG=Y
Review URL: https://codereview.chromium.org/1113233002
Cr-Commit-Position: refs/heads/master@{#28474}
2015-05-19 11:01:24 +00:00
wingo
24768fe200
Revert of Reapply "Resolve references to "this" the same way as normal variables"" (patchset #2 id:20001 of https://codereview.chromium.org/1136883006/ )
...
Reason for revert:
Something is deserializing "this" declarations as Variable::NORMAL and not Variable::THIS https://codereview.chromium.org/1136123010/
Original issue's description:
> Reapply "Resolve references to "this" the same way as normal variables""
>
> This reapplies https://codereview.chromium.org/1136073002 , along with
> the followups:
>
> Remove Scope::scope_uses_this_ flag
> https://codereview.chromium.org/1128963005
>
> and
>
> PPC: Resolve references to "this" the same way as normal variables
> https://codereview.chromium.org/1134073003
>
> R=yangguo@chromium.org , rossberg@chromium.org
> LOG=N
> BUG=
>
> Committed: https://crrev.com/1efc1e4f7a3d30d5225e9d5cb2585cad7cb17099
> Cr-Commit-Position: refs/heads/master@{#28458}
TBR=rossberg@chromium.org ,yangguo@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/1146733002
Cr-Commit-Position: refs/heads/master@{#28473}
2015-05-19 10:57:51 +00:00
Djordje.Pesic
0f93a456ec
Reland "MIPS: Add float instructions and test coverage, part one"
...
Implement assembler, disassembler tests for all instructions for mips32 and mips64. Additionally, add missing single precision float instructions for r2 and r6 architecture variants in assembler, simulator and disassembler with corresponding tests.
Review URL: https://codereview.chromium.org/1147493002
Cr-Commit-Position: refs/heads/master@{#28472}
2015-05-19 10:35:07 +00:00
balazs.kilvady
099e06e240
MIPS: [turbofan] Support Float[32|64]Min and Float[32|64]Max.
...
MIPS64r6 and MIPS32r6 support for min and max and Float64Max machine operators.
BUG=
Review URL: https://codereview.chromium.org/1027193002
Cr-Commit-Position: refs/heads/master@{#28471}
2015-05-19 10:22:01 +00:00
bradnelson
8dfec46e38
Adding ecmascript simd tests.
...
Relying on the polyfill for now.
BUG=v8:4124
LOG=N
R=bbudge@chromium.org ,machenbach@chromium.org
TEST=trybots
Review URL: https://codereview.chromium.org/1147743004
Cr-Commit-Position: refs/heads/master@{#28470}
2015-05-19 10:14:36 +00:00
chunyang.dai
dec2619a18
X87: Reapply "Resolve references to "this" the same way as normal variables""
...
port 1efc1e4f7a
(r28458).
original commit message:
This reapplies https://codereview.chromium.org/1136073002 , along with
the followups:
Remove Scope::scope_uses_this_ flag
https://codereview.chromium.org/1128963005
and
PPC: Resolve references to "this" the same way as normal variables
https://codereview.chromium.org/1134073003
BUG=
Review URL: https://codereview.chromium.org/1135233003
Cr-Commit-Position: refs/heads/master@{#28469}
2015-05-19 10:05:23 +00:00
mstarzinger
329a3f220c
[turbofan] Turn JSTypedLowering into an AdvancedReducer.
...
This in turn allows usage of AdvancedReducer::ReplaceWithValue which
has access to the underlying graph reducer. It will allow us to deal
with exception continuations correctly.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/1134303003
Cr-Commit-Position: refs/heads/master@{#28468}
2015-05-19 09:57:42 +00:00
chunyang.dai
528aa288bf
X87: Now that vector ics are established for load, keyed load and call ics, let's remove dead code behind the flag.
...
port 323ced9e27
(r28422).
original commit message:
BUG=
Review URL: https://codereview.chromium.org/1142713007
Cr-Commit-Position: refs/heads/master@{#28467}
2015-05-19 09:56:25 +00:00
bmeurer
fe690c3e82
[turbofan] Carefully update frame states during inlining.
...
During inlining we should pay attention to only rewire the outer frame
states of the inlinee, but leave any inner frame states of the inlinee
untouched. Otherwise we might run into trouble once we start caching
graphs, or do getter/setter inlining.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/1134973006
Cr-Commit-Position: refs/heads/master@{#28466}
2015-05-19 09:11:12 +00:00
titzer
f659ae4c89
[turbofan] Support vector IC feedback in the JSTypeFeedbackTable.
...
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1133113004
Cr-Commit-Position: refs/heads/master@{#28465}
2015-05-19 08:58:29 +00:00
machenbach
81c080ef8e
Revert of [strong] Object literals create strong objects (patchset #4 id:60001 of https://codereview.chromium.org/1134333005/ )
...
Reason for revert:
[Sheriff] Segmentation fault on arm64 with nosnap:
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm64%20-%20sim%20-%20nosnap%20-%20debug%20-%201/builds/1990
Original issue's description:
> [strong] Object literals create strong objects
>
> R=dslomov@chromium.org
> BUG=v8:3956
> LOG=N
>
> Committed: https://crrev.com/fe6598cffb82ec4180dcc2e2310e77d07a803f96
> Cr-Commit-Position: refs/heads/master@{#28444}
TBR=dslomov@chromium.org ,arv@chromium.org,rossberg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:3956
Review URL: https://codereview.chromium.org/1135493006
Cr-Commit-Position: refs/heads/master@{#28464}
2015-05-19 07:35:54 +00:00
jkummerow
f8175201da
Fix harmless HGraph verification failure after hoisting inlined bounds checks
...
BUG=chromium:487608
LOG=y
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/1133343003
Cr-Commit-Position: refs/heads/master@{#28463}
2015-05-19 07:32:48 +00:00
svenpanne
2470bca2de
Use USE_SIMULATOR when appropriate.
...
Review URL: https://codereview.chromium.org/1142043003
Cr-Commit-Position: refs/heads/master@{#28462}
2015-05-19 05:56:36 +00:00
yangguo
19312c1631
Do not clear stepping after DebugEvaluate.
...
Clearing stepping was originally introduced in http://codereview.chromium.org/7889039
But DebugEvaluate now also uses a DisableBreak scope, which makes sure we don't step
inside the evaluated code.
R=yurys@chromium.org
BUG=chromium:467180
LOG=N
Review URL: https://codereview.chromium.org/1129363003
Cr-Commit-Position: refs/heads/master@{#28461}
2015-05-19 04:56:08 +00:00
v8-autoroll
7af6c1eecd
Update V8 DEPS.
...
Rolling v8/tools/clang to a01f3daa088378f5ae90e37e5673d963b63d05dc
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1136643007
Cr-Commit-Position: refs/heads/master@{#28460}
2015-05-19 03:22:10 +00:00
horo
c5eb9573e7
[V8] Added Script::is_opaque flag for embedders
...
When the page is controlled by a ServiceWorker, the ServiceWorker can return an opaque (non-CORS cross origin) resource response.
We need to treat the messages from such script resource as opaque.
Committed: https://crrev.com/7a599c5e1242d3c5ab7515ee149623da90ae69ec
Cr-Commit-Position: refs/heads/master@{#28445}
Review URL: https://codereview.chromium.org/1140673002
Cr-Commit-Position: refs/heads/master@{#28459}
2015-05-19 03:11:23 +00:00
wingo
1efc1e4f7a
Reapply "Resolve references to "this" the same way as normal variables""
...
This reapplies https://codereview.chromium.org/1136073002 , along with
the followups:
Remove Scope::scope_uses_this_ flag
https://codereview.chromium.org/1128963005
and
PPC: Resolve references to "this" the same way as normal variables
https://codereview.chromium.org/1134073003
R=yangguo@chromium.org , rossberg@chromium.org
LOG=N
BUG=
Review URL: https://codereview.chromium.org/1136883006
Cr-Commit-Position: refs/heads/master@{#28458}
2015-05-18 20:16:12 +00:00
dslomov
cf9492ddd8
[destructuring] More tests for object literal pattern
...
R=arv@chromium.org ,rossberg@chromium.org
BUG=v8:811
LOG=N
Review URL: https://codereview.chromium.org/1139773005
Cr-Commit-Position: refs/heads/master@{#28457}
2015-05-18 20:14:51 +00:00
dehrenberg
cc3f59db55
Add TypedArray.from method
...
This function creates a new way to make TypedArrays based on existing
iterable or Array-like objects, analogous to Array.from. The patch
implements the function and adds tests.
R=arv@chromium.org
BUG=v8:3578
LOG=Y
Review URL: https://codereview.chromium.org/1132163011
Cr-Commit-Position: refs/heads/master@{#28456}
2015-05-18 20:13:47 +00:00
ishell
8bc3dc0372
ARM64: Propagate notification about aborted compilation from RegExpEngine to MacroAssembler.
...
BUG=chromium:489290
LOG=Y
Review URL: https://codereview.chromium.org/1145653004
Cr-Commit-Position: refs/heads/master@{#28455}
2015-05-18 19:41:14 +00:00
caitpotter88
e160e6debb
[parser] report SyntaxError if rest parameter used in Setter MethodDefinition
...
BUG=v8:4107, v8:2159
LOG=N
R=arv@chromium.org
Review URL: https://codereview.chromium.org/1141223002
Cr-Commit-Position: refs/heads/master@{#28454}
2015-05-18 15:52:45 +00:00
ishell
5bd4f9dd5a
Fixed SEGV that could happen if an exception is thrown during bootstrapping.
...
BUG=chromium:487974
LOG=N
Review URL: https://codereview.chromium.org/1145703002
Cr-Commit-Position: refs/heads/master@{#28453}
2015-05-18 15:50:26 +00:00
titzer
178c0f5f05
[turbofan] Fix Node::TrimInputCount() followed by Node::AppendInput() bug.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1132353004
Cr-Commit-Position: refs/heads/master@{#28452}
2015-05-18 15:49:04 +00:00
machenbach
5db7ae4797
[test] Refactoring: Remove code duplication in perf runner.
...
BUG=484208
LOG=n
TBR=kjellander@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/1139833003
Cr-Commit-Position: refs/heads/master@{#28451}
2015-05-18 15:10:52 +00:00
machenbach
2901c093a6
Update change log to match roll branch.
...
NOTRY=true
Review URL: https://codereview.chromium.org/1140603005
Cr-Commit-Position: refs/heads/master@{#28450}
2015-05-18 15:03:50 +00:00
machenbach
91f38435ea
Revert of [V8] Added Script::is_opaque flag for embedders (patchset #5 id:80001 of https://codereview.chromium.org/1140673002/ )
...
Reason for revert:
[Sheriff] Breaks chromium win compilation:
http://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Win/builds/96
Original issue's description:
> [V8] Added Script::is_opaque flag for embedders
>
> When the page is controlled by a ServiceWorker, the ServiceWorker can return an opaque (non-CORS cross origin) resource response.
> We need to treat the messages from such script resource as opaque.
>
> Committed: https://crrev.com/7a599c5e1242d3c5ab7515ee149623da90ae69ec
> Cr-Commit-Position: refs/heads/master@{#28445}
TBR=mkwst@chromium.org ,jochen@chromium.org,yangguo@chromium.org,horo@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/1135343005
Cr-Commit-Position: refs/heads/master@{#28449}
2015-05-18 14:54:42 +00:00
machenbach
9d17058651
[release-tools] Add more jobs to clusterfuzz check.
...
This will send automatic email notifications about reliable
failures from the respective jobs.
NOTRY=true
Review URL: https://codereview.chromium.org/1147713002
Cr-Commit-Position: refs/heads/master@{#28448}
2015-05-18 14:40:56 +00:00
arv
55a7500343
[strong] Fix super in strong classes
...
The functions of strong classes are born non extensible. But, when
the class is created we need to add an own private symbol representing
the [[HomeObject]] slot in the spec.
Like for the hidden_string property, we allow adding private own
symbols to non extensible objects.
BUG=v8:4077
LOG=N
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/1138603003
Cr-Commit-Position: refs/heads/master@{#28447}
2015-05-18 14:18:38 +00:00
bradnelson
f3a18ee662
Add --download-data-only option to run-test.py
...
The simd.js benchmarks reside in the same repository
that holds the compliance tests.
Adding an option to run-test.py to download test data
and exit, so that a recipe to run the simd.js
benchmarks can call run-test.py with this option
to fetch the test data.
BUG=https://code.google.com/p/v8/issues/detail?id=4124
LOG=N
TEST=manual verification it works.
NOTRY=true
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1140353002
Cr-Commit-Position: refs/heads/master@{#28446}
2015-05-18 14:11:04 +00:00
horo
7a599c5e12
[V8] Added Script::is_opaque flag for embedders
...
When the page is controlled by a ServiceWorker, the ServiceWorker can return an opaque (non-CORS cross origin) resource response.
We need to treat the messages from such script resource as opaque.
Review URL: https://codereview.chromium.org/1140673002
Cr-Commit-Position: refs/heads/master@{#28445}
2015-05-18 13:54:24 +00:00
rossberg
fe6598cffb
[strong] Object literals create strong objects
...
R=dslomov@chromium.org
BUG=v8:3956
LOG=N
Review URL: https://codereview.chromium.org/1134333005
Cr-Commit-Position: refs/heads/master@{#28444}
2015-05-18 13:23:17 +00:00
verwaest
6c98bb1e6d
Remove undefined-check from GetElementWithReceiver
...
BUG=
Review URL: https://codereview.chromium.org/1145693002
Cr-Commit-Position: refs/heads/master@{#28443}
2015-05-18 13:14:53 +00:00
verwaest
4268141ca6
Reland "Mark internal AccessorInfo properties as 'special data properties'"
...
This reverts commit ac5336baca
.
BUG=
Review URL: https://codereview.chromium.org/1138483005
Cr-Commit-Position: refs/heads/master@{#28442}
2015-05-18 12:36:40 +00:00
titzer
029a2d61a6
[turbofan] JSTypeFeedbackSpecializer is now an AdvancedReducer.
...
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1136413002
Cr-Commit-Position: refs/heads/master@{#28441}
2015-05-18 11:54:00 +00:00
dusan.milosavljevic
8d7633c5cc
MIPS: Fix bogus line in assembler test.
...
TEST=cctest/test-assembler-mips/MIPS11
BUG=
Review URL: https://codereview.chromium.org/1133663007
Cr-Commit-Position: refs/heads/master@{#28440}
2015-05-18 10:55:26 +00:00
yangguo
fc65e55116
Migrate error messages, part 12.
...
Review URL: https://codereview.chromium.org/1130133003
Cr-Commit-Position: refs/heads/master@{#28439}
2015-05-18 08:33:51 +00:00
v8-autoroll
03131f8a4a
Update V8 DEPS.
...
Rolling v8/tools/clang to 26185eb8de21f4755350a246d30bca8cd5a12deb
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1132373004
Cr-Commit-Position: refs/heads/master@{#28438}
2015-05-18 03:25:33 +00:00
machenbach
ac5336baca
Revert of Mark internal AccessorInfo properties as "special data properties" (patchset #2 id:20001 of https://codereview.chromium.org/1123163005/ )
...
Reason for revert:
[Sheriff] Blocks current roll:
https://codereview.chromium.org/1124403007/
Bisection (https://codereview.chromium.org/1142753002/ ) points to this CL.
Original issue's description:
> Mark internal AccessorInfo properties as "special data properties" to ensure correct strict-mode handling.
>
> BUG=
>
> Committed: https://crrev.com/188297160d2b82a4e2a206ebbddfc21dd99a9d8d
> Cr-Commit-Position: refs/heads/master@{#28369}
TBR=rossberg@chromium.org ,verwaest@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/1142763002
Cr-Commit-Position: refs/heads/master@{#28437}
2015-05-17 16:50:17 +00:00
machenbach
f453416b7f
Revert of Debugger: preserve stepping state after evaluating breakpoint condition. (patchset #1 id:1 of https://codereview.chromium.org/1132643004/ )
...
Reason for revert:
[Sheriff] This breaks TSAN (makes some tests marked as flaky permanently fail):
http://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/3882
Original issue's description:
> Debugger: preserve stepping state after evaluating breakpoint condition.
>
> R=ulan@chromium.org , yurys@chromium.org
> BUG=chromium:467180
> LOG=N
TBR=ulan@chromium.org ,yurys@chromium.org,yangguo@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:467180
Review URL: https://codereview.chromium.org/1130123007
Cr-Commit-Position: refs/heads/master@{#28436}
2015-05-17 06:21:39 +00:00
hablich
1d7a513ff0
Update version to 4.5
...
BUG=
TBR=machenbach@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/1123393006
Cr-Commit-Position: refs/heads/master@{#28435}
2015-05-17 06:08:16 +00:00
v8-autoroll
10101d02fa
Update V8 DEPS.
...
Rolling v8/tools/clang to ec43def7c912c4a6bfadaf9e500bfb05da263f6f
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1139293002
Cr-Commit-Position: refs/heads/master@{#28434}
2015-05-17 03:24:48 +00:00
v8-autoroll
6b7a1b7eb1
Update V8 DEPS.
...
Rolling v8/third_party/icu to 5788e2736b3bc642994b6351a6096124895afa01
Rolling v8/tools/clang to e11ef3ee3eecde207b8a38916b34fde40352f466
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1138003006
Cr-Commit-Position: refs/heads/master@{#28433}
2015-05-16 03:26:26 +00:00
yangguo
ee6666a55a
Debugger: preserve stepping state after evaluating breakpoint condition.
...
R=ulan@chromium.org , yurys@chromium.org
BUG=chromium:467180
LOG=N
Review URL: https://codereview.chromium.org/1132643004
Cr-Commit-Position: refs/heads/master@{#28432}
2015-05-15 22:50:55 +00:00
mbrandy
fd892a676e
PPC: Now that vector ics are established for load, keyed load and call ics, let's remove dead code behind the flag.
...
Port 323ced9e27
R=mvstanton@chromium.org , dstence@us.ibm.com , michael_dawson@ca.ibm.com
BUG=
Review URL: https://codereview.chromium.org/1132513007
Cr-Commit-Position: refs/heads/master@{#28431}
2015-05-15 17:41:02 +00:00