platform/upstream/v8.git
15 years agoRemove a test from threading tests that make them fail on Mac OS.
ager@chromium.org [Thu, 11 Sep 2008 07:28:10 +0000 (07:28 +0000)]
Remove a test from threading tests that make them fail on Mac OS.
Review URL: http://codereview.chromium.org/2415

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

15 years agoAdded option for TryCatches to not capture the message object on
christian.plesner.hansen@gmail.com [Wed, 10 Sep 2008 14:54:15 +0000 (14:54 +0000)]
Added option for TryCatches to not capture the message object on
exceptions.

It turned out that the stack overflow fix from before had disabled
message storing in another test.  Previously, stack overflows would
actually cause a message object to start being created but cause
another exception which would not be reported and that's what stopped
the infinite regress.  This change resores that behavior.

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

15 years agoFixed stack overflow crash.
christian.plesner.hansen@gmail.com [Wed, 10 Sep 2008 14:03:45 +0000 (14:03 +0000)]
Fixed stack overflow crash.

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

15 years agoQuick fix: copyright header
christian.plesner.hansen@gmail.com [Wed, 10 Sep 2008 13:05:26 +0000 (13:05 +0000)]
Quick fix: copyright header

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

15 years agoFixed bug #57. Introduced String::Utf8Value and replaced a bunch of
christian.plesner.hansen@gmail.com [Wed, 10 Sep 2008 11:41:48 +0000 (11:41 +0000)]
Fixed bug #57.  Introduced String::Utf8Value and replaced a bunch of
uses of String::AsciiValue with String::Utf8Value.  Fixed shell sample
'load' so it doesn't print error messages.

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

15 years agoDo not shortcut cons string symbols during garbage collection.
ager@chromium.org [Wed, 10 Sep 2008 11:35:05 +0000 (11:35 +0000)]
Do not shortcut cons string symbols during garbage collection.

Attempt to flatten cons strings when converting them to symbols so
that symbols will most often be flat strings.
Review URL: http://codereview.chromium.org/1700

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

15 years agoThis change makes the runtime function %DebugPrint()
whessev8 [Wed, 10 Sep 2008 10:32:33 +0000 (10:32 +0000)]
This change makes the runtime function %DebugPrint()
print the content of strings in release build, rather
than just a pointer.  This lets test_shell print to stdout.

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

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

15 years agoAvoid the creation of a string builder for joining one-element arrays.
ager@chromium.org [Wed, 10 Sep 2008 09:37:34 +0000 (09:37 +0000)]
Avoid the creation of a string builder for joining one-element arrays.
Review URL: http://codereview.chromium.org/1888

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

15 years agoFix issue http://code.google.com/p/v8/issues/detail?id=58:
iposva@chromium.org [Wed, 10 Sep 2008 06:59:41 +0000 (06:59 +0000)]
Fix issue code.google.com/p/v8/issues/detail?id=58:
- Prevent a clipping of values when converting a double to an unsigned int
  for use as the random generator's seed value.
Review URL: http://codereview.chromium.org/1887

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

15 years agoRemove another case of .js in the status file. Reviewed offline by ager@chromium...
kasperl@chromium.org [Wed, 10 Sep 2008 05:51:59 +0000 (05:51 +0000)]
Remove another case of .js in the status file. Reviewed offline by ager@chromium.org.

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

15 years agoQuick fix for mjsunit/debug-sourceinfo failure
christian.plesner.hansen@gmail.com [Tue, 9 Sep 2008 20:20:35 +0000 (20:20 +0000)]
Quick fix for mjsunit/debug-sourceinfo failure

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

15 years agoChanged copyright header from google inc. to v8 project authors.
christian.plesner.hansen@gmail.com [Tue, 9 Sep 2008 20:08:45 +0000 (20:08 +0000)]
Changed copyright header from google inc. to v8 project authors.
Added presubmit step to check copyright.

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

15 years agoChanged the shell to print source position with error messages.
christian.plesner.hansen@gmail.com [Tue, 9 Sep 2008 19:08:40 +0000 (19:08 +0000)]
Changed the shell to print source position with error messages.
Added debug flags to gcc when compiling samples in debug mode.

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

15 years agoAdded source info to TryCatches. Reorganized exception messaging
christian.plesner.hansen@gmail.com [Tue, 9 Sep 2008 18:55:41 +0000 (18:55 +0000)]
Added source info to TryCatches.  Reorganized exception messaging
somewhat and folded stack traces into message.  Use of this in the
shell will follow in a separate changelist.

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

