serya@chromium.org [Wed, 17 Nov 2010 10:44:16 +0000 (10:44 +0000)]
API call code refactoring (x64).
Review URL: http://codereview.chromium.org/5108003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5836
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Wed, 17 Nov 2010 09:24:44 +0000 (09:24 +0000)]
Implement Math.floor stub on ARM. Uses VFP when available. This is a commit of codereview.chromium.org/5075002/ for Martyn Capewell
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5835
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
serya@chromium.org [Tue, 16 Nov 2010 16:08:57 +0000 (16:08 +0000)]
Port direct API function call to x64 (ia32 CL is codereview.chromium.org/4456002/).
Review URL: http://codereview.chromium.org/5004004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5833
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
serya@chromium.org [Tue, 16 Nov 2010 15:23:47 +0000 (15:23 +0000)]
Fixing lint errors.
Review URL: http://codereview.chromium.org/5065002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5832
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
serya@chromium.org [Tue, 16 Nov 2010 15:04:41 +0000 (15:04 +0000)]
API call code refactoring (ia32).
Review URL: http://codereview.chromium.org/5055004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5831
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 16 Nov 2010 12:10:48 +0000 (12:10 +0000)]
Fix bug in parser that allows "(foo):42" as a labeled statement.
Fixes issue 918.
Review URL: http://codereview.chromium.org/5044003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5830
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 16 Nov 2010 08:16:13 +0000 (08:16 +0000)]
Revert premature addition to parser.
TBR:ricow
Review URL: http://codereview.chromium.org/5055003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5829
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 16 Nov 2010 08:01:45 +0000 (08:01 +0000)]
Move static scanner fields to scanner-base.h
Review URL: http://codereview.chromium.org/5026005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5828
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
serya@chromium.org [Mon, 15 Nov 2010 17:12:34 +0000 (17:12 +0000)]
Removing redundant stubs for API functions.
Review URL: http://codereview.chromium.org/4695003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5827
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Mon, 15 Nov 2010 13:23:30 +0000 (13:23 +0000)]
Split globals.h into two parts, where only one depends on V8.
Made allocation.{h,cc} independent of V8, allowing utils.h to allocate
vectors and collectors.
Review URL: http://codereview.chromium.org/5005001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5826
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Mon, 15 Nov 2010 10:38:24 +0000 (10:38 +0000)]
Provide more accurate results about used heap size via GetHeapStatistics.
I observed that used heap size provided by Heap::SizeOfObjects() is
usually about ~10% bigger than the number calculated by summing up
heap objects sizes.
This aligns DevTools Timeline stats with Heap profiler stats.
Review URL: http://codereview.chromium.org/4888001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5825
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Mon, 15 Nov 2010 10:21:57 +0000 (10:21 +0000)]
Improve support for vmrs/vmsr in ARM disassembler. This is a commit of codereview.chromium.org/4904001 for Martyn Capewell.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5824
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 15 Nov 2010 10:12:01 +0000 (10:12 +0000)]
Landing for dsule@codeaurora.org.
Allow build-time customization of the max semispace size. Building a
version of V8 with snapshots and with a non-default max semi-space
size is much easier when you can set the max semispace size in the
build environment.
Review URL: http://codereview.chromium.org/4937001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5823
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
antonm@chromium.org [Sat, 13 Nov 2010 15:00:24 +0000 (15:00 +0000)]
Fix Win64 build.
MemoryAllocator::AvailableExecutable should return intptr_t, the difference of intptr_t's.
TBR=ager@chromium.org
Review URL: http://codereview.chromium.org/4972001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5818
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
antonm@chromium.org [Sat, 13 Nov 2010 14:37:28 +0000 (14:37 +0000)]
Fix Win64: strlen returns size_t which gets converted to int.
TBR=lrn@chromium.org
Review URL: http://codereview.chromium.org/4971001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5817
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Fri, 12 Nov 2010 08:40:21 +0000 (08:40 +0000)]
Use the real climit for testing the stack limit API. The currently
active climit can be changed by other events and should not be trusted
for these tests. The real climit stays the same once set.
Review URL: http://codereview.chromium.org/4881001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5816
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Thu, 11 Nov 2010 16:32:32 +0000 (16:32 +0000)]
Fix strtod.
Strtod function used buffer that was allocated inside a nested scope.
Review URL: http://codereview.chromium.org/4639006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5815
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 11 Nov 2010 13:47:15 +0000 (13:47 +0000)]
Fix compile error on Windows (no snprintf support).
Luckily the snprintf wasn't really needed.
TBR:whesse
Review URL: http://codereview.chromium.org/4678007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5814
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 11 Nov 2010 11:45:25 +0000 (11:45 +0000)]
Preparsing now considers catch-blocks as inside a with.
Fix issue 928.
Review URL: http://codereview.chromium.org/4639005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5813
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
fschneider@chromium.org [Thu, 11 Nov 2010 10:33:51 +0000 (10:33 +0000)]
Move ComputeCallInitialize from the codegen.cc to stub-cache.cc.
Review URL: http://codereview.chromium.org/4760003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5812
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 11 Nov 2010 10:18:48 +0000 (10:18 +0000)]
Fix Chromium bug 62639.
Add missing failure check after expecting an identifier in preparser.
This allowed code to use the non-existing literal.
Review URL: http://codereview.chromium.org/4800001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5811
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sandholm@chromium.org [Thu, 11 Nov 2010 08:47:30 +0000 (08:47 +0000)]
Special case global and non-global code paths in regexp.test.
Review URL: http://codereview.chromium.org/4517003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5810
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 11 Nov 2010 08:11:27 +0000 (08:11 +0000)]
Revert unkosher change to xcode project.
Should have been reverted before committing 5775, but that revert failed to stick.
Review URL: http://codereview.chromium.org/4797002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5809
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
fschneider@chromium.org [Wed, 10 Nov 2010 17:00:20 +0000 (17:00 +0000)]
Move common static helpers from codegen to the macro-assembler files.
Review URL: http://codereview.chromium.org/4654002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5807
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vitalyr@chromium.org [Wed, 10 Nov 2010 12:34:28 +0000 (12:34 +0000)]
Make String.prototype.split honor limit when separator is empty.
BUG=929
Review URL: http://codereview.chromium.org/4750003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5806
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Wed, 10 Nov 2010 11:38:22 +0000 (11:38 +0000)]
Prepare push to push version 2.5.6 to trunk.
Review URL: http://codereview.chromium.org/4709003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5803
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Wed, 10 Nov 2010 10:14:13 +0000 (10:14 +0000)]
Another fix after the executable memory limit introduction.
The max executable size must be less than or equal to the max old
space size. It is an extra limit in addition to the old space size.
Review URL: http://codereview.chromium.org/4730002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5802
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Wed, 10 Nov 2010 09:25:46 +0000 (09:25 +0000)]
Fix x64 build after executable memory limit change.
TBR=jschuh@chromium.org
Review URL: http://codereview.chromium.org/4656002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5801
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Wed, 10 Nov 2010 09:20:08 +0000 (09:20 +0000)]
Fix executable memory setting and fix test.
Review URL: http://codereview.chromium.org/4764002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5800
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Wed, 10 Nov 2010 08:38:42 +0000 (08:38 +0000)]
Landing for Justin Schuh.
Add 128MB limit for executable pages.
BUG=http://code.google.com/p/v8/issues/detail?id=925
TEST=None.
TBR=jschuh@chromium.org
Review URL: http://codereview.chromium.org/4634003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5799
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Tue, 9 Nov 2010 19:32:49 +0000 (19:32 +0000)]
Add check for overflow after MUL operations in side-effect free int32 expressions.
BUG=http://code.google.com/p/v8/issues/detail?id=927
TEST=test/mjsunit/regress/regress-927.js
Review URL: http://codereview.chromium.org/4746001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5793
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
serya@chromium.org [Tue, 9 Nov 2010 14:01:23 +0000 (14:01 +0000)]
Direct call API functions (ia32 implementation).
Review URL: http://codereview.chromium.org/4456002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5791
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Tue, 9 Nov 2010 08:26:02 +0000 (08:26 +0000)]
ARM: The Simulator will now handle different VFP rounding modes. RZ and RM are implemented. This is a commit of
http://codereview.chromium.org/4295003/show for Alexander Rames of ARM.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5790
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Mon, 8 Nov 2010 15:40:28 +0000 (15:40 +0000)]
Add comments to double.h.
Review URL: http://codereview.chromium.org/4687001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5789
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Mon, 8 Nov 2010 15:37:11 +0000 (15:37 +0000)]
Remove bignum-dtoa.{cc, h} from gyp file.
Review URL: http://codereview.chromium.org/4673002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5788
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Mon, 8 Nov 2010 15:18:12 +0000 (15:18 +0000)]
Heap profiler: remove context checks for objects.
It seems that there will be no access to heap snapshots from
web pages' code, only from Developer Tools, thus it makes no
sense doing filtering of object by their security contexts.
Review URL: http://codereview.chromium.org/4681003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5787
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Mon, 8 Nov 2010 13:04:47 +0000 (13:04 +0000)]
Work around windows compiler bug.
Doubles that lie exactly between two doubles should round to the even one.
Review URL: http://codereview.chromium.org/4653003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5782
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Mon, 8 Nov 2010 12:13:05 +0000 (12:13 +0000)]
Fix Double.NextDouble function.
This unbreaks the build on windows.
TBR: whesse@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/4681001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5779
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Mon, 8 Nov 2010 11:49:47 +0000 (11:49 +0000)]
Bignum implementation of Strtod.
This removes the dependency on Gay's strtod.
Review URL: http://codereview.chromium.org/4060001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5778
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
whesse@chromium.org [Mon, 8 Nov 2010 11:15:51 +0000 (11:15 +0000)]
Prepare push to trunk. Now working on version 2.5.6.
Review URL: http://codereview.chromium.org/4669002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5777
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Mon, 8 Nov 2010 10:30:57 +0000 (10:30 +0000)]
Fix pseudo-smi accessors lo/hi ordering for SharedFunctionInfo on x64.
Incorrect ordering lead to crashes during GC when end position was not even number.
Add static assert to catch this kind of typos.
Review URL: http://codereview.chromium.org/4640003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5776
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Fri, 5 Nov 2010 13:33:40 +0000 (13:33 +0000)]
Move part of scanner.* into scanner-base.* for reuse in preparser scanner.
Make checks.h not depend on flags.h or global.h (or anything else except
include/v8stdint.h). Only checks.cc has the dependencies (so another
implementation of checks.cc can be provided by the preparser).
Now files depending on checks.h (using ASSERT macros) can include it
directly without depending on all of v8.
Review URL: http://codereview.chromium.org/4576001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5775
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sandholm@chromium.org [Fri, 5 Nov 2010 13:33:12 +0000 (13:33 +0000)]
Another minor regexp cleanup.
Review URL: http://codereview.chromium.org/4577001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5774
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Fri, 5 Nov 2010 13:12:14 +0000 (13:12 +0000)]
Fix bug introduced when extracting utils.
TBR=ager@chromium.org
Review URL: http://codereview.chromium.org/4535004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5773
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Fri, 5 Nov 2010 08:18:53 +0000 (08:18 +0000)]
Split utils.h into utils.h and v8utils.h where the former is independent of V8.
The code in utils.h can be reused outside of v8 propert, as long as the
propert ASSERT macros are defined.
Review URL: http://codereview.chromium.org/4485001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5772
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Thu, 4 Nov 2010 15:43:12 +0000 (15:43 +0000)]
Add a test for debug break while running in an infinite loop
Fixed a bug where execution termination could get lost while leaving the debugger.
Review URL: http://codereview.chromium.org/4405003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5771
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Thu, 4 Nov 2010 15:39:06 +0000 (15:39 +0000)]
Fix presubmit errors introduced by r5768.
Review URL: http://codereview.chromium.org/4409003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5770
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
whesse@chromium.org [Thu, 4 Nov 2010 15:30:04 +0000 (15:30 +0000)]
Fix a potential error in Add() macro-instruction on ARM.
Review URL: http://codereview.chromium.org/4247004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5769
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Thu, 4 Nov 2010 15:12:03 +0000 (15:12 +0000)]
Improve positions recording for calls.
Review URL: http://codereview.chromium.org/4469002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5768
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 4 Nov 2010 10:27:39 +0000 (10:27 +0000)]
Make presubmit lint the "include" dir.
Make include dir content pass lint.
Review URL: http://codereview.chromium.org/4421002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5767
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 4 Nov 2010 10:24:17 +0000 (10:24 +0000)]
Fix issue 924 - splitting the empty string.
Review URL: http://codereview.chromium.org/4483001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5766
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 4 Nov 2010 08:52:49 +0000 (08:52 +0000)]
Extract essential type declarations into separate file.
Review URL: http://codereview.chromium.org/4320004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5765
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 4 Nov 2010 07:19:06 +0000 (07:19 +0000)]
Simplify preparsing of "new"-expressions.
Review URL: http://codereview.chromium.org/4331003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5764
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Wed, 3 Nov 2010 18:33:57 +0000 (18:33 +0000)]
Investigate usleep failure on Linux. Add more debug output.
BUG=crbug.com/54592
TEST=none
Review URL: http://codereview.chromium.org/4391001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5763
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
antonm@chromium.org [Wed, 3 Nov 2010 13:29:01 +0000 (13:29 +0000)]
Fix some fotgotten variable names.
TBR=vegorov@chromium.org
Review URL: http://codereview.chromium.org/4378001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5762
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
antonm@chromium.org [Wed, 3 Nov 2010 13:00:28 +0000 (13:00 +0000)]
Attempt to collect more garbage before panicking with out of memory.
Currently weak handles retain an object for another GC round (oftem times,
major GC round.) Instrumenting Chromium shows that navigation leaves
many global objects which are only collected in next go. Let's
attempt to collect more garbage when approacing OOM condition.
This is a better version of rolled out r5455: now it's correctly
rebuilds object groups between additional GCs.
Review URL: http://codereview.chromium.org/4295004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5761
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Wed, 3 Nov 2010 12:05:01 +0000 (12:05 +0000)]
Fix assumptions in DoubleToFixed.
By luck two errors cancelled each other out.
Review URL: http://codereview.chromium.org/4135014
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5760
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sandholm@chromium.org [Wed, 3 Nov 2010 10:30:15 +0000 (10:30 +0000)]
Minor regexp test cleanup.
Review URL: http://codereview.chromium.org/4371002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5759
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Wed, 3 Nov 2010 08:11:13 +0000 (08:11 +0000)]
Prepare push to trunk. Now working on version 2.5.5.
Review URL: http://codereview.chromium.org/4298003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5756
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 2 Nov 2010 13:37:59 +0000 (13:37 +0000)]
Remove regexp caching.
Review URL: http://codereview.chromium.org/4308001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5755
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Tue, 2 Nov 2010 12:08:58 +0000 (12:08 +0000)]
Remove all remaining code related to exposing C-frames to the JavaScript debugger
BUG=906
Review URL: http://codereview.chromium.org/4104009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5754
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Tue, 2 Nov 2010 11:56:10 +0000 (11:56 +0000)]
Fix converting NULL to Failure bugs introduced in r5698.
Review URL: http://codereview.chromium.org/4293002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5753
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 2 Nov 2010 11:45:47 +0000 (11:45 +0000)]
Remove old preparser option and behavior from the parser.
Review URL: http://codereview.chromium.org/4244003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5752
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Tue, 2 Nov 2010 08:26:33 +0000 (08:26 +0000)]
Landing for Rodolph Perfetta.
Improve V8 VFPv3 runtime detection, to address issue 914.
This patch will check for the exact word vfpv3 as well as 0xc08 (CortexA8
part number) as some earlier kernel didn't report vfpv3 for A8.
Codereview URL: http://codereview.chromium.org/4103013/show
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5751
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 2 Nov 2010 07:21:37 +0000 (07:21 +0000)]
Stand-alone parser template.
Uses existing Scanner and ParserLog.
Generates same preparse-data as existing preparser.
Review URL: http://codereview.chromium.org/4112012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5750
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
fschneider@chromium.org [Mon, 1 Nov 2010 12:17:58 +0000 (12:17 +0000)]
Prepare push to trunk. Now working on version 2.5.4.
Review URL: http://codereview.chromium.org/4158015
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5747
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
serya@chromium.org [Mon, 1 Nov 2010 10:51:44 +0000 (10:51 +0000)]
Refactoring of v8:Arguments similary we did with v8::AccessorInfo (codereview.chromium.org/242050). GC-controlled values moved to a separate array.
Review URL: http://codereview.chromium.org/4117010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5746
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 1 Nov 2010 09:16:39 +0000 (09:16 +0000)]
Remove invalid asserts from last commit.
TBR=erik.corry@gmail.com
Review URL: http://codereview.chromium.org/4094010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5745
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 1 Nov 2010 08:55:40 +0000 (08:55 +0000)]
Landing for Rodolph Perfetta.
Reduces the number of movw/movt instructions generated in ProbeTable. It
improves code size for CompileCallMegamorphic by about 10%.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4220004/show
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5744
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Fri, 29 Oct 2010 08:13:19 +0000 (08:13 +0000)]
Clear JS function result caches in all global contexts.
Original patch by Mark Lam <mark.lam@palm.com> from Hewlett-Packard Development Company, LP. (http://codereview.chromium.org/4187007)
Fix memory corruption in JSFunctionResultCache::Clear caused by out of bounds writes which was revealed by the patch.
Review URL: http://codereview.chromium.org/4200009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5738
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Fri, 29 Oct 2010 07:10:41 +0000 (07:10 +0000)]
Fix some memory leaks in the serialization tests.
Review URL: http://codereview.chromium.org/4095009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5736
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Fri, 29 Oct 2010 07:10:14 +0000 (07:10 +0000)]
Stop running some liveedit tests (see issue 915).
Plug tiny memory leaks in test-lock.cc.
Review URL: http://codereview.chromium.org/4161005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5735
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Fri, 29 Oct 2010 06:15:34 +0000 (06:15 +0000)]
Landing for Justin Schuh.
This switches out the existing constant splitting with masking that works like this:
1. Generate a random 32-bit value at compilation time.
2. XOR the 32-bit constant with the random value.
3. Emit the resulting immediate value along with the XOR operation to generate the original value.
BUG=http://code.google.com/p/v8/issues/detail?id=908
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5734
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vitalyr@chromium.org [Thu, 28 Oct 2010 16:48:10 +0000 (16:48 +0000)]
ll_prof: minor fixes to the issues found while running with chromium.
Review URL: http://codereview.chromium.org/4097011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5727
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Thu, 28 Oct 2010 11:50:50 +0000 (11:50 +0000)]
Remove the patching of the debug break stub
This is no longer required to break at the function entry. Actually has not been required since the inlined stack check was introduced long time ago.
Review URL: http://codereview.chromium.org/4106005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5726
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Thu, 28 Oct 2010 08:43:47 +0000 (08:43 +0000)]
Add gc() calls to some tests to please valgrind.
Review URL: http://codereview.chromium.org/4116005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5724
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Thu, 28 Oct 2010 07:35:07 +0000 (07:35 +0000)]
Landing for Rodolph Perfetta.
Fix the ARM simulator, the ARM disassembler and extend the stop feature.
The stop feature in the simulator now support enabling, disabling and
counting.
BUG=None
TEST=None
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5723
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Thu, 28 Oct 2010 07:33:51 +0000 (07:33 +0000)]
Fix the last USE_SIMULATOR mips issue introduced with my last arm
simulator change.
Review URL: http://codereview.chromium.org/4151005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5722
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Wed, 27 Oct 2010 17:03:01 +0000 (17:03 +0000)]
Fix reporting of impossible nested calls of DOM functions.
It turns out that having PC pointing _exactly_ at callback entry
point is quite probable.
BUG=crbug/60753
Review URL: http://codereview.chromium.org/4169005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5721
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vitalyr@chromium.org [Wed, 27 Oct 2010 12:45:46 +0000 (12:45 +0000)]
Profiler on linux: use SA_RESTART signal flag to have most of the syscalls restarted for us.
This change keeps the interactive shell alive.
Review URL: http://codereview.chromium.org/4197002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5720
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Wed, 27 Oct 2010 12:33:48 +0000 (12:33 +0000)]
Make Parser class have no friends and fewer things to depend on it.
Review URL: http://codereview.chromium.org/4146006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5719
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
karlklose@chromium.org [Wed, 27 Oct 2010 11:37:59 +0000 (11:37 +0000)]
Fix a bug that prevents constants from overwriting function values in object literals.
BUG=http://code.google.com/p/v8/issues/detail?id=907
Review URL: http://codereview.chromium.org/4004006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5718
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Wed, 27 Oct 2010 09:19:43 +0000 (09:19 +0000)]
Separate JSON parsing from the JavaScript parser.
Switch JSON parsing to creating the value directly instead of createing
code to create the value.
Review URL: http://codereview.chromium.org/4135004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5715
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Wed, 27 Oct 2010 08:09:34 +0000 (08:09 +0000)]
Prepare push to trunk. Now working on version 2.5.3.
Review URL: http://codereview.chromium.org/4128008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5714
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vitalyr@chromium.org [Tue, 26 Oct 2010 18:14:45 +0000 (18:14 +0000)]
Faster ascii string case conversion.
Review URL: http://codereview.chromium.org/4189001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5713
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Tue, 26 Oct 2010 14:51:31 +0000 (14:51 +0000)]
Improve sampler resolution on Linux.
Instead of relying on itimer signals from kernel, send them
ourselves from a separate thread. This disables an ability
to profile multiple VM threads on Linux, but it anyway doesn't
work on other platforms, so we need a common solution for
it (issue 913 created to track this).
Review URL: http://codereview.chromium.org/4000007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5711
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Tue, 26 Oct 2010 14:13:21 +0000 (14:13 +0000)]
Don't create empty vectors using SubVector.
Fixes build-breakage.
TBR: whesse@chromium.org
Review URL: http://codereview.chromium.org/4168002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5710
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
floitschV8@gmail.com [Tue, 26 Oct 2010 13:30:31 +0000 (13:30 +0000)]
Use Vector::SubVector instead of using the constructor.
Review URL: http://codereview.chromium.org/4148003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5708
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Tue, 26 Oct 2010 08:12:17 +0000 (08:12 +0000)]
Allow forcing the use of a simulator from the build script
independently of the host architecture.
Fix build issue for the mips simulator. The mips simulator does not
currently work, but at least this change does not make it worse.
Review URL: http://codereview.chromium.org/4090003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5701
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 25 Oct 2010 16:40:41 +0000 (16:40 +0000)]
Clean up definitions in simulator.
Clean up the definition of USE_SIMULATOR and its uses.
Review URL: http://codereview.chromium.org/4044003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5700
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Mon, 25 Oct 2010 15:29:06 +0000 (15:29 +0000)]
Last minute typos from the last change.
TBR=vegorov
Review URL: http://codereview.chromium.org/4037006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5699
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Mon, 25 Oct 2010 15:22:03 +0000 (15:22 +0000)]
Make Failure inherit from MaybeObject instead of Object.
Review URL: http://codereview.chromium.org/3970005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5698
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Mon, 25 Oct 2010 15:04:08 +0000 (15:04 +0000)]
Make windows-tick-processor respect D8_PATH.
Review URL: http://codereview.chromium.org/4078002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5697
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Mon, 25 Oct 2010 09:53:39 +0000 (09:53 +0000)]
A little piece of code for aligning heap snapshots vs. object inspection.
Use original names for function infos.
Review URL: http://codereview.chromium.org/4040008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5696
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 25 Oct 2010 08:26:12 +0000 (08:26 +0000)]
Use size_t for return value from fwrite.
TBR=sgjesse@chromium.org
Review URL: http://codereview.chromium.org/4033005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5695
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 25 Oct 2010 08:22:23 +0000 (08:22 +0000)]
Use return value from fwrite in log.cc to please compilers.
BUG=453
Review URL: http://codereview.chromium.org/4002005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5694
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Sun, 24 Oct 2010 16:09:44 +0000 (16:09 +0000)]
Fix FreeBSD port.
TBR=kasperl@chromium.org
BUG=912
Review URL: http://codereview.chromium.org/4084001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5693
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
serya@chromium.org [Thu, 21 Oct 2010 14:53:19 +0000 (14:53 +0000)]
Fixing build failure - added a missed file.
Review URL: http://codereview.chromium.org/3965004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5690
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
serya@chromium.org [Thu, 21 Oct 2010 14:21:00 +0000 (14:21 +0000)]
Optimizing HandleScope. Also fixed HandleScope destruction when API getter throws an exception.
Review URL: http://codereview.chromium.org/3792003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5689
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
fschneider@chromium.org [Thu, 21 Oct 2010 14:19:07 +0000 (14:19 +0000)]
Clean up the log-stack-tracer test.
Create the functions using the normal API and remove some
unnecessary helpers.
Review URL: http://codereview.chromium.org/4024003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5688
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00