mvstanton@chromium.org
137b43c9a3
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
2013-09-19 14:13:34 +00:00
mvstanton@chromium.org
53194b44ba
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
2013-09-19 13:32:00 +00:00
dcarney@chromium.org
e0ecb1a14b
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
2013-09-19 13:30:47 +00:00
jochen@chromium.org
98477e3880
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
2013-09-19 13:11:57 +00:00
mstarzinger@chromium.org
0bad48202f
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
2013-09-19 13:03:02 +00:00
jochen@chromium.org
a7e5ae37cd
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
2013-09-19 13:01:34 +00:00
jochen@chromium.org
416f2a9ba7
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
2013-09-19 12:07:03 +00:00
jochen@chromium.org
c91189fc0f
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
2013-09-19 12:06:27 +00:00
jochen@chromium.org
01a2904fda
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
2013-09-19 12:00:15 +00:00
dcarney@chromium.org
c8c6cfe5fa
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
2013-09-19 10:31:04 +00:00
dcarney@chromium.org
15408ba0c9
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
2013-09-19 09:56:09 +00:00
mvstanton@chromium.org
59c32b6481
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
2013-09-19 09:48:50 +00:00
dcarney@chromium.org
c57236e288
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
2013-09-19 09:46:15 +00:00
verwaest@chromium.org
8754a25197
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
2013-09-19 09:37:31 +00:00
dcarney@chromium.org
baf6add9f0
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
2013-09-19 09:17:13 +00:00
mvstanton@chromium.org
5df56fd975
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
2013-09-19 09:15:29 +00:00
yangguo@chromium.org
32ceb91735
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
2013-09-19 09:08:08 +00:00
titzer@chromium.org
8aafabc24c
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
2013-09-19 09:07:27 +00:00
dcarney@chromium.org
f758caa34d
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
2013-09-19 08:54:58 +00:00
dcarney@chromium.org
9888027edf
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
2013-09-19 08:03:19 +00:00
dcarney@chromium.org
c96a606e77
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
2013-09-19 07:33:45 +00:00
bmeurer@chromium.org
557e9b9d5c
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
2013-09-19 06:45:45 +00:00
bmeurer@chromium.org
bf192205ce
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
2013-09-19 06:08:13 +00:00
bmeurer@chromium.org
45bd2f50cd
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
2013-09-19 06:07:23 +00:00
bmeurer@chromium.org
3181343958
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
2013-09-19 06:06:32 +00:00
verwaest@chromium.org
4db74648bd
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
2013-09-18 16:59:23 +00:00
mstarzinger@chromium.org
137029a756
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
2013-09-18 16:41:12 +00:00
mstarzinger@chromium.org
83cb6a6351
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
2013-09-18 16:25:52 +00:00
titzer@chromium.org
957a6da2a2
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
2013-09-18 16:05:39 +00:00
jochen@chromium.org
af77a05df6
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
2013-09-18 15:15:58 +00:00
rodolph.perfetta@gmail.com
86e3d4ae56
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
2013-09-18 15:13:18 +00:00
mstarzinger@chromium.org
ff2719a075
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
2013-09-18 15:08:17 +00:00
verwaest@chromium.org
4da303d937
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
2013-09-18 14:56:18 +00:00
mstarzinger@chromium.org
ad69e19d67
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
2013-09-18 14:46:30 +00:00
verwaest@chromium.org
8c0c573d96
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
2013-09-18 14:14:55 +00:00
machenbach@chromium.org
eca42c42cb
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
2013-09-18 13:50:00 +00:00
machenbach@chromium.org
ef62d7231e
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
2013-09-18 12:31:44 +00:00
jochen@chromium.org
a5eda99f1f
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
2013-09-18 10:00:20 +00:00
jochen@chromium.org
e805b83621
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
2013-09-18 09:21:02 +00:00
machenbach@chromium.org
7e0cc85765
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
2013-09-18 08:58:01 +00:00
jochen@chromium.org
f296624284
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
2013-09-18 08:44:41 +00:00
jochen@chromium.org
f41f6c2b41
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
2013-09-18 08:11:44 +00:00
hpayer@chromium.org
ae942958c3
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
2013-09-18 07:44:17 +00:00
plind44@gmail.com
bcaea997d8
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
2013-09-17 19:40:43 +00:00
plind44@gmail.com
d047afb4fe
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
2013-09-17 19:10:48 +00:00
prybin@chromium.org
2974f8e3bb
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
2013-09-17 17:35:36 +00:00
titzer@chromium.org
05797e77fd
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
2013-09-17 15:32:21 +00:00
dslomov@chromium.org
9f5edd1bb2
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
2013-09-17 15:26:18 +00:00
svenpanne@chromium.org
cc17926d6b
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
2013-09-17 13:48:17 +00:00
olivf@chromium.org
a5e0f768b3
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
2013-09-17 13:02:25 +00:00