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
bmeurer@chromium.org [Mon, 16 Sep 2013 11:30:10 +0000 (11:30 +0000)]
Remove unused context parameter from AddIncrementCounter().
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
23622033
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16728
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rodolph.perfetta@gmail.com [Mon, 16 Sep 2013 11:28:18 +0000 (11:28 +0000)]
ARM: Tweak the integer division operation.
BUG=none
TEST=test/mjsunit/lithium/DivI.js
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
23536045
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16727
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 16 Sep 2013 09:30:43 +0000 (09:30 +0000)]
Rename StubType MAP_TRANSITION to TRANSITION.
R=mvstanton@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
24120007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16726
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
loislo@chromium.org [Mon, 16 Sep 2013 09:16:03 +0000 (09:16 +0000)]
HeapProfiler: replace pointer based matching algorithm with string matching algorithm for strings_ member.
pros: decreased snapshot size.
cons: increased serialization time.
I've tested the implementation on gmail 90mb heap.
I saw no speed degradation on the serialization step.
The snapshot size lost ~3% of its size. 100Mb -> 97Mb.
BUG=none
R=alph@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
24120006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16725
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Mon, 16 Sep 2013 07:32:10 +0000 (07:32 +0000)]
Prepare push to trunk. Now working on version 3.21.17.
R=machenbach@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23437040
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16722
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Fri, 13 Sep 2013 15:28:15 +0000 (15:28 +0000)]
MIPS: remove getcurrent from stubs.
Port r16710 (c5203f8)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
23710046
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16721
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Fri, 13 Sep 2013 15:22:45 +0000 (15:22 +0000)]
MIPS: Improve SeqStringSetChar implementation.
Port r16707 (a25d669)
TEST=/test/mjsunit/lithium/SeqStringSetChar.js
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
23484043
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16720
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 13 Sep 2013 13:50:16 +0000 (13:50 +0000)]
Every place where AllocationMemento is initialized with an
AllocationSite is now checked to be sure a valid Site goes in.
This is temporary code to diagnose chromium bug 284577.
(This is a second attempt, the first attempt ran into the problem of undefined ordering of function calls in Windows and Mac optimized builds, see the fixes in code-stubs-hydrogen.cc).
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23440035
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16719
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Fri, 13 Sep 2013 13:45:53 +0000 (13:45 +0000)]
revert 16717 for breaking everything
TBR=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23708039
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16718
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Fri, 13 Sep 2013 12:49:57 +0000 (12:49 +0000)]
line up crashing with chrome
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23868025
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16717
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 13 Sep 2013 12:35:36 +0000 (12:35 +0000)]
Add Contains(), at(), and a constructor with raw addresses to UniqueSet<T> and Unique<T>.
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
23872027
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16716
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 13 Sep 2013 12:02:50 +0000 (12:02 +0000)]
Add missing factory method for HDebugBreak.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
23619052
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16715
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olivf@chromium.org [Fri, 13 Sep 2013 12:01:32 +0000 (12:01 +0000)]
Intel: Branch reordering and port arm EmitNumberUntagD() Improvement
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
23872026
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16714
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Fri, 13 Sep 2013 11:47:54 +0000 (11:47 +0000)]
Fix heap verifier for partially constructed arrays when allocation folding is off.
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
23934008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16713
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 13 Sep 2013 11:14:02 +0000 (11:14 +0000)]
Don't update ICs when the receiver has a deprecated map.
R=ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23658047
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16712
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Fri, 13 Sep 2013 10:35:35 +0000 (10:35 +0000)]
remove OS::StackWalk
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23703013
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16711
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Fri, 13 Sep 2013 10:23:04 +0000 (10:23 +0000)]
remove getcurrent from stubs
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23756009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16710
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 13 Sep 2013 09:57:48 +0000 (09:57 +0000)]
Use regular map-checks to guard string-length loading.
R=ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23702039
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16709
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 13 Sep 2013 09:51:11 +0000 (09:51 +0000)]
Handlify JSObject::DeepCopy method.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
22934006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16708
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 13 Sep 2013 09:13:58 +0000 (09:13 +0000)]
ARM: Improve SeqStringSetChar implementation.
TEST=/test/mjsunit/lithium/SeqStringSetChar.js
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
23890007
Patch from Rodolph Perfetta <rodolph.perfetta@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16707
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 13 Sep 2013 08:44:37 +0000 (08:44 +0000)]
Revert "Every place where AllocationMemento is initialized with an"
This reverts r16705 for breaking Windows build.
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
23447031
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16706
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 13 Sep 2013 08:13:17 +0000 (08:13 +0000)]
Every place where AllocationMemento is initialized with an
AllocationSite is now checked to be sure a valid Site goes in.
This is temporary code to diagnose chromium bug 284577.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
23622029
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16705
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Fri, 13 Sep 2013 08:13:02 +0000 (08:13 +0000)]
Array "splice" changeRecords should be emitted after the performChange has completed (per spec)
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23434008
Patch from Rafael Weinstein <rafaelw@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16704
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Fri, 13 Sep 2013 08:09:39 +0000 (08:09 +0000)]
Allow implicit conversion of acceptList values to string during Object.observe
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
23464058
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16703
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 13 Sep 2013 07:59:48 +0000 (07:59 +0000)]
Use xorps to break the cvtsi2sd unnecessary dependence due to its partially written
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
23654026
Patch from Weiliang Lin <weiliang.lin2@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16702
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00