platform/upstream/v8.git
15 years ago- Simplify the code slightly by using Max().
iposva@chromium.org [Fri, 5 Dec 2008 21:51:46 +0000 (21:51 +0000)]
- Simplify the code slightly by using Max().

TBR=kasperl

Review URL: http://codereview.chromium.org/13210

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@928 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFix lint error.
iposva@chromium.org [Fri, 5 Dec 2008 17:53:03 +0000 (17:53 +0000)]
Fix lint error.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@927 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoPartial fix for issue 173:
iposva@chromium.org [Fri, 5 Dec 2008 17:37:12 +0000 (17:37 +0000)]
Partial fix for issue 173:
- Do not keep growing the zone segment size exponentially. By putting
  an upper limit on the segment size we limit the requirements for
  contiguous memory allocation.

Review URL: http://codereview.chromium.org/12984

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@926 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixing exception reporting so that a verbose TryCatch handler works again.
olehougaard [Fri, 5 Dec 2008 13:30:55 +0000 (13:30 +0000)]
Fixing exception reporting so that a verbose TryCatch handler works again.
Review URL: http://codereview.chromium.org/13173

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@924 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed the caching of counters. This also fixes the --dump-counters which reads the...
sgjesse@chromium.org [Fri, 5 Dec 2008 10:40:13 +0000 (10:40 +0000)]
Fixed the caching of counters. This also fixes the --dump-counters which reads the counters from the cache when dumping.
Review URL: http://codereview.chromium.org/13171

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@923 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoExcluded test that fails in JSCRE.
lrn@chromium.org [Fri, 5 Dec 2008 10:04:40 +0000 (10:04 +0000)]
Excluded test that fails in JSCRE.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@922 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoChecking and reporting for stack overflow in the right places.
olehougaard [Fri, 5 Dec 2008 09:57:36 +0000 (09:57 +0000)]
Checking and reporting for stack overflow in the right places.
Review URL: http://codereview.chromium.org/12986

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@921 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMakes irregexp-ia32 feature complete wrt. regexps.
lrn@chromium.org [Fri, 5 Dec 2008 09:18:55 +0000 (09:18 +0000)]
Makes irregexp-ia32 feature complete wrt. regexps.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@920 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded reporting compilation errors.
olehougaard [Fri, 5 Dec 2008 08:35:52 +0000 (08:35 +0000)]
Added reporting compilation errors.
Review URL: http://codereview.chromium.org/13125

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoPull out revision 915 and 916 to get a green builder. I believe the
ager@chromium.org [Thu, 4 Dec 2008 14:35:31 +0000 (14:35 +0000)]
Pull out revision 915 and 916 to get a green builder.  I believe the
issue has been resolved and these changes can go back in along with
the fix tomorrow.

TBR=olehougaard
Review URL: http://codereview.chromium.org/12945

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@918 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded type method to the debug events.
sgjesse@chromium.org [Thu, 4 Dec 2008 13:39:07 +0000 (13:39 +0000)]
Added type method to the debug events.

Fixed handling of script break points past the length of the script.
Review URL: http://codereview.chromium.org/13126

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@917 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdding a message test to deal with return in finally.
olehougaard [Thu, 4 Dec 2008 09:27:07 +0000 (09:27 +0000)]
Adding a message test to deal with return in finally.
Review URL: http://codereview.chromium.org/13122

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@916 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoReporting uncaught errors at the boundary between C++ and JS instead of trying to...
olehougaard [Thu, 4 Dec 2008 08:47:31 +0000 (08:47 +0000)]
Reporting uncaught errors at the boundary between C++ and JS instead of trying to guess whether they get caught at the time of the throw.
Review URL: http://codereview.chromium.org/12901

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@915 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoByteArrayProvider increments free-pointer correctly.
lrn@chromium.org [Thu, 4 Dec 2008 08:33:32 +0000 (08:33 +0000)]
ByteArrayProvider increments free-pointer correctly.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@914 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoEnable printing code generated for builtins in release mode when the
kmillikin@chromium.org [Thu, 4 Dec 2008 08:26:08 +0000 (08:26 +0000)]
Enable printing code generated for builtins in release mode when the
disassembler is enabled.  It's convenient to be able to see them.