15 years agoFixed misspelling in mjsunit status file.
christian.plesner.hansen@gmail.com [Tue, 9 Sep 2008 12:45:21 +0000 (12:45 +0000)]
Fixed misspelling in mjsunit status file.

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

15 years agoUse RUNTIME_ASSERT instead of CHECK in runtime.cc.
ager@chromium.org [Tue, 9 Sep 2008 08:40:25 +0000 (08:40 +0000)]
Use RUNTIME_ASSERT instead of CHECK in runtime.cc.

Remove unused function from array.js.

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

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

15 years agoAdded -f option to the shell sample for compatibility with the other
christian.plesner.hansen@gmail.com [Tue, 9 Sep 2008 08:35:40 +0000 (08:35 +0000)]
Added -f option to the shell sample for compatibility with the other
engines.

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

15 years agoFix the debug build.
ager@chromium.org [Tue, 9 Sep 2008 08:06:27 +0000 (08:06 +0000)]
Fix the debug build.

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

15 years agoFixed issue 54, under some circumstances internal field count set on
christian.plesner.hansen@gmail.com [Tue, 9 Sep 2008 07:57:43 +0000 (07:57 +0000)]
Fixed issue 54, under some circumstances internal field count set on
object templates did not take effect.

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

15 years agoMove the contains check in array join from javascript to C++.
ager@chromium.org [Tue, 9 Sep 2008 07:38:00 +0000 (07:38 +0000)]
Move the contains check in array join from javascript to C++.

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

15 years agoAllow setting of a --simulator parameter when running tests.
iposva@chromium.org [Tue, 9 Sep 2008 05:37:00 +0000 (05:37 +0000)]
Allow setting of a --simulator parameter when running tests.
Passing "--simulator=arm" has the same effect as setting
"-S simulator=arm --arch=arm" and closely mirrors the behavior
of the scons build causing less confusion when running tests.
Review URL: http://codereview.chromium.org/1654

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

15 years agoAdd support for setting the correct parameters for gcl and
iposva@chromium.org [Tue, 9 Sep 2008 03:27:06 +0000 (03:27 +0000)]
Add support for setting the correct parameters for gcl and
 http://codereview.chromium.org

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

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

15 years agoSubmitting a revised Xcode project for Mark Mentovai (mark@chromium.org).
iposva@chromium.org [Tue, 9 Sep 2008 03:08:23 +0000 (03:08 +0000)]
Submitting a revised Xcode project for Mark Mentovai (mark@chromium.org).

Reviewed here: http://codereview.chromium.org/1833

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

15 years agoExplain better the constraints for external string resources.
erik.corry@gmail.com [Mon, 8 Sep 2008 19:46:49 +0000 (19:46 +0000)]
Explain better the constraints for external string resources.

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

15 years agoMark number-string-index-call.js as FAIL on ARM because it depends on the new calling...
feng@chromium.org [Mon, 8 Sep 2008 18:56:27 +0000 (18:56 +0000)]
Mark number-string-index-call.js as FAIL on ARM because it depends on the new calling convention. TBR=iposva@chromium.org

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

15 years agoFix issue http://code.google.com/p/v8/issues/detail?id=32
feng@chromium.org [Mon, 8 Sep 2008 16:47:23 +0000 (16:47 +0000)]
Fix issue code.google.com/p/v8/issues/detail?id=32

Allows numberical strings as array index and make a call. e.g.,
callbacks['0']();

Added more test case for regexp (disabled by default, requires --call_regexp)
and call_as_function object created by API.

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

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

15 years agoAdded ApplyEnvOverrides to samples build. This makes the build work on Windows
sgjesse [Mon, 8 Sep 2008 15:42:29 +0000 (15:42 +0000)]
Added ApplyEnvOverrides to samples build. This makes the build work on Windows
when the PATH to cl.exe is specified through env overrides. Changed explicit
EVN update with call to ApplyEnvOverrides

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

15 years ago- Added option to set SourceSignatures in scons.
christian.plesner.hansen@gmail.com [Mon, 8 Sep 2008 13:08:10 +0000 (13:08 +0000)]
- Added option to set SourceSignatures in scons.

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

