ulan@chromium.org [Fri, 22 Nov 2013 10:21:47 +0000 (10:21 +0000)]
Restore saved caller FP registers on stub failure
and preserve FP registers on NotifyStubFailure.
In debug mode, clobber FP registers on each runtime call to increase
chances of catching such bugs.
R=danno@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
78283002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18000
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 22 Nov 2013 10:04:04 +0000 (10:04 +0000)]
Prepare push to trunk. Now working on version 3.23.11.
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
83173002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17997
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Fri, 22 Nov 2013 09:56:59 +0000 (09:56 +0000)]
Sync svn:ignore with .gitignore on trunk/test/* and bleeding_edge/test/*
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17996
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 22 Nov 2013 09:48:43 +0000 (09:48 +0000)]
Pythonification and refactoring of push-to-trunk.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
81193002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17995
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 22 Nov 2013 08:40:38 +0000 (08:40 +0000)]
Correctly change test expectations.
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
82913003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17989
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 22 Nov 2013 08:25:50 +0000 (08:25 +0000)]
Reland: Embed trigonometric lookup table.
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
78263005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17988
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 22 Nov 2013 07:56:00 +0000 (07:56 +0000)]
Make auto-roll testable.
Refactor the mock code for easier reuse. Mock out web requests.
TEST=python -m unittest test_scripts
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
77453009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17987
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 22 Nov 2013 07:34:21 +0000 (07:34 +0000)]
Pretenuring calculation fields in AllocationSite.
AllocationSite-based pretenuring needs additional fields to carry out
calculations.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
43603002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17986
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 22 Nov 2013 07:27:26 +0000 (07:27 +0000)]
Rework BuildCheckString() to be compatible with the other BuildCheck*() methods.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
79343009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17985
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 21 Nov 2013 18:47:51 +0000 (18:47 +0000)]
Revert "Use %_IsSmi instead of %MaxSmi."
This reverts r17983.
TBR=danno@chromium.org
Review URL: https://codereview.chromium.org/
79263005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17984
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 21 Nov 2013 17:55:03 +0000 (17:55 +0000)]
Use %_IsSmi instead of %MaxSmi.
ToPositiveInteger already makes sure that if l can be represented as a
smi, it will be represented as a smi. This way we can avoid doing a
runtime call to retrieve a constant.
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
81063002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17983
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Thu, 21 Nov 2013 17:21:00 +0000 (17:21 +0000)]
Revert 17963, 17962 and 17955: Random number generator in JS changes
Revert 17966, 17965 also as collateral damage: Embed trigonometric lookup table.
Due to Heapcheck and valgrind failures that are not yet fixed.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
80513004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17981
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Thu, 21 Nov 2013 16:55:16 +0000 (16:55 +0000)]
Code object now prints its major_key when applicable.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
81043002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17980
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 21 Nov 2013 16:02:31 +0000 (16:02 +0000)]
Add clang-format configuration file and set coding style to "Google"
c.f. https://code.google.com/p/v8/wiki/Contributing
BUG=none
R=jkummerow@chromium.org, machenbach@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
80783004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17979
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Thu, 21 Nov 2013 15:15:50 +0000 (15:15 +0000)]
MIPS: Optimize AccessArgumentsAt.
Port r17923 (837f909)
Original commit message:
Optimize register constraints and code generated for AccessArgumentsAt Lithium instruction.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
79143007
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17977
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 21 Nov 2013 14:07:06 +0000 (14:07 +0000)]
Reland r17877 - Introduce a v8::Platform class that bundles embedder callbacks
Over the initial commit, this CL moves the lifetime management of the default
platform to v8.cc from api.cc
R=bmeurer@chromium.org, svenpanne@chromium.org
BUG=v8:3015
LOG=n
Review URL: https://codereview.chromium.org/
78453003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17970
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Thu, 21 Nov 2013 13:47:37 +0000 (13:47 +0000)]
Remove preemption thread and API
BUG=v8:3004
R=svenpanne@chromium.org, yangguo@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/
62283010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17967
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 21 Nov 2013 13:30:14 +0000 (13:30 +0000)]
Fix build.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
80903002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17966
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 21 Nov 2013 12:57:23 +0000 (12:57 +0000)]
Embed trigonometric lookup table.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
78873006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17965
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 21 Nov 2013 12:34:34 +0000 (12:34 +0000)]
Use Marsaglia's original random number generator.
BUG=316359
LOG=Y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
80743002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17963
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 21 Nov 2013 12:07:17 +0000 (12:07 +0000)]
Build fix.
We should better initialize the random state even for non-snapshot
builds...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
77773004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17962
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 21 Nov 2013 09:55:15 +0000 (09:55 +0000)]
Implement Math.random() purely in JavaScript.
This removes tons of architecture-specific code and makes it easy to
experiment with other pseudo-RNG algorithms. The crankshafted code is
extremely good, keeping all things unboxed and doing only minimal
checks, so it is basically equivalent to the handwritten code.
When benchmarks are run without parallel recompilation, we get a few
percent regression on SunSpider's string-validate-input and
string-base64, but these benchmarks run so fast that the overall
SunSpider score is hardly affected and within the usual jitter. Note
that these benchmarks actually run even faster when we don't
crankshaft at all on the main thread (the regression is not caused by
bad code, it is caused by Crankshaft needing a few hundred microsecond
for compilation of a trivial function). Luckily, when parallel
recompilation is enabled, i.e. in the browser, we see no regression at
all!
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
68723002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17955
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 21 Nov 2013 09:47:23 +0000 (09:47 +0000)]
Prepare push to trunk. Now working on version 3.23.10.
R=jkummerow@chromium.org, danno@chromium.org
Review URL: https://codereview.chromium.org/
77243006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17952
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 21 Nov 2013 09:35:25 +0000 (09:35 +0000)]
Let ChangeLog get auto-generated in push-to-trunk script.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
78683002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17951
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Thu, 21 Nov 2013 09:16:34 +0000 (09:16 +0000)]
Do deferred migration of maps after deoptimizing once.
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
50213003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17949
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 21 Nov 2013 08:59:15 +0000 (08:59 +0000)]
Fix Windows build for real
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
80513002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17948
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 21 Nov 2013 08:38:51 +0000 (08:38 +0000)]
Fix Windows build
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
79963003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17946
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 21 Nov 2013 08:06:02 +0000 (08:06 +0000)]
API: Change AdjustAmountOfExternalAllocatedMemory calls to use int64_t instead
of intptr_t
This prevents an overflow in FreeArrayBuffer, which in turn caused needless GCs
as well as crashes on isolate teardown.
LOG=Y
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
70233010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17944
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 21 Nov 2013 07:08:24 +0000 (07:08 +0000)]
Removed dead stack printing code.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
77723007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17943
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Wed, 20 Nov 2013 19:33:50 +0000 (19:33 +0000)]
MIPS: Improvement of “MIPS: Fixed crashes exposed though fuzzing.” (r17886).
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
78423002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17942
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Wed, 20 Nov 2013 19:01:33 +0000 (19:01 +0000)]
MIPS: Use SmiTst and TrySmiTag MacroAssembler instructions.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
78403002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17941
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Wed, 20 Nov 2013 18:22:18 +0000 (18:22 +0000)]
MIPS: Replace hard-coded stack frame size literals with StandardFrameConstants::kFixedFrameSizeFromFp.
Port r17925 (0b95731)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
77763006
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17940
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 20 Nov 2013 17:09:17 +0000 (17:09 +0000)]
Mark flaky debug test as failing.
The issues are known. For the time being, we mark it as failing.
R=machenbach@chromium.org
BUG=v8:2921, v8:3005
LOG=N
Review URL: https://codereview.chromium.org/
77723008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17938
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Wed, 20 Nov 2013 17:02:12 +0000 (17:02 +0000)]
MIPS: Remove the first_right_arg hack for HMod.
Port r17919 (23e9644)
Original commit message:
Generate a proper subgraph in BuildBinaryOperation instead.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
78663002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17937
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 20 Nov 2013 15:16:18 +0000 (15:16 +0000)]
Reland r17907 - Make it possible to add more than one piece of embedder data to isolates"
This will allow for using gin and blink bindings in the same
process.
Over r17907, I changed the order of fields in Isolate to be stable across different platforms, since the ABI defined packing is not the same on
all targets, and I initialize the embedder data field in Isolate.
BUG=317398
R=svenpanne@chromium.org, dcarney@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
78453002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17935
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 20 Nov 2013 15:05:52 +0000 (15:05 +0000)]
Update benchmark test suite.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
67763007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17934
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 20 Nov 2013 15:04:37 +0000 (15:04 +0000)]
Increase precision when finding the remainder after division by pi/2.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
66703005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17933
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yurys@chromium.org [Wed, 20 Nov 2013 14:57:39 +0000 (14:57 +0000)]
Do not recompile existing functions when enabling allocation tracking
Now that we don't have special hooks for the allocations in the generated code there is no need to recompile existing functions when enabling allocation tracking.
BUG=chromium:27798
LOG=N
R=loislo@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
67743006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17932
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Wed, 20 Nov 2013 14:20:07 +0000 (14:20 +0000)]
Re-enable EnsureAllocationSiteDependentCodesProcessed.
The problem was that we don't use crankshaft on non-sse2 builds.
(on ARM non-vfp3).
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
77963002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17930
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Wed, 20 Nov 2013 14:17:47 +0000 (14:17 +0000)]
MaterializedLiteral expressions need to cache expression depth.
A problem arises in recursive literal expressions due to recent
changes that defer allocation of constant literal properties
from parse time. We were calculating expression depth as a
side-effect of a lazy constant property build, but subsequent
calls for the depth always returned 1. Cache the correct depth
in the MaterializedLiteral instead.
(Related-to/very-partial-revert-of
https://codereview.chromium.org/
61873003)
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
78493002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17929
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 20 Nov 2013 13:53:11 +0000 (13:53 +0000)]
Force 'git cl upload' in push-to-trunk forced mode.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
77853003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17926
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Wed, 20 Nov 2013 13:44:24 +0000 (13:44 +0000)]
Replace hard-coded stack frame size literals with StandardFrameConstants::kFixedFrameSizeFromFp
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
60763006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17925
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
m.m.capewell@googlemail.com [Wed, 20 Nov 2013 13:28:19 +0000 (13:28 +0000)]
ARM: Optimize AccessArgumentsAt
Optimize register constraints and code generated for AccessArgumentsAt
Lithium instruction.
TEST=none
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
78093004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17923
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 20 Nov 2013 13:25:40 +0000 (13:25 +0000)]
Use SimpleLoadField for JSObjectFieldAccessors, rather than compiling a new stub.
R=dslomov@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
76403002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17922
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Wed, 20 Nov 2013 12:58:10 +0000 (12:58 +0000)]
Activate Hydrogen-generated KeyedLoadDictionary ICs
R=ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
59813011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17921
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 20 Nov 2013 12:43:33 +0000 (12:43 +0000)]
Remove the first_right_arg hack for HMod.
Generate a proper subgraph in BuildBinaryOperation instead.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
77053003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17919
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Wed, 20 Nov 2013 12:35:58 +0000 (12:35 +0000)]
Removed unused --preallocate-message-memory flag.
It results in a lot of dead code, and Isolate::PrintStack itself
crashes most of the time when something went wrong earlier.
Furthermore, we have plans do get better information into the
minidump, anyway.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
78003002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17918
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 20 Nov 2013 12:35:21 +0000 (12:35 +0000)]
Convert constant numbers at compile time.
TEST=mjsunit/number-tostring
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
77553005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17917
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 20 Nov 2013 12:05:44 +0000 (12:05 +0000)]
Revert r17907 - Make it possible to add more than one piece of embedder data to isolates
> This will allow for using gin and blink bindings in the same process
>
> BUG=317398
> R=svenpanne@chromium.org, dcarney@chromium.org
> LOG=y
>
> Review URL: https://codereview.chromium.org/
77913003
BUG=none
R=svenpanne@chromium.org
TBR=svenpanne@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
78093005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17915
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 20 Nov 2013 12:00:57 +0000 (12:00 +0000)]
Make BuildBinaryOperation use ReturnValue instead of ReturnInstruction.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
78183002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17914
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 20 Nov 2013 11:57:49 +0000 (11:57 +0000)]
Replace unsafe uses of Add<> with AddUncasted<>.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
78213002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17913
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 20 Nov 2013 11:53:09 +0000 (11:53 +0000)]
Don't generate useless string checks for string adds.
If we know that one side of a string add is definitely a string
(i.e. if it's a string constant), then we don't need to emit a
string check for the argument.
This adds a new BuildCheckString() method to the graph builder,
which does "the right thing".
TEST=mjsunit/string-add
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
78063002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17912
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Wed, 20 Nov 2013 11:21:51 +0000 (11:21 +0000)]
Remove deprecated v8::SetResourceConstraints without Isolate parameter
LOG=Y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
62193003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17910
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Wed, 20 Nov 2013 11:20:01 +0000 (11:20 +0000)]
Remove deprecated v8-defaults.h and defaults.cc.
BUG=312241
LOG=Y
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
59823008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17909
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 20 Nov 2013 10:59:13 +0000 (10:59 +0000)]
Make it possible to add more than one piece of embedder data to isolates
This will allow for using gin and blink bindings in the same process
BUG=317398
R=svenpanne@chromium.org, dcarney@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/
77913003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17907
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Wed, 20 Nov 2013 10:11:56 +0000 (10:11 +0000)]
faster stack frame generation for accessor property ics
this is implemented for intel platforms only, as they are the only ones which show speed up with this change
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
48303002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17903
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 20 Nov 2013 09:30:46 +0000 (09:30 +0000)]
Reset overwrite mode for BinaryOpStub unless we can actually make use of it.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
77943002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17899
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 20 Nov 2013 09:25:38 +0000 (09:25 +0000)]
Prepare push to trunk. Now working on version 3.23.9.
R=danno@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
77673004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17896
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Wed, 20 Nov 2013 08:55:20 +0000 (08:55 +0000)]
Quit running EnsureAllocationSiteDependentCodesProcessed test until
it's failure is diagnosed.
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
77923002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17894
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 20 Nov 2013 08:49:42 +0000 (08:49 +0000)]
Add forced mode to push-to-trunk script.
This CL depends on https://codereview.chromium.org/
65933003/.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
67763005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17893
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 20 Nov 2013 08:25:17 +0000 (08:25 +0000)]
Refactor and improve bug line generation for push-to-trunk.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
65933003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17892
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Tue, 19 Nov 2013 22:23:41 +0000 (22:23 +0000)]
MIPS: Fixed crashes exposed though fuzzing.
Port r17886 (e2fb3ed)
Original commit message:
The %_OneByteSeqStringSetChar intrinsic expects its arguments to be checked before being called for efficiency reasons, but the fuzzer provided no such checks. Now the intrinsic is robust to bad input if FLAG_debug_code is set.
R=plind44@gmail.com, yangguo@chromium.org
TEST=test/mjsunit/regress/regress-320948.js
BUG=chromium:320948
LOG=Y
Review URL: https://codereview.chromium.org/
68793008
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17891
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Tue, 19 Nov 2013 17:29:43 +0000 (17:29 +0000)]
Turn ASSERTs to CHECKs in test-heap.cc
This fixes unused variable compile failures in release builds introduced in r17887.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
76413004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17888
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Tue, 19 Nov 2013 16:57:49 +0000 (16:57 +0000)]
Test that AllocationSite::dependent_code doesn't leak code objects.
Verify that code objects are treated weakly by the AllocationSite
dependent_code field.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
61923006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17887
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Tue, 19 Nov 2013 16:41:07 +0000 (16:41 +0000)]
Fixed crashes exposed though fuzzing.
The %_OneByteSeqStringSetChar intrinsic expects its arguments to be checked before being called for efficiency reasons, but the fuzzer provided no such checks. Now the intrinsic is robust to bad input if FLAG_debug_code is set.
R=yangguo@chromium.org
TEST=test/mjsunit/regress/regress-320948.js
BUG=chromium:320948
LOG=Y
Review URL: https://codereview.chromium.org/
72813004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17886
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Tue, 19 Nov 2013 16:06:11 +0000 (16:06 +0000)]
MIPS: Remove unused StubType's, freeing 2 bits in Code objects.
Port r17867 (a305bd3)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
60763005
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17885
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Tue, 19 Nov 2013 15:58:10 +0000 (15:58 +0000)]
MIPS: Properly initialize desc->origin in the MIPS assembler.
Port r17865 (5b2e594)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
76163003
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17884
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 19 Nov 2013 14:28:07 +0000 (14:28 +0000)]
Revert 17877 - Introduce a v8::Platform class that bundles embedder callbacks
This also reverts 17879 and 17880.
BUG=v8:3015
TBR=svenpanne@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
76323002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17881
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 19 Nov 2013 14:15:12 +0000 (14:15 +0000)]
Remove faulty CHECK() statement.
TBR=svenpanne@chromium.org
BUG=none
LOG=n
Review URL: https://codereview.chromium.org/
67463003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17880
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 19 Nov 2013 14:00:45 +0000 (14:00 +0000)]
Fix typo in header guard of v8-platform.h
TBR=svenpanne@chromium.org
BUG=none
LOG=n
Review URL: https://codereview.chromium.org/
76313002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17879
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 19 Nov 2013 13:44:51 +0000 (13:44 +0000)]
Fix push-to-trunk runtime call.
This broke after a recent refactoring.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
76193002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17878
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 19 Nov 2013 13:44:36 +0000 (13:44 +0000)]
Introduce a v8::Platform class that bundles embedder callbacks
Also provide a default implementation to use in cctests.
For now, there are just two thread releated callbacks. In future CLs, I will
move callbacks registered e.g. via V8::SetFooCallback over.
BUG=v8:3015
R=svenpanne@chromium.org, danno@chromium.org
LOG=no
Review URL: https://codereview.chromium.org/
75283002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17877
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 19 Nov 2013 13:38:15 +0000 (13:38 +0000)]
Move template instance check from Object to FunctionTemplateInfo::IsTemplateFor
BUG=
R=dcarney@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
67613005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17876
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 19 Nov 2013 13:19:51 +0000 (13:19 +0000)]
Fix debugger wrt concurrent recompilation flag.
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
76293003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17875
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 19 Nov 2013 13:08:37 +0000 (13:08 +0000)]
Add a proper way to pass the number of processors to V8
BUG=321060
LOG=n
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
73463004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17874
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Tue, 19 Nov 2013 12:59:09 +0000 (12:59 +0000)]
Fix register trashing in Emit*ByteSeqStringSetChar
This is currently not observable without --allow-natives-syntax because all internal usages are safe, but it deserves to be fixed nonetheless.
BUG=chromium:320922
LOG=N
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
67103003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17873
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 19 Nov 2013 12:20:08 +0000 (12:20 +0000)]
Deprecate v8::External::New without Isolate parameter
R=bmeurer@chromium.org, machenbach@chromium.org, svenpanne@chromium.org
LOG=y
BUG=none
Review URL: https://codereview.chromium.org/
63093004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17869
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 19 Nov 2013 12:14:22 +0000 (12:14 +0000)]
Fix compilation.
R=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
61163007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17868
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 19 Nov 2013 12:04:54 +0000 (12:04 +0000)]
Remove unused StubType's, freeing 2 bits in Code objects.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
75973005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17867
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 19 Nov 2013 11:52:47 +0000 (11:52 +0000)]
Make number of available threads isolate-dependent and expose it to ResourceConstraints.
R=svenpanne@chromium.org
BUG=v8:2991
LOG=Y
Review URL: https://codereview.chromium.org/
68203029
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17866
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 19 Nov 2013 11:52:38 +0000 (11:52 +0000)]
Properly initialize desc->origin in the ARM assembler.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
76073003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17865
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Tue, 19 Nov 2013 11:41:04 +0000 (11:41 +0000)]
Constant-folding through HForceRepresentation fix.
Reverts changes in HValue::IsInteger32Constant() made in https://code.google.com/p/v8/source/detail?r=17787
R=bmeurer@chromium.org, mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
68493005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17863
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 19 Nov 2013 11:04:54 +0000 (11:04 +0000)]
Prepare push to trunk. Now working on version 3.23.8.
R=danno@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
59243004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17858
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Tue, 19 Nov 2013 10:17:33 +0000 (10:17 +0000)]
Bugfix: dependent code field in AllocationSite was keeping code objects alive even after context death.
BUG=320532
LOG=Y
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
62803008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17856
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 19 Nov 2013 06:39:36 +0000 (06:39 +0000)]
ARM: use vstm/vldm when possible.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
74193004
Patch from Rodolph Perfetta <rodolph.perfetta@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17854
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
palfia@homejinni.com [Tue, 19 Nov 2013 02:26:42 +0000 (02:26 +0000)]
MIPS: Convert PatchCache (and related methods) to use types rather than objects/maps.
Port r17847 (
67c371a4)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
75953002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17853
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
palfia@homejinni.com [Tue, 19 Nov 2013 02:26:10 +0000 (02:26 +0000)]
MIPS: Make HTypeofIsAndBranch accept any representation input
Port r17834 (
cf97fcb6)
Original commit message:
Make HTypeofIsAndBranch accept any representation input
when the input is known unbox number value, eliminate the dynamic check
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
75943002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17852
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Mon, 18 Nov 2013 20:51:30 +0000 (20:51 +0000)]
MIPS: Match max property descriptor length to corresponding bit fields.
Port r17823 (b1b8ae0)
BUG=v8:3010
LOG=N
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
62833011
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17851
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Mon, 18 Nov 2013 17:24:00 +0000 (17:24 +0000)]
Reapply r11765
Add static_cast<int> in HPositionInfo::position to please Win64 build.
Improvements in positions handling in optimizing compiler.
- When building binary arithmetic op and comparison restore source position of the operation itself before building operation itself after it was changed by building operands. This ensures that position recorded for operation points to the operation token instead of pointing to the rightmost operand;
- Add support for recording operands' positions and use these positions when inserting HChange instructions;
- When generating hydrogen.cfg emit H-instruction position as BCI (previously 0 was emitted), additionally on every lithium instruction emit annotation pointing to corresponding hydrogen-instruction. This allows to easily reach from deopt_id to lithium instruction and from it to hydrogen instruction and source position.
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
59703011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17848
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 18 Nov 2013 17:18:14 +0000 (17:18 +0000)]
Convert PatchCache (and related methods) to use types rather than objects/maps.
R=rossberg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
75413002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17847
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Mon, 18 Nov 2013 15:27:14 +0000 (15:27 +0000)]
Fix build on arm/x64 after r17840.
TBR=jkummerow@chromium.org
BUG=v8:3013
LOG=N
Review URL: https://codereview.chromium.org/
75353002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17843
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Mon, 18 Nov 2013 15:24:41 +0000 (15:24 +0000)]
Introduce addps/subps/mulps/divps for IA32/X64
BUG=
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
60093005
Patch from Weiliang Lin <weiliang.lin@intel.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17842
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Mon, 18 Nov 2013 15:16:22 +0000 (15:16 +0000)]
Fix data view accessors to throw execptions on offsets bigger than size_t.
R=jkummerow@chromium.org
BUG=v8:3013
LOG=Y
Review URL: https://codereview.chromium.org/
74583003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17840
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Mon, 18 Nov 2013 15:05:05 +0000 (15:05 +0000)]
Revert "Fix data view accessors to throw execptions on offsets bigger than size_t."
This reverts commit r17838 for breaking arm build.
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
75213005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17839
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Mon, 18 Nov 2013 14:58:16 +0000 (14:58 +0000)]
Fix data view accessors to throw execptions on offsets bigger than size_t.
R=jkummerow@chromium.org
BUG=v8:3013
LOG=Y
Review URL: https://codereview.chromium.org/
74583003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17838
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Mon, 18 Nov 2013 14:50:45 +0000 (14:50 +0000)]
Use mock ArrayBuffer allocator to avoid really allocating 1Gb.
R=jkummerow@chromium.org
BUG=v8:3014
LOG=N
Review URL: https://codereview.chromium.org/
61623009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17837
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Mon, 18 Nov 2013 14:32:30 +0000 (14:32 +0000)]
Fix broken pipe caused by commands in toolchain.gypi.
I sometimes observe broken pipe errors when I run gyp, which causes the gyp
process to fail. This seems to happen if gyp is executed under heavy I/O
pressure.
This change removes the pipes by replacing "echo |" with "< /dev/null".
Technically these are not the same, because "echo |" prints a newline while
"< /dev/null" doesn't, but this difference is not significant in the context of
the commands in toolchain.gypi.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
73623002
Patch from Yuta Kitamura <yutak@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17836
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Mon, 18 Nov 2013 14:17:33 +0000 (14:17 +0000)]
Make HTypeofIsAndBranch accept any representation input
when the input is known unbox number value, eliminate the dynamic check
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
58923004
Patch from Weiliang Lin <weiliang.lin@intel.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17834
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 18 Nov 2013 14:10:47 +0000 (14:10 +0000)]
Add initial auto-roll script.
To be called with a cron job.
TEST=tools/push-to-trunk/auto_roll.py
TODO: Add a revision filter to allow "MIPS" related changes to take over the lkgr.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
70373002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17833
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Mon, 18 Nov 2013 14:07:24 +0000 (14:07 +0000)]
Ensure that ToPositiveInteger is optimizable.
'throw %NAME(..)' cause hydrogen optimizations to be disabled for
surrounding function. This patch rectifies.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
71153004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17832
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00