Review URL: http://codereview.chromium.org/12904

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@913 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed lint error.
christian.plesner.hansen@gmail.com [Wed, 3 Dec 2008 16:21:19 +0000 (16:21 +0000)]
Fixed lint error.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@912 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMade d8 console=readline work on leopard.
christian.plesner.hansen@gmail.com [Wed, 3 Dec 2008 15:51:16 +0000 (15:51 +0000)]
Made d8 console=readline work on leopard.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@910 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoPreparing to push to trunk.
ager@chromium.org [Wed, 3 Dec 2008 13:58:36 +0000 (13:58 +0000)]
Preparing to push to trunk.
Review URL: http://codereview.chromium.org/13091

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@909 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMatching a back-reference must handle unbound start-register (but can assume that...
lrn@chromium.org [Wed, 3 Dec 2008 13:24:34 +0000 (13:24 +0000)]
Matching a back-reference must handle unbound start-register (but can assume that if start register is bound, then end register is bound too).

After matching a back reference, the character position is advanced past
the match

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@908 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFollow jsc in throwing an exception when using test or exec on a
ager@chromium.org [Wed, 3 Dec 2008 12:47:21 +0000 (12:47 +0000)]
Follow jsc in throwing an exception when using test or exec on a
regexp with no input.

Fixed problem with assertThrows.

Deleted test that tests arbitrary limits on the sizes of regular
expressions.
Review URL: http://codereview.chromium.org/13088

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@907 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoTwo tests in the Mozilla test suite pass due to a bug in the framework (compares...
lrn@chromium.org [Wed, 3 Dec 2008 12:44:13 +0000 (12:44 +0000)]
Two tests in the Mozilla test suite pass due to a bug in the framework (compares numbers to NaN with !=).
The tests should fail on V8. The tests are disabled until the framework is fixed.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@906 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRemoved lots of new mozilla tests depending on "options" function.
lrn@chromium.org [Wed, 3 Dec 2008 10:21:50 +0000 (10:21 +0000)]
Removed lots of new mozilla tests depending on "options" function.
Options is used to exclude tests when running jit.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@905 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded support in d8 for memory-mapped counters and added the python
christian.plesner.hansen@gmail.com [Wed, 3 Dec 2008 09:35:21 +0000 (09:35 +0000)]
Added support in d8 for memory-mapped counters and added the python
stats-viewer tool.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@904 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded regexp-macro-assembler-tracer .cc and .h files to Visual Studio project to...
sgjesse@chromium.org [Tue, 2 Dec 2008 14:28:04 +0000 (14:28 +0000)]
Added regexp-macro-assembler-tracer .cc and .h files to Visual Studio project to make it build.
Review URL: http://codereview.chromium.org/13047

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@899 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed issue where regexps were parsed without having set up a zone
christian.plesner.hansen@gmail.com [Tue, 2 Dec 2008 14:00:24 +0000 (14:00 +0000)]
Fixed issue where regexps were parsed without having set up a zone
scope, leading to zone exhaustion.  Added assertion that a zone scope
exists on zone allocation.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@898 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoChange Windows daylight saving time calculations to
whessev8 [Tue, 2 Dec 2008 13:20:00 +0000 (13:20 +0000)]
Change Windows daylight saving time calculations to
use C stdlib local time functions, not Win32 functions.
Win32 time functions slowed down with Windows XP SP3.
Change all platforms to use equivalent years between 2008 and
2035 for years outside the range 1970..2037.
Review URL: http://codereview.chromium.org/12824

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@896 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoChanged benchmark runners to always display at least three significant
christian.plesner.hansen@gmail.com [Tue, 2 Dec 2008 13:02:11 +0000 (13:02 +0000)]
Changed benchmark runners to always display at least three significant
digits in the results.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@895 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoBuilds on Windows too.
lrn@chromium.org [Tue, 2 Dec 2008 10:19:10 +0000 (10:19 +0000)]
Builds on Windows too.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@894 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoSet mime type on revisions.html.
christian.plesner.hansen@gmail.com [Tue, 2 Dec 2008 10:14:03 +0000 (10:14 +0000)]
Set mime type on revisions.html.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@891 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded revisions page and moved change log there.
christian.plesner.hansen@gmail.com [Tue, 2 Dec 2008 10:08:39 +0000 (10:08 +0000)]
Added revisions page and moved change log there.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@889 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoOptimization of single character indexOf. Gives small improvement on GCC4.2, but...
lrn@chromium.org [Tue, 2 Dec 2008 09:50:39 +0000 (09:50 +0000)]
Optimization of single character indexOf. Gives small improvement on GCC4.2, but large improvement on GCC 4.3 (which was much worse on that particular code).

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@887 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years ago- Fixed regexp logging issue.
christian.plesner.hansen@gmail.com [Tue, 2 Dec 2008 08:16:12 +0000 (08:16 +0000)]
- Fixed regexp logging issue.
- Removed use of std::set.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@883 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoUpdate Xcode project to contain the files for Irregexp.
iposva@chromium.org [Mon, 1 Dec 2008 23:06:09 +0000 (23:06 +0000)]
Update Xcode project to contain the files for Irregexp.

Review URL: http://codereview.chromium.org/13025

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@881 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years ago- Added some expansion of assertions.
christian.plesner.hansen@gmail.com [Mon, 1 Dec 2008 15:42:35 +0000 (15:42 +0000)]
- Added some expansion of assertions.
- Splitting of character classes into word and non-word parts.
- A bunch of refactorings.
- Made dispatch table construction lazy.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@880 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded checking in the regular expression parser that we're below the
christian.plesner.hansen@gmail.com [Mon, 1 Dec 2008 15:32:20 +0000 (15:32 +0000)]
Added checking in the regular expression parser that we're below the
stack limit and that the zone allocation limit hasn't been met.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@879 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAllow the non-spec [a-\d] (i.e., ending a range with a character class) in RegExps.
lrn@chromium.org [Mon, 1 Dec 2008 14:29:28 +0000 (14:29 +0000)]
Allow the non-spec [a-\d] (i.e., ending a range with a character class) in RegExps.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@877 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded assignment to variable after UNIMPLEMENTED macro, to keep compiler happy.
lrn@chromium.org [Mon, 1 Dec 2008 11:46:08 +0000 (11:46 +0000)]
Added assignment to variable after UNIMPLEMENTED macro, to keep compiler happy.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@875 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixes stray IA32-reference in ARM builds
lrn@chromium.org [Mon, 1 Dec 2008 10:17:24 +0000 (10:17 +0000)]
Fixes stray IA32-reference in ARM builds

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@874 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixes (last?) bugs in regexp-ia32 core functionality. All tests run!
lrn@chromium.org [Mon, 1 Dec 2008 09:57:14 +0000 (09:57 +0000)]
Fixes (last?) bugs in regexp-ia32 core functionality. All tests run!

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@873 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRemove a couple of instances of wchar_t after counters change.
ager@chromium.org [Mon, 1 Dec 2008 07:56:57 +0000 (07:56 +0000)]
Remove a couple of instances of wchar_t after counters change.

Review URL: http://codereview.chromium.org/12820

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@872 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoCommiting Evan's change to use char instead of wchar_t for counter names.
ager@chromium.org [Mon, 1 Dec 2008 07:40:43 +0000 (07:40 +0000)]
Commiting Evan's change to use char instead of wchar_t for counter names.

Code review URL:

  http://codereview.chromium.org/13011/show

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@871 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFix issue http://code.google.com/p/v8/issues/detail?id=166 which I have run
iposva@chromium.org [Sun, 30 Nov 2008 00:19:08 +0000 (00:19 +0000)]
Fix issue code.google.com/p/v8/issues/detail?id=166 which I have run
across as well.

TBR=plesner

Review URL: http://codereview.chromium.org/13007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@870 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFix build error in debug mode by making sure the tracer has the
erik.corry@gmail.com [Fri, 28 Nov 2008 12:11:36 +0000 (12:11 +0000)]
Fix build error in debug mode by making sure the tracer has the
new method too.
Fix spacing in tracer.
Review URL: http://codereview.chromium.org/12806

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@867 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdd an operation that checks whether we are at the start of the string.
erik.corry@gmail.com [Fri, 28 Nov 2008 11:48:22 +0000 (11:48 +0000)]
Add an operation that checks whether we are at the start of the string.
Review URL: http://codereview.chromium.org/10998

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@866 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years ago* Remove an unused layer of abstraction by not having both a macro assembler and
erik.corry@gmail.com [Fri, 28 Nov 2008 10:37:06 +0000 (10:37 +0000)]
* Remove an unused layer of abstraction by not having both a macro assembler and
  an assembler when compiling to bytecode.  This fixes
  http://code.google.com/p/v8/issues/detail?id=165
* Preload the 'current character' register when starting a match (byte code only
  at the moment).
Review URL: http://codereview.chromium.org/10995

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@865 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoCalling native irregexp now returns captures correctly.
lrn@chromium.org [Fri, 28 Nov 2008 09:51:26 +0000 (09:51 +0000)]
Calling native irregexp now returns captures correctly.
Reduces failing tests in native mode to 2(!)

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@864 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoLint lint lint.
erik.corry@gmail.com [Fri, 28 Nov 2008 09:08:13 +0000 (09:08 +0000)]
Lint lint lint.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@863 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoImplement $ for non-multiline.
erik.corry@gmail.com [Fri, 28 Nov 2008 08:53:53 +0000 (08:53 +0000)]
Implement $ for non-multiline.
Review URL: http://codereview.chromium.org/10992

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@862 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoChange implementation of eval to make an exact distinction between direct eval and...
olehougaard [Thu, 27 Nov 2008 13:55:06 +0000 (13:55 +0000)]
Change implementation of eval to make an exact distinction between direct eval and aliased eval.
Review URL: http://codereview.chromium.org/12673

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@860 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMade char comparisons work
lrn@chromium.org [Thu, 27 Nov 2008 13:54:31 +0000 (13:54 +0000)]
Made char comparisons work
Tracer for regexp macro-assembler instructions

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@859 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed build on windows. Msvc is an idiot.
christian.plesner.hansen@gmail.com [Thu, 27 Nov 2008 12:10:16 +0000 (12:10 +0000)]
Fixed build on windows.  Msvc is an idiot.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@858 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed lint error.
christian.plesner.hansen@gmail.com [Thu, 27 Nov 2008 11:20:05 +0000 (11:20 +0000)]
Fixed lint error.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@857 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed some assertion propagation issues and added non-multiline $
christian.plesner.hansen@gmail.com [Thu, 27 Nov 2008 10:35:06 +0000 (10:35 +0000)]
Fixed some assertion propagation issues and added non-multiline $
propagation.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@856 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFix native code Irregexp on MacOSX.
erik.corry@gmail.com [Thu, 27 Nov 2008 09:27:30 +0000 (09:27 +0000)]
Fix native code Irregexp on MacOSX.
Review URL: http://codereview.chromium.org/10984

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@855 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded a debugger call to run a JavaScript function in the debugger. When called the...
sgjesse@chromium.org [Thu, 27 Nov 2008 08:01:27 +0000 (08:01 +0000)]
Added a debugger call to run a JavaScript function in the debugger. When called the debugger will be entered and the JavaScript function will be called with the debugger ExecutionState object as its first parameter.

This makes it possible to get information like current line number, current script resource, backtrace information etc. which is not part of the normal API.
Review URL: http://codereview.chromium.org/12472

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@854 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years ago* Complete case independent support in Irregexp.
erik.corry@gmail.com [Thu, 27 Nov 2008 07:27:08 +0000 (07:27 +0000)]
* Complete case independent support in Irregexp.
Review URL: http://codereview.chromium.org/12473

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@853 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoGraph node attribute printing.
christian.plesner.hansen@gmail.com [Thu, 27 Nov 2008 07:21:43 +0000 (07:21 +0000)]
Graph node attribute printing.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@852 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoPrepare to push the v8::jscre namespace changes to trunk.
iposva@chromium.org [Wed, 26 Nov 2008 23:34:36 +0000 (23:34 +0000)]
Prepare to push the v8::jscre namespace changes to trunk.
This does not change the working revision number as this
is marked as revision 0.4.4.1, since it is quick specific
patch.

Review URL: http://codereview.chromium.org/12509

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@850 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdd v8::jscre namespace around jscre functions to avoid link errors with jsc pcre...
feng@chromium.org [Wed, 26 Nov 2008 22:45:21 +0000 (22:45 +0000)]
Add v8::jscre namespace around jscre functions to avoid link errors with jsc pcre files in Chrome.

Review URL: http://codereview.chromium.org/12496

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@849 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMade ARM/IA32 handling in Regexp symmetric (although without an ARM implementation...
lrn@chromium.org [Wed, 26 Nov 2008 13:54:08 +0000 (13:54 +0000)]
Made ARM/IA32 handling in Regexp symmetric (although without an ARM implementation yet).

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@848 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAddress comments about my code in http://codereview.chromium.org/12427
erik.corry@gmail.com [Wed, 26 Nov 2008 12:18:17 +0000 (12:18 +0000)]
Address comments about my code in codereview.chromium.org/12427

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@847 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed some outstanding formatting issues.
lrn@chromium.org [Wed, 26 Nov 2008 11:29:26 +0000 (11:29 +0000)]
Fixed some outstanding formatting issues.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@846 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMerge code review fixes.
christian.plesner.hansen@gmail.com [Wed, 26 Nov 2008 08:03:55 +0000 (08:03 +0000)]
Merge code review fixes.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@845 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed problem where the two lower-case sigmas would uncanonicalize to
christian.plesner.hansen@gmail.com [Wed, 26 Nov 2008 06:05:07 +0000 (06:05 +0000)]
Fixed problem where the two lower-case sigmas would uncanonicalize to
themselves and upper-case sigma, but upper-case sigma would
uncanonicalize to just lower-case final sigma.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@844 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoReally marked the assembler tests as crashing on mac.
christian.plesner.hansen@gmail.com [Tue, 25 Nov 2008 16:01:25 +0000 (16:01 +0000)]
Really marked the assembler tests as crashing on mac.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@843 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMarked MacroAssemblerIA32Simple as expected to fail on mac.
christian.plesner.hansen@gmail.com [Tue, 25 Nov 2008 15:43:42 +0000 (15:43 +0000)]
Marked MacroAssemblerIA32Simple as expected to fail on mac.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@842 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMade irregexp flags available in release mode
christian.plesner.hansen@gmail.com [Tue, 25 Nov 2008 14:26:45 +0000 (14:26 +0000)]
Made irregexp flags available in release mode

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@841 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoIA32-tests won't be compiled on ARM (and not just not run).
lrn@chromium.org [Tue, 25 Nov 2008 14:26:13 +0000 (14:26 +0000)]
IA32-tests won't be compiled on ARM (and not just not run).

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoScanning for captures only happen when a decimal escape gives a number that
lrn@chromium.org [Tue, 25 Nov 2008 14:14:04 +0000 (14:14 +0000)]
Scanning for captures only happen when a decimal escape gives a number that
is too big to be a useful back reference. It won't happen at all in meaningfull
ECMAScript compliant regexps.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@839 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoOh, it has to work on Intel CPUs too?
erik.corry@gmail.com [Tue, 25 Nov 2008 13:23:49 +0000 (13:23 +0000)]
Oh, it has to work on Intel CPUs too?
Review URL: http://codereview.chromium.org/12432

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoTests for RegExpMacroAssemblerIA32.
lrn@chromium.org [Tue, 25 Nov 2008 13:13:02 +0000 (13:13 +0000)]
Tests for RegExpMacroAssemblerIA32.
Disabled stack-limit checks.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@837 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoUpdate d8 so that it can be used to run the mjsunit tests.
ager@chromium.org [Tue, 25 Nov 2008 12:58:48 +0000 (12:58 +0000)]
Update d8 so that it can be used to run the mjsunit tests.

Set the security token on the debugger context after all contexts have
been created in d8.  This ensures that all d8 contexts (including the
debugger context) can access eachother.

Copy extra command-line handling from the shell sample to d8.

Review URL: http://codereview.chromium.org/12431

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@836 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoOld gcc on ARM can't cope with template stuff we weren't using anyway.
erik.corry@gmail.com [Tue, 25 Nov 2008 12:45:31 +0000 (12:45 +0000)]
Old gcc on ARM can't cope with template stuff we weren't using anyway.
Review URL: http://codereview.chromium.org/12429

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@835 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoNew regexp files are now included in VS project.
lrn@chromium.org [Tue, 25 Nov 2008 12:08:13 +0000 (12:08 +0000)]
New regexp files are now included in VS project.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@834 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoCase independent back references.
erik.corry@gmail.com [Tue, 25 Nov 2008 11:39:20 +0000 (11:39 +0000)]
Case independent back references.
Reviewed at http://codereview.chromium.org/12406

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@833 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMerge regexp2000 back into bleeding_edge
christian.plesner.hansen@gmail.com [Tue, 25 Nov 2008 11:07:48 +0000 (11:07 +0000)]
Merge regexp2000 back into bleeding_edge

Review URL: http://codereview.chromium.org/12427

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@832 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed Visual Studio build with snapshot when V8 is checked out in a directory with...
sgjesse@chromium.org [Tue, 25 Nov 2008 10:59:02 +0000 (10:59 +0000)]
Fixed Visual Studio build with snapshot when V8 is checked out in a directory with spaces in the path.
Review URL: http://codereview.chromium.org/12428

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@831 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRemoved all functions for parsing the debugger command line commands. The core debugg...
sgjesse@chromium.org [Mon, 24 Nov 2008 10:31:22 +0000 (10:31 +0000)]
Removed all functions for parsing the debugger command line commands. The core debugger should only support the JSON protocol. Expect these functions to re-appear in d8.

Added processDebugRequest to the debugger which will only process a JSON request. Use that function in the debugger.
Review URL: http://codereview.chromium.org/11395

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@824 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRevert r819, 821, and 822 which caused a big performance regression
ager@chromium.org [Fri, 21 Nov 2008 15:01:41 +0000 (15:01 +0000)]
Revert r819, 821, and 822 which caused a big performance regression

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@823 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixed two unexpected passes. We no longer expect them to fail.
olehougaard [Fri, 21 Nov 2008 13:41:25 +0000 (13:41 +0000)]
Fixed two unexpected passes. We no longer expect them to fail.
Review URL: http://codereview.chromium.org/11351

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@822 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRemoving assert to make flexo happy.
olehougaard [Fri, 21 Nov 2008 13:37:38 +0000 (13:37 +0000)]
Removing assert to make flexo happy.

TBR=ager
Review URL: http://codereview.chromium.org/11565

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@821 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoFixing the detection of aliased eval so that it is exact.
olehougaard [Fri, 21 Nov 2008 12:49:57 +0000 (12:49 +0000)]
Fixing the detection of aliased eval so that it is exact.
Fixing the semantics of aliased eval so that it is conformant.
Review URL: http://codereview.chromium.org/11563

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@819 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoApplied patch from Alexander Botero-Lowry to fix tests on fresh
christian.plesner.hansen@gmail.com [Fri, 21 Nov 2008 12:26:31 +0000 (12:26 +0000)]
Applied patch from Alexander Botero-Lowry to fix tests on fresh
checkout with git-svn.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@818 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoAdded support for building V8 on Windows with either the shared or static version...
sgjesse@chromium.org [Fri, 21 Nov 2008 11:19:01 +0000 (11:19 +0000)]
Added support for building V8 on Windows with either the shared or static version of MSVCRT. The selection of the MSVCRT version is through the new SCons flag  msvcrt which can have values static or shared with static being the default.
Review URL: http://codereview.chromium.org/11564

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@817 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoApply patch from Alexander Botero-Lowry that adds FreeBSD platform
ager@chromium.org [Fri, 21 Nov 2008 10:06:29 +0000 (10:06 +0000)]
Apply patch from Alexander Botero-Lowry that adds FreeBSD platform
support.
Review URL: http://codereview.chromium.org/11347

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRemove use of strtoll in favor of strtol which should be supported on
ager@chromium.org [Fri, 21 Nov 2008 08:36:30 +0000 (08:36 +0000)]
Remove use of strtoll in favor of strtol which should be supported on
more platforms.
Review URL: http://codereview.chromium.org/11607

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@813 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years ago- Make sure to not mix allocators by using the correct StrDup function.
iposva@chromium.org [Thu, 20 Nov 2008 23:53:18 +0000 (23:53 +0000)]
- Make sure to not mix allocators by using the correct StrDup function.
- Include needed system header.
Review URL: http://codereview.chromium.org/11547

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@812 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRemove OS::WcsCpy from platform.h. This function is unused
iposva@chromium.org [Thu, 20 Nov 2008 23:16:26 +0000 (23:16 +0000)]
Remove OS::WcsCpy from platform.h. This function is unused
and is giving us headaches on platforms not supporting wchar_t.

Review URL: http://codereview.chromium.org/11546

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@811 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoTurn ASSERT(!rn.is(ip)) into CHECK so the error can be caught in release mode.
feng@chromium.org [Thu, 20 Nov 2008 18:12:48 +0000 (18:12 +0000)]
Turn ASSERT(!rn.is(ip)) into CHECK so the error can be caught in release mode.

It addresses the problem of 'cmp' instruction that has the side-effect that ip register
shouldn't be used as rn.

Review URL: http://codereview.chromium.org/11323

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@810 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agofix lint
feng@chromium.org [Thu, 20 Nov 2008 17:44:08 +0000 (17:44 +0000)]
fix lint

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@809 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoip cannot be used in cmp instruction. Revert to r1.
feng@chromium.org [Thu, 20 Nov 2008 17:33:53 +0000 (17:33 +0000)]
ip cannot be used in cmp instruction. Revert to r1.

Review URL: http://codereview.chromium.org/11322

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@808 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMore work on completing Keyed IC code on ARM port.
feng@chromium.org [Thu, 20 Nov 2008 16:59:00 +0000 (16:59 +0000)]
More work on completing Keyed IC code on ARM port.
Added stats counter support in macro-assembler-arm.*.

Review URL: http://codereview.chromium.org/11277

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoMinor cleanup code in GenerateStoreField.
feng@chromium.org [Thu, 20 Nov 2008 16:31:22 +0000 (16:31 +0000)]
Minor cleanup code in GenerateStoreField.

Review URL: http://codereview.chromium.org/11276

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@806 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoExplicitly change a floating point division with a constant into a
ager@chromium.org [Thu, 20 Nov 2008 11:33:50 +0000 (11:33 +0000)]
Explicitly change a floating point division with a constant into a
multiplication by its inverse.

In optimized builds GCC does this on its own, but this may be useful
when using other compilers.
Review URL: http://codereview.chromium.org/11524

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@805 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoChange the handling of OS::Abort on Windows to enter the debugger if the process...
sgjesse@chromium.org [Thu, 20 Nov 2008 10:00:36 +0000 (10:00 +0000)]
Change the handling of OS::Abort on Windows to enter the debugger if the process is being debugged.
Review URL: http://codereview.chromium.org/11522

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoDisable map collection since there is a bug in it somewhere. Leave in
ager@chromium.org [Thu, 20 Nov 2008 09:48:29 +0000 (09:48 +0000)]
Disable map collection since there is a bug in it somewhere.  Leave in
the code so we can work on it.
Review URL: http://codereview.chromium.org/11806

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@800 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoWhen probing a dictionary backing storage in generated code, make sure
ager@chromium.org [Thu, 20 Nov 2008 09:18:08 +0000 (09:18 +0000)]
When probing a dictionary backing storage in generated code, make sure
not to return functions that have not been loaded.

This fixes crashes on expedia.com:

  http://code.google.com/p/chromium/issues/detail?id=4526
Review URL: http://codereview.chromium.org/11272

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@799 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRemoved som unused function from the JavaScript side of the debugger.
sgjesse@chromium.org [Wed, 19 Nov 2008 12:27:55 +0000 (12:27 +0000)]
Removed som unused function from the JavaScript side of the debugger.
Review URL: http://codereview.chromium.org/11269

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@795 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoChanged the handling of Win32 function SetErrorMode to be more correct. The flag...
sgjesse@chromium.org [Wed, 19 Nov 2008 10:09:21 +0000 (10:09 +0000)]
Changed the handling of Win32 function SetErrorMode to be more correct. The flag to prevent error dialogs is now merged with existing flags, and the error mode is now reset which it was not before.
Review URL: http://codereview.chromium.org/11471

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@792 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRemoved one more occurrence of a failure in a handle.
ager@chromium.org [Wed, 19 Nov 2008 09:50:50 +0000 (09:50 +0000)]
Removed one more occurrence of a failure in a handle.
Review URL: http://codereview.chromium.org/11469

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@791 ce2b1a6d-e550-0410-aec6-3dcde31c8c00