15 years agoAdd two more Mozilla tests that depend on GC timings to the list
kasperl@chromium.org [Mon, 8 Sep 2008 12:37:10 +0000 (12:37 +0000)]
Add two more Mozilla tests that depend on GC timings to the list
of flaky tests.

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

15 years agoFix issue 40.
kasperl@chromium.org [Mon, 8 Sep 2008 10:58:46 +0000 (10:58 +0000)]
Fix issue 40.

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

15 years agoFixed problem where asian characters were not categorized as letters
christian.plesner.hansen@gmail.com [Mon, 8 Sep 2008 10:45:01 +0000 (10:45 +0000)]
Fixed problem where asian characters were not categorized as letters
because they were defined using different syntax in the unicode
database.

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

15 years agoFix issues with running some of our tests with an embedded
kasperl@chromium.org [Mon, 8 Sep 2008 09:26:02 +0000 (09:26 +0000)]
Fix issues with running some of our tests with an embedded
snapshot. Changed the debug-script.js test to ignore the
exact number of extension scripts.

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

15 years agoCapitalize V8 in AUTHORS file.
kasperl@chromium.org [Mon, 8 Sep 2008 08:09:50 +0000 (08:09 +0000)]
Capitalize V8 in AUTHORS file.

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

15 years agoFix issue 35 by applying patch by Daniel James.
kasperl@chromium.org [Mon, 8 Sep 2008 07:58:54 +0000 (07:58 +0000)]
Fix issue 35 by applying patch by Daniel James.

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

15 years agoUpdate mjsunit status file. The debugger does not currently work on
ager@chromium.org [Mon, 8 Sep 2008 07:55:28 +0000 (07:55 +0000)]
Update mjsunit status file.  The debugger does not currently work on
ARM and all the tests are disabled for now.

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

15 years agoFix broken build. Sorry about that.
kasperl@chromium.org [Mon, 8 Sep 2008 07:24:10 +0000 (07:24 +0000)]
Fix broken build. Sorry about that.

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

15 years ago- Marked flaky windows gc test as flaky.
christian.plesner.hansen@gmail.com [Mon, 8 Sep 2008 07:04:22 +0000 (07:04 +0000)]
- Marked flaky windows gc test as flaky.
- Added support for --cat in test runner.

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

15 years agoFix issues 28 and 30 by changed the header guard to V8_H_ and
kasperl@chromium.org [Mon, 8 Sep 2008 07:01:12 +0000 (07:01 +0000)]
Fix issues 28 and 30 by changed the header guard to V8_H_ and
including HandleScope::ZapRange in release mode.

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

15 years agoAvoid string conversion when comparing Smis during sorting.
ager@chromium.org [Mon, 8 Sep 2008 06:17:38 +0000 (06:17 +0000)]
Avoid string conversion when comparing Smis during sorting.

Avoid runtime calls for trivial object equality checks.

Minor style cleanups.

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

15 years agoQuick fix for a new test failure on real arm
christian.plesner.hansen [Sat, 6 Sep 2008 13:42:50 +0000 (13:42 +0000)]
Quick fix for a new test failure on real arm

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

15 years agoQuick un-reviewed fix for build problem on arm
christian.plesner.hansen@gmail.com [Sat, 6 Sep 2008 10:51:33 +0000 (10:51 +0000)]
Quick un-reviewed fix for build problem on arm

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

15 years agoWhen the Mozilla tests are checked out of cvs in the recommended place the
erik.corry@gmail.com [Sat, 6 Sep 2008 06:22:59 +0000 (06:22 +0000)]
When the Mozilla tests are checked out of cvs in the recommended place the
linter attempts to check them for style issues.  This is not helpful.  This
chance makes the presubmit linter skip the data directory where they are
located.

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

15 years agoAdd an Xcode project for V8.
iposva@chromium.org [Fri, 5 Sep 2008 22:26:30 +0000 (22:26 +0000)]
Add an Xcode project for V8.
This project exports two static library targets to be used by Chromium: jscre, v8

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

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

15 years agofix lint errors
feng@chromium.org [Fri, 5 Sep 2008 16:58:18 +0000 (16:58 +0000)]
fix lint errors

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

15 years agoThese two tests are currently broken. Will file report to plesner.
feng@chromium.org [Fri, 5 Sep 2008 16:53:34 +0000 (16:53 +0000)]
These two tests are currently broken. Will file report to plesner.

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

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

