mstarzinger@chromium.org [Thu, 19 Sep 2013 21:26:01 +0000 (21:26 +0000)]
Handlify JSObject::Freeze method.
R=adamk@chromium.org
Review URL: https://codereview.chromium.org/
24256004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16846
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Thu, 19 Sep 2013 18:19:24 +0000 (18:19 +0000)]
Optimize typed-array length loading.
R=dslomov@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23484060
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16845
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 19 Sep 2013 17:03:32 +0000 (17:03 +0000)]
Handlify JSReceiver::SetPropertyWithDefinedSetter method.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
24176002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16844
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Thu, 19 Sep 2013 17:02:57 +0000 (17:02 +0000)]
Use Unique<Map> in CompareMap.
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
24243005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16843
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Thu, 19 Sep 2013 16:26:14 +0000 (16:26 +0000)]
Make bounds check elimination iterative instead of recursive.
BUG=289706
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
23444083
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16842
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 19 Sep 2013 16:25:35 +0000 (16:25 +0000)]
Mark failing test262 tests for Windows and Mac.
TRB=jochen@chromium.org
TEST=test262
Review URL: https://codereview.chromium.org/
23694046
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16841
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Thu, 19 Sep 2013 15:38:51 +0000 (15:38 +0000)]
MIPS: Add HLoadRoot hydrogen instruction.
Port r16807 (257f48f)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
24134004
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16840
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Thu, 19 Sep 2013 15:31:51 +0000 (15:31 +0000)]
MIPS: Move NumberToStringStub::GenerateLookupNumberStringCache to the MacroAssembler.
Port r16806 (9f102a8)
Original commit message:
This renames the method to LookupNumberStringCache() and puts it into
the MacroAssembler in preparation of the NumberToStringStub Hydrogen
conversion.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
23526072
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16839
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Thu, 19 Sep 2013 15:20:13 +0000 (15:20 +0000)]
MIPS: Turn HCompareHoleAndBranch into a HUnaryControlInstruction.
Port r16805 (b106027)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
23876029
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16838
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 15:06:20 +0000 (15:06 +0000)]
stop writing isolate-* files
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24072008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16837
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 19 Sep 2013 14:51:50 +0000 (14:51 +0000)]
Extend test262 harness to cover intl402 suite as well.
R=jochen@chromium.org, machenbach@chromium.org
BUG=v8:2745
TEST=test262
Review URL: https://codereview.chromium.org/
23898010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16836
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Thu, 19 Sep 2013 14:47:15 +0000 (14:47 +0000)]
Reenable polymorphic getter inlining.
R=titzer@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
24134003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16835
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 19 Sep 2013 14:35:53 +0000 (14:35 +0000)]
Fix missing initialization of last_true_block_ in IfBuilder.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
23976005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16834
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 19 Sep 2013 14:13:34 +0000 (14:13 +0000)]
Added a DependentCode field to AllocationSite. It's not currently used,
this initial CL is just to get the object layout correct.
BUG=
R=hpayer@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23567003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16833
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 19 Sep 2013 13:32:00 +0000 (13:32 +0000)]
Allocation site tests aren't compatible with GcStress mode.
They make assumptions about elementskind of arrays based on allocation site
feedback. This feedback is highly dependent on mementos, unrooted objects
placed behind arrays in the heap meant to live until the next scavenge.
GcStress does many more gcs than normal, and wrecks havoc with this kind
of test.
BUG=
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
23449042
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16832
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 13:30:47 +0000 (13:30 +0000)]
cleanup cctest generally and remove ctest::context
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23519010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16831
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 19 Sep 2013 13:11:57 +0000 (13:11 +0000)]
Collect garbage before running mjsunit/fast-prototype
When not using a snapshot, after turning on i18n, there's just enough
garbage after creating a context to trigger gc at the wrong moment.
Since the test uses natives syntax to access information that would
otherwise be hidden from javascript, this makes the test fail
BUG=none
R=mstarzinger@chromium.org
TEST=mjsunit/fast-prototype passes on ia32.release with no snapshot
Review URL: https://codereview.chromium.org/
23452047
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16830
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 19 Sep 2013 13:03:02 +0000 (13:03 +0000)]
Make GIT ignore intl.status2 file.
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
23484058
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16829
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 19 Sep 2013 13:01:34 +0000 (13:01 +0000)]
Mark intl/collator/default-locale as PASS || FAIL because it fails on Mac
BUG=2899
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23705011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16828
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 19 Sep 2013 12:07:03 +0000 (12:07 +0000)]
Turn on i18n support by default
This reverts commit r16789
BUG=none
R=machenbach@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23522063
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16827
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 19 Sep 2013 12:06:27 +0000 (12:06 +0000)]
Collect garbage before serializing heap in test-serialize
BUG=none
TEST=nosnap bots with i18n enabled are happy
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
24196004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16826
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 19 Sep 2013 12:00:15 +0000 (12:00 +0000)]
Initialize ICU when running cctests.
This is required on Windows to load the ICU data tables.
BUG=none
R=machenbach@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
24273002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16825
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 10:31:04 +0000 (10:31 +0000)]
remove GetCurrent from LocalContext
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24271002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16824
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 09:56:09 +0000 (09:56 +0000)]
remove CcTest::default_isolate
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24018005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16821
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 19 Sep 2013 09:48:50 +0000 (09:48 +0000)]
Transitions from DOUBLE to FAST were not checking for allocation site info.
This creates a confusing result. It's better to let allocation sites
transition to their end state than artificially stop tracking at the
double/fast boundary.
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
22868004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16820
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 09:46:15 +0000 (09:46 +0000)]
remove HEAP from tests
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24169005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16819
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Thu, 19 Sep 2013 09:37:31 +0000 (09:37 +0000)]
Fix string and descriptor array decoding in grokdump.
BUG=
R=mstarzinger@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23465027
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16818
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 09:17:13 +0000 (09:17 +0000)]
bulk replace Isolate::Current in tests
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23534067
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16817
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 19 Sep 2013 09:15:29 +0000 (09:15 +0000)]
Revert ("Chromium 284577 needs a mitigation CL added." (svn-id 16742))
Also change a check in heap-inl.h for diagnosing 284577 into an assert.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
24259005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16816
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 19 Sep 2013 09:08:08 +0000 (09:08 +0000)]
Refactor back edge table related code into a new class.
This is mostly moving and renaming, except for the BackEdgeTableIterator.
Motivation is that the back edges in unoptimized code has nothing to do with the deoptimizer.
R=titzer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23526069
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16815
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Thu, 19 Sep 2013 09:07:27 +0000 (09:07 +0000)]
Use UniqueSet<T> and Unique<T> in HCheckMaps and HCheckValue.
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
23604062
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16814
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 08:54:58 +0000 (08:54 +0000)]
bulk replace v8::Isolate::GetCurrent in tests
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24265002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16813
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 08:03:19 +0000 (08:03 +0000)]
build fix for 16809 nosnapshot issue
TBR=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24262002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16810
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 19 Sep 2013 07:33:45 +0000 (07:33 +0000)]
Remove default isolate usage from almost all tests
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24220003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16809
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 19 Sep 2013 06:45:45 +0000 (06:45 +0000)]
Fix IfBuilder to use instruction factories. Add missing instruction factories.
This also makes the instruction constructors private and fixes
all uses of the public constructors to use the factory methods
instead.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
23654051
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16808
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 19 Sep 2013 06:08:13 +0000 (06:08 +0000)]
Add HLoadRoot hydrogen instruction.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
23601038
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16807
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 19 Sep 2013 06:07:23 +0000 (06:07 +0000)]
Move NumberToStringStub::GenerateLookupNumberStringCache to the MacroAssembler.
This renames the method to LookupNumberStringCache() and puts it into
the MacroAssembler in preparation of the NumberToStringStub Hydrogen
conversion.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
23618056
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16806
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 19 Sep 2013 06:06:32 +0000 (06:06 +0000)]
Turn HCompareHoleAndBranch into a HUnaryControlInstruction.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
24195009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16805
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 18 Sep 2013 16:59:23 +0000 (16:59 +0000)]
Turn of polymorphic getter inlining since it breaks webkit tests
BUG=
R=titzer@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23526063
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16804
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 18 Sep 2013 16:41:12 +0000 (16:41 +0000)]
Handlify JSObject::AddFastPropertyUsingMap method.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
24195003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16801
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 18 Sep 2013 16:25:52 +0000 (16:25 +0000)]
Handlify JSObject::SetNormalizedProperty methods.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
24096017
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16799
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Wed, 18 Sep 2013 16:05:39 +0000 (16:05 +0000)]
Dynamically align OSR frames on ia32.
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
23619076
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16798
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 18 Sep 2013 15:15:58 +0000 (15:15 +0000)]
Use %_Arguments instead of arguments in snapshotable i18n code
Because the latter doesn't exist.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23533062
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16795
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rodolph.perfetta@gmail.com [Wed, 18 Sep 2013 15:13:18 +0000 (15:13 +0000)]
ARM: Fix simulator when using hard floating point ABI.
BUG=none
TEST=make arm.release.check armfloatabi=hard
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
23496062
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16794
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 18 Sep 2013 15:08:17 +0000 (15:08 +0000)]
Remove obsolete Runtime_CreateObjectLiteralShallow.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
24096019
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16793
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 18 Sep 2013 14:56:18 +0000 (14:56 +0000)]
Unify load handling into CanLoad and Load.
R=titzer@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
24088003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16792
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 18 Sep 2013 14:46:30 +0000 (14:46 +0000)]
Delete obsolete JSArray allocation functions.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
24202003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16791
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 18 Sep 2013 14:14:55 +0000 (14:14 +0000)]
Set the proper instance-type on HAllocate in BuildFastLiteral
BUG=chromium:284577
R=hpayer@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23480094
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16790
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 18 Sep 2013 13:50:00 +0000 (13:50 +0000)]
Revert "Turn on i18n support by default", "Update test262 expectations, now that 15.5.4.9_CE passes", "Make testing i18n the default.", "Mark two failing mozilla tests as failing.", "Mark mozilla tests as flaky instead of failing" and "Fix test expectations for i18n."
This reverts commit 16783-16788 due to several crashers on nosnap builder.
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/
23455055
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16789
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 18 Sep 2013 12:31:44 +0000 (12:31 +0000)]
Fix test expectations for i18n.
BUG=v8:2893
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/
23522060
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16788
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 18 Sep 2013 10:00:20 +0000 (10:00 +0000)]
Mark mozilla tests as flaky instead of failing
Apparently, they work on windows
BUG=v8:2893
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23583046
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16787
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 18 Sep 2013 09:21:02 +0000 (09:21 +0000)]
Mark two failing mozilla tests as failing.
They started to fail after turning on i18n support. Need to investigate
why
BUG=v8:2893
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23705008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16786
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 18 Sep 2013 08:58:01 +0000 (08:58 +0000)]
Make testing i18n the default.
If i18n support is on when building with make, the intl test suite is automatically run with "check".
On the bots, we'll turn it off explicitly, where required.
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
23702044
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16785
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 18 Sep 2013 08:44:41 +0000 (08:44 +0000)]
Update test262 expectations, now that 15.5.4.9_CE passes
BUG=v8:2413
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23961009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16784
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 18 Sep 2013 08:11:44 +0000 (08:11 +0000)]
Turn on i18n support by default
BUG=v8:2745
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
23003028
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16783
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Wed, 18 Sep 2013 07:44:17 +0000 (07:44 +0000)]
Prepare push to trunk. Now working on version 3.21.18.
R=machenbach@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23669007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16780
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Tue, 17 Sep 2013 19:40:43 +0000 (19:40 +0000)]
MIPS: Tweak StoreKeyed.
Port r16771 (536eb66)
Original commit message:
Avoid corrupting its input in some cases.
BUG=none
TEST=test/mjsunit/lithium/StoreKeyed*.js
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
23537053
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16779
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Tue, 17 Sep 2013 19:10:48 +0000 (19:10 +0000)]
MIPS: reland 16744: add context save for GenerateFastApiCall.
Port r16763 (968acfa)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
23475052
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16778
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
prybin@chromium.org [Tue, 17 Sep 2013 17:35:36 +0000 (17:35 +0000)]
Support stepin for combination of apply and bound function
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
23513023
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16777
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 17 Sep 2013 15:32:21 +0000 (15:32 +0000)]
Implement local load/store elimination on basic blocks.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
24117004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16776
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Tue, 17 Sep 2013 15:26:18 +0000 (15:26 +0000)]
Make v8 compile on VS2013.
VS2013 contains a number of improvements, most notably the addition of all C99 math functions.
I'm a little bit concerned about the change I had to make in cpu-profiler.cc, but I spent quite a bit of time looking at it and was unable to figure out any rational explanation for the warning. It's possible it's spurious. Since it seems like a useful warning in general though, I chose not to disable globally at the gyp level.
I do think someone with expertise here should probably try to determine if this is a legitimate warning.
BUG=288948
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
23449035
Patch from Zach Turner <zturner@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16775
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 17 Sep 2013 13:48:17 +0000 (13:48 +0000)]
Add flags to force or prevent setting of isolate.is_memory_constrained.
Enables MAYBE_BOOL flags for when you want to only do something if the flag
was explicitly set to true or false. Also cleans up JSArguments struct.
BUG=None
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
23513062
Patch from Ross McIlroy <rmcilroy@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16774
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olivf@chromium.org [Tue, 17 Sep 2013 13:02:25 +0000 (13:02 +0000)]
Add a mechanism to override the detected cpu features.
BUG=
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
23523060
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16772
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rodolph.perfetta@gmail.com [Tue, 17 Sep 2013 12:37:31 +0000 (12:37 +0000)]
ARM: Tweak StoreKeyed.
Avoid corrupting its input in some cases.
BUG=none
TEST=test/mjsunit/lithium/StoreKeyed*.js
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
23600054
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16771
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Tue, 17 Sep 2013 12:37:22 +0000 (12:37 +0000)]
new gc callbacks with isolate parameters
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24065005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16770
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 17 Sep 2013 12:28:35 +0000 (12:28 +0000)]
Open new handle scope when deep copying.
R=mstarzinger@chromium.org
BUG=292903
Review URL: https://codereview.chromium.org/
24201002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16769
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Tue, 17 Sep 2013 12:23:12 +0000 (12:23 +0000)]
remove js_accessor_ics flag
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24200002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16768
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olivf@chromium.org [Tue, 17 Sep 2013 12:22:09 +0000 (12:22 +0000)]
LLoadKeyed does not clobber double anymore.
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
23890031
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16767
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olivf@chromium.org [Tue, 17 Sep 2013 12:20:41 +0000 (12:20 +0000)]
Ensure constant truncation is only done when it is safe.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23654041
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16766
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Tue, 17 Sep 2013 12:17:47 +0000 (12:17 +0000)]
Adjust Android test runner to push tools/profviz to device.
R=bmeurer@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23567041
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16765
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 17 Sep 2013 11:54:32 +0000 (11:54 +0000)]
Fix i18n compilation after r16762.
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
23653041
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16764
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Tue, 17 Sep 2013 11:37:48 +0000 (11:37 +0000)]
reland 16744: add context save for GenerateFastApiCall
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23903053
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16763
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 17 Sep 2013 11:34:20 +0000 (11:34 +0000)]
Handlify JSReceiver::HasProperty and friends.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
23496058
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16762
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 17 Sep 2013 11:27:24 +0000 (11:27 +0000)]
Remove unused HIsNumberAndBranch instruction.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
23691067
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16761
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 17 Sep 2013 11:01:43 +0000 (11:01 +0000)]
Handlify JSReceiver::SetProperty and friends.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
23601031
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16758
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 17 Sep 2013 10:57:18 +0000 (10:57 +0000)]
Don't run tests with the profiler when USE_SIMULATOR is defined.
BUG=v8:2874
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
23710063
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16757
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 17 Sep 2013 10:34:30 +0000 (10:34 +0000)]
Revert "ARM: Add tests for CopyBytes."
This reverts commit r16751 for breaking arm.debug checks.
TBR=ulan@chromium.org
Review URL: https://codereview.chromium.org/
24198002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16756
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 17 Sep 2013 10:27:19 +0000 (10:27 +0000)]
Ensure escape analysis preserves boxed HeapNumber.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
23940005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16755
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 17 Sep 2013 09:09:44 +0000 (09:09 +0000)]
Fix typo in x64 disassembler.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
23902039
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16752
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Tue, 17 Sep 2013 09:01:12 +0000 (09:01 +0000)]
ARM: Add tests for CopyBytes.
TEST=cctest/test-macro-assembler-arm.cc
R=ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23480027
Patch from Bangfu Tao <bangfu.tao@samsung.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16751
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 17 Sep 2013 08:55:38 +0000 (08:55 +0000)]
Fix handling of Integer32 in HLoadNamedField and HStoreNamedField on x64.
The current implementation of Integer32 named loads and stores
is broken on x64.
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
23548039
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16750
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 17 Sep 2013 08:31:56 +0000 (08:31 +0000)]
Use icu_gyp_path variable to reference ICU gyp file
That way, embedders can put the icu sources whereever they want and
aren't forced to put them under third_party/gyp
BUG=none
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
23598011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16749
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Tue, 17 Sep 2013 07:53:56 +0000 (07:53 +0000)]
revert 16744 for breaking build
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
24196002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16746
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 17 Sep 2013 07:29:26 +0000 (07:29 +0000)]
Refactoring only: Make it clear that MOD is special.
LArithmeticD should really be 5 different instructions... :-/
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
23800005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16745
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Tue, 17 Sep 2013 07:19:50 +0000 (07:19 +0000)]
add context save for GenerateFastApiCall
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23461039
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16744
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
palfia@homejinni.com [Mon, 16 Sep 2013 21:59:00 +0000 (21:59 +0000)]
MIPS: Orthogonalize Lithium binary op instructions.
Port r16739 (
cd8e4a21)
BUG=
R=gergely@homejinni.com
Review URL: https://codereview.chromium.org/
23494054
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16743
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Mon, 16 Sep 2013 16:50:41 +0000 (16:50 +0000)]
Chromium 284577 needs a mitigation CL added. There is a TODO to remove
the mitigation when the cause of the bug is discovered.
BUG=
R=hpayer@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23606032
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16742
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 16 Sep 2013 16:09:07 +0000 (16:09 +0000)]
Fix compile error.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23651012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16741
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 16 Sep 2013 15:34:46 +0000 (15:34 +0000)]
Add mutex when accessing concurrent recompilation output queue.
Also small refactorings.
R=mstarzinger@chromium.org
BUG=291236
Review URL: https://codereview.chromium.org/
23902033
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16740
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olivf@chromium.org [Mon, 16 Sep 2013 15:24:49 +0000 (15:24 +0000)]
Orthogonalize Lithium binary op instructions.
BUG=
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
23703014
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16739
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
loislo@chromium.org [Mon, 16 Sep 2013 15:19:41 +0000 (15:19 +0000)]
HeapProfiler: compile fix for win x64.
BUG=none
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
24178003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16738
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 16 Sep 2013 14:50:01 +0000 (14:50 +0000)]
Don't lookup the cache for the result of Function::New
Since isFunctionCached condition is wrong, we lookup the cache even if
doNotCache is true. As a result, Function::New always returns null
except for the first time.
BUG=272579
R=dcarney@chromium.org, mstarzinger@chromium.org, yhirano@chromium.org
Review URL: https://codereview.chromium.org/
23513048
Patch from Yusuke Suzuki <yusukesuzuki@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16737
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Mon, 16 Sep 2013 14:09:22 +0000 (14:09 +0000)]
Revert "Add flags to force or prevent setting of isolate.is_memory_constrained."
It introduces static initializers for the new "MAYBE_BOOL" kind of
flags, which is a no-no for Chrome. This has to be done differently.
TBR=danno@chromium.org
Review URL: https://codereview.chromium.org/
23621044
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16736
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Mon, 16 Sep 2013 13:51:14 +0000 (13:51 +0000)]
In the case of shift amounts with two constants and if their sum is equal 32, then shift can also be replaced with bit rotate.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
24095002
Patch from Bangfu Tao <bangfu.tao@samsung.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16735
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
loislo@chromium.org [Mon, 16 Sep 2013 13:13:42 +0000 (13:13 +0000)]
HeapSnapshot: replace O(N*ln(N)) algorithm of sorting with O(N) one.
We have HashMap for the strings. They got id sequentially. So we could use index sort.
BUG=none
R=alph@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
24174002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16734
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Mon, 16 Sep 2013 13:02:53 +0000 (13:02 +0000)]
Add flags to force or prevent setting of isolate.is_memory_constrained.
Also enable MAYBE_BOOL flags for when you want to only do something if the flag was explicitly set to true or false.
BUG=None
R=hpayer@chromium.org, svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
23890027
Patch from Ross McIlroy <rmcilroy@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16733
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 16 Sep 2013 12:44:28 +0000 (12:44 +0000)]
Make HValue::ActualValue() traverse all idefs.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23691064
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16732
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Mon, 16 Sep 2013 12:41:05 +0000 (12:41 +0000)]
Tweak HConstant::EmitAtUses() to eliminate useless constant generation
BUG=2881
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
23811011
Patch from Weiliang Lin <weiliang.lin2@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16731
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 16 Sep 2013 12:38:41 +0000 (12:38 +0000)]
Make HCompareNumericAndBranch safe for snapshots on ia32.
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
24078012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16730
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Mon, 16 Sep 2013 12:08:30 +0000 (12:08 +0000)]
Fixed shared_library build on Windows.
BUG=v8:2879
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
24054008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16729
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00