15 years agoHonor the declaration order of getter/setter in object literals
feng@chromium.org [Fri, 5 Sep 2008 16:47:42 +0000 (16:47 +0000)]
Honor the declaration order of getter/setter in object literals

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

15 years agoAdded a EvalCache that caches eval'ed scripts and compiled function boilerplate.
feng@chromium.org [Fri, 5 Sep 2008 16:27:56 +0000 (16:27 +0000)]
Added a EvalCache that caches eval'ed scripts and compiled function boilerplate.
The cache is a hashtable that takes String as key and JSFunction as the value.

Caches are cleared before mark-compact GC's.

Currently I don't put caps on cache size, string size, etc.

This cuts date-parse-totfe.js runtime by half.

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

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

15 years agoFixed test failure.
christian.plesner.hansen@gmail.com [Fri, 5 Sep 2008 15:01:10 +0000 (15:01 +0000)]
Fixed test failure.

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

15 years agoFixed windows test build.
christian.plesner.hansen@gmail.com [Fri, 5 Sep 2008 14:10:27 +0000 (14:10 +0000)]
Fixed windows test build.

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

15 years agoA new instance of the utf-8 conversion changelist, this time against
christian.plesner.hansen@gmail.com [Fri, 5 Sep 2008 13:39:14 +0000 (13:39 +0000)]
A new instance of the utf-8 conversion changelist, this time against
bleeding_edge.

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

15 years ago* Split up code_space into old_data_space and code_space.
erik.corry@gmail.com [Fri, 5 Sep 2008 12:34:09 +0000 (12:34 +0000)]
* Split up code_space into old_data_space and code_space.
* Make old_data_space non-executable on OSs and hardware that support it.
* Rename old_space to old_pointer_space (can contain pointers, esp. to new space).
* Ensure that individual pages allocated for old_space are only executable when
they are for code objects.
* Ensure Space::Setup can cope with non-aligned memory.
* Make some methods on Spaces virtual.  Make a way to iterate over all spaces.
* Replace executability flag with Executability enum in order to make intent at
call site clearer.
* Fix serialization/deserialization to allocate write barrier memory for large
arrays.

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

15 years agoAdded an option to enable the disassembler in both debug and release
kmillikin@chromium.org [Fri, 5 Sep 2008 12:21:04 +0000 (12:21 +0000)]
Added an option to enable the disassembler in both debug and release
mode builds.  It is off by default (but the disassembler is already
enabled for debug builds).

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

15 years agoAdd I-cache flushing to Code::Relocate. No need to call it
kasperl@chromium.org [Fri, 5 Sep 2008 11:23:00 +0000 (11:23 +0000)]
Add I-cache flushing to Code::Relocate. No need to call it
from Heap::CopyCode anymore.

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

15 years agogit-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@159 ce2b1a6d-e550...
ager@chromium.org [Fri, 5 Sep 2008 10:20:14 +0000 (10:20 +0000)]
git-svn-id: v8.googlecode.com/svn/branches/bleeding_edge@159 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoRefactored the evn override handling to a single method and fixed the handling
sgjesse@gmail.com [Fri, 5 Sep 2008 10:00:50 +0000 (10:00 +0000)]
Refactored the evn override handling to a single method and fixed the handling
of the case where ENV is not a dictionary which could happen when the
environment variable ENV was set when invoking SCons.

Fixed building dynamic library on Windows in the case where env overrides was
specified as before these was not passed to the linking of the DLL.

There is still a SCons issue when the environment variable ENV is set when
invoking SCons, however this looks like a SCons issue.

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

15 years agoRemoved spaces to fix lint.
sgjesse [Fri, 5 Sep 2008 09:41:30 +0000 (09:41 +0000)]
Removed spaces to fix lint.

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

15 years agoChanged the check for debug event messages in the debug tests
sgjesse [Fri, 5 Sep 2008 09:01:12 +0000 (09:01 +0000)]
Changed the check for debug event messages in the debug tests
to be independent of the order of the properties in the JSON
string.

Reenabled the disabled debug tests.

http://code.google.com/p/v8/issues/detail?id=21

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

15 years agoApplied Rafal Krypa's patch to fix gcc 4.3.2 build problems.
ager@chromium.org [Fri, 5 Sep 2008 07:46:32 +0000 (07:46 +0000)]
Applied Rafal Krypa's patch to fix gcc 4.3.2 build problems.

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

15 years agoDisable three debug tests that failed because they rely on wrong for-in order.
feng@chromium.org [Fri, 5 Sep 2008 00:04:37 +0000 (00:04 +0000)]
Disable three debug tests that failed because they rely on wrong for-in order.

Added a DISABLED_TEST macro to cctest.h, and cleanup cctest.cc a bit.

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

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

15 years agogit-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@147 ce2b1a6d-e550...
feng@chromium.org [Thu, 4 Sep 2008 20:49:18 +0000 (20:49 +0000)]
git-svn-id: v8.googlecode.com/svn/branches/bleeding_edge@147 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

15 years agoIf CCFLAGS contains '-m32', LINKFLAGS needs also needs '-m32'.
ager@chromium.org [Thu, 4 Sep 2008 20:40:40 +0000 (20:40 +0000)]
If CCFLAGS contains '-m32', LINKFLAGS needs also needs '-m32'.
Otherwise, ld complains and refuses to work.

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

15 years agoUpdate version tag in bleeding_edge branch. Now working on 0.3.1.
ager@chromium.org [Thu, 4 Sep 2008 13:58:16 +0000 (13:58 +0000)]
Update version tag in bleeding_edge branch.  Now working on 0.3.1.

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

15 years agoMinor cleanup: the smartpointer class should use DeleteArray to
ager@chromium.org [Thu, 4 Sep 2008 13:09:12 +0000 (13:09 +0000)]
Minor cleanup: the smartpointer class should use DeleteArray to
deallocate.

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

15 years agoUpdate the test expectation for a flaky test.
ager@chromium.org [Thu, 4 Sep 2008 12:53:41 +0000 (12:53 +0000)]
Update the test expectation for a flaky test.

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

15 years agoRenamed the include file debug.h to v8-debug.h to avoid possible
sgjesse [Thu, 4 Sep 2008 10:03:17 +0000 (10:03 +0000)]
Renamed the include file debug.h to v8-debug.h to avoid possible
name conflicts.

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

15 years agoMake Date.prototype.toTimeString and Date.prototype.toLocaleTimeString
ager@chromium.org [Thu, 4 Sep 2008 07:13:21 +0000 (07:13 +0000)]
Make Date.prototype.toTimeString and Date.prototype.toLocaleTimeString
only return the time portion of the date.

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

15 years agoUpdate mozilla test results.
erik.corry@gmail.com [Wed, 3 Sep 2008 20:05:12 +0000 (20:05 +0000)]
Update mozilla test results.

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

15 years agoAdd the profiler tick processors to the tools directory.
ager@chromium.org [Wed, 3 Sep 2008 19:15:48 +0000 (19:15 +0000)]
Add the profiler tick processors to the tools directory.

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

15 years agoApplied Rene Rebe's patch to fix compilation with gcc-4.3 (identical
christian.plesner.hansen@gmail.com [Wed, 3 Sep 2008 08:19:44 +0000 (08:19 +0000)]
Applied Rene Rebe's patch to fix compilation with gcc-4.3 (identical
to Seo Sanghyeon and Koda's).  Yay, our first patch!

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

15 years agoFix the 'in' operator so it works correctly for negative indices.
ager@chromium.org [Wed, 3 Sep 2008 07:34:21 +0000 (07:34 +0000)]
Fix the 'in' operator so it works correctly for negative indices.

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

15 years ago- Added some "special" tests that were left out before.
christian.plesner.hansen@gmail.com [Wed, 3 Sep 2008 07:31:19 +0000 (07:31 +0000)]
- Added some "special" tests that were left out before.
- Added option to test runner that allows us to run the tests under
  valgrind.
- Added test status for the failing arm simulator tests.

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

15 years agoMove JS_VALUE_TYPE ahead of JS_OBJECT_TYPE to save one comparison in
feng.qian.v8 [Tue, 2 Sep 2008 23:52:50 +0000 (23:52 +0000)]
Move JS_VALUE_TYPE ahead of JS_OBJECT_TYPE to save one comparison in
KeyedLoadIC::GenerateGeneric (on IA32), and the same on ARM.
Re-assignmed FIRST_JS_OBJECT_TYPE to JS_VALUE_TYPE.

Also changed JS_OBJECT_TYPE to FIRST_JS_OBJECT_TYPE in several places where
FIRST_JS_OBJECT_TYPE is intended.

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

15 years agoChange __ mov(eax, TOS) to
feng.qian.v8 [Tue, 2 Sep 2008 21:47:45 +0000 (21:47 +0000)]
Change __ mov(eax, TOS) to
__ pop(eax);
...
__ push(eax);
to enable push/pop eliminations.

__ push(eax) must happen before RecordWrite because RecordWrite may destroy
eax value. To be safe, also moved __ push(r0) on ARM to above RecordWrite.

This only affects the case where a context variable is used in a inner scope.

Create a tests for it. It fails if __ push(eax) is after RecordWrite.

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

15 years ago- Added test status spec to cctests to make arm simulator tests run.
christian.plesner.hansen@gmail.com [Tue, 2 Sep 2008 15:20:38 +0000 (15:20 +0000)]
- Added test status spec to cctests to make arm simulator tests run.
- Added test script option to override platform guess (again, to be
  able to run arm sim tests on intel).

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

15 years agoUpdate version tag in bleeding_edge branch. We're now working
v8.team.kasperl@gmail.com [Tue, 2 Sep 2008 15:02:43 +0000 (15:02 +0000)]
Update version tag in bleeding_edge branch. We're now working
towards version 0.3.0.

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

15 years agoHandle spaces in the working directory when running tests on Windows.
sgjesse@gmail.com [Tue, 2 Sep 2008 14:47:10 +0000 (14:47 +0000)]
Handle spaces in the working directory when running tests on Windows.

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

15 years agoAllow a test that relies on non-standard timer resolution on Windows
mads.s.ager@gmail.com [Tue, 2 Sep 2008 12:42:10 +0000 (12:42 +0000)]
Allow a test that relies on non-standard timer resolution on Windows
to fail on Windows.

Updated mozilla.status to use correct syntax for tests that are
allowed to fail in debug mode.

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

15 years agoAdd the SCons environment override to the building of the samples and
sgjesse@gmail.com [Tue, 2 Sep 2008 12:20:15 +0000 (12:20 +0000)]
Add the SCons environment override to the building of the samples and
the tests.

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

15 years agoIgnore missing copyright notices for EarleyBoyer and RayTrace
v8.team.kasperl@gmail.com [Tue, 2 Sep 2008 11:40:18 +0000 (11:40 +0000)]
Ignore missing copyright notices for EarleyBoyer and RayTrace
benchmarks.

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

15 years agoAdded version 1 of the V8 benchmark suite to the repository.
v8.team.kasperl@gmail.com [Tue, 2 Sep 2008 11:06:49 +0000 (11:06 +0000)]
Added version 1 of the V8 benchmark suite to the repository.

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

15 years agoAdd option 'env' to the SCons build scripts to support overriding the
sgjesse@gmail.com [Tue, 2 Sep 2008 09:05:53 +0000 (09:05 +0000)]
Add option 'env' to the SCons build scripts to support overriding the
ENV part of the build environment. This is mostly to support Windows
builds in cases where SCons cannot find the correct paths to the
Windows SDK, as these paths cannot be passed through shell envrionment
variables.

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

15 years agoMore updates to the API documentation.
mads.s.ager@gmail.com [Mon, 1 Sep 2008 20:37:06 +0000 (20:37 +0000)]
More updates to the API documentation.

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

15 years agoComment formatting change.
mads.s.ager [Mon, 1 Sep 2008 18:48:24 +0000 (18:48 +0000)]
Comment formatting change.

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

15 years agoUpdated V8 API documentation.
mads.s.ager@gmail.com [Mon, 1 Sep 2008 18:22:49 +0000 (18:22 +0000)]
Updated V8 API documentation.

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

15 years agoCorrected a few typos, other minor edits to comments
lesleyb555 [Mon, 1 Sep 2008 17:31:57 +0000 (17:31 +0000)]
Corrected a few typos, other minor edits to comments

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

15 years agoRevert unsafe change to code generator which is causing regressions.
mads.s.ager@gmail.com [Mon, 1 Sep 2008 15:10:20 +0000 (15:10 +0000)]
Revert unsafe change to code generator which is causing regressions.

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

15 years agoHack to avoid bug in scons 0.ninety-something which doesn't allow
christian.plesner.hansen@gmail.com [Mon, 1 Sep 2008 12:00:32 +0000 (12:00 +0000)]
Hack to avoid bug in scons 0.ninety-something which doesn't allow
warning options to be set.  I'm loving scons right now.

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

15 years agoRenamed the top level directory 'public' to 'include'.
sgjesse@gmail.com [Mon, 1 Sep 2008 11:48:50 +0000 (11:48 +0000)]
Renamed the top level directory 'public' to 'include'.

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

15 years agoSwitched back on the "Buffer Security Check" on Windows SCons build.
sgjesse@gmail.com [Mon, 1 Sep 2008 10:16:00 +0000 (10:16 +0000)]
Switched back on the "Buffer Security Check" on Windows SCons build.

Added the Windows linker option /OPT:ICF in the SCons build file.

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

15 years agoCreated a factory method for allocating the debug info object. The new
sgjesse@gmail.com [Mon, 1 Sep 2008 10:15:45 +0000 (10:15 +0000)]
Created a factory method for allocating the debug info object. The new
method ensures that there are no allocations during the setup.

This fixes test breakage on Linux in debug mode where allocation
happened while the debug info object was not fully set up making
verify heap unhappy.

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

15 years agoShut up env.Copy warning. This breaks the build with scons 0.97
christian.plesner.hansen@gmail.com [Mon, 1 Sep 2008 09:34:14 +0000 (09:34 +0000)]
Shut up env.Copy warning.  This breaks the build with scons 0.97
because of a bug in that version but it's easy to solve by upgrading
to 1.0.

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

15 years agoTest that I can submit to new repository and fix lots of typos in comments.
kodandersson@gmail.com [Mon, 1 Sep 2008 09:16:49 +0000 (09:16 +0000)]
Test that I can submit to new repository and fix lots of typos in comments.

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

15 years agoUpdate version number. Now working on 0.2.5.
mads.s.ager@gmail.com [Mon, 1 Sep 2008 09:02:51 +0000 (09:02 +0000)]
Update version number.  Now working on 0.2.5.

Fixed typo in v8.h.

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

15 years agoFix typo in test.py.
mads.s.ager@gmail.com [Mon, 1 Sep 2008 07:01:02 +0000 (07:01 +0000)]
Fix typo in test.py.

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

15 years agoChanged two IA-32 assembler tests to use the stack below the return address as
sgjesse@gmail.com [Mon, 1 Sep 2008 06:41:12 +0000 (06:41 +0000)]
Changed two IA-32 assembler tests to use the stack below the return address as
temporary storage for moving data from register xmm0 to st(0) instead of overwriting
the parameters. This fixes a test that crashed on Windows in release build due to
stack corruption.

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

15 years agoIntroduce ZoneScope class to keep track of zone deletion. Remove
mads.s.ager@gmail.com [Mon, 1 Sep 2008 06:06:52 +0000 (06:06 +0000)]
Introduce ZoneScope class to keep track of zone deletion.  Remove
unsafe calls to Zone::DeleteAll() from parser and use ZoneScopes
instead.

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

15 years agoupdated front page
lesleyb555 [Sat, 30 Aug 2008 10:36:54 +0000 (10:36 +0000)]
updated front page

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

15 years agoChecking I can edit
lesleyb555 [Fri, 29 Aug 2008 17:09:30 +0000 (17:09 +0000)]
Checking I can edit

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

15 years agoAdded presubmit step that runs cpplint and checks for missing
christian.plesner.hansen@gmail.com [Fri, 29 Aug 2008 12:52:21 +0000 (12:52 +0000)]
Added presubmit step that runs cpplint and checks for missing
copyrights.  Fixed some lint issues in the samples.  Added better
error handling for crashing tests on windows.

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

15 years agoRemoved the implicit call to DebugBreak when receiving debugger commands
sgjesse@gmail.com [Fri, 29 Aug 2008 12:04:25 +0000 (12:04 +0000)]
Removed the implicit call to DebugBreak when receiving debugger commands
while V8 is running.

A debugger using the V8 message based interface now needs to control the
call to DebugBreak in order for the messages send to be processed. Commands can
still be send when V8 is not in a break, but they will not be processed until
there is a break. The response "request queued" when queuing up messages have
been removed. This gets rid of a non JSON message being used.

Modified the threaded debugger tests to call DebugBreak instead of relying
on it occouring automatically.

This change will not be committed until the outstanding Chrome change
http://chrome-reviews.prom.corp.google.com/2072 (which updates Chrome to control
the DebugBreak call) have been reviewed and committed.

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