platform/upstream/v8.git
16 years agoAccidentally removed svn:eol-style native from all files. Adding it back.
mads.s.ager [Mon, 11 Aug 2008 06:58:13 +0000 (06:58 +0000)]
Accidentally removed svn:eol-style native from all files.  Adding it back.

git-svn-id: http://v8.googlecode.com/svn/trunk@10 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

16 years agoImproved performance of unary addition by avoiding runtime calls.
mads.s.ager@gmail.com [Wed, 6 Aug 2008 10:02:49 +0000 (10:02 +0000)]
Improved performance of unary addition by avoiding runtime calls.

Fixed the handling of '>' and '<=' to use right-to-left conversion and left-to-right evaluation as specified by ECMA-262.

Fixed a branch elimination bug on the ARM platform where incorrect code was generated because of overly aggressive branch elimination.

Improved performance of code that repeatedly assigns the same function to the same property of different objects with the same map.

Untangled DEBUG and ENABLE_DISASSEMBLER defines.  The disassembler no longer expects DEBUG to be defined.

Added platform-nullos.cc to serve as the basis for new platform implementations.

git-svn-id: http://v8.googlecode.com/svn/trunk@9 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

16 years agoChanged all text files to have native svn:eol-style.
kasper.lund [Wed, 30 Jul 2008 08:49:36 +0000 (08:49 +0000)]
Changed all text files to have native svn:eol-style.

Added a few samples and support for building them. The samples include a simple shell that can be used to benchmark and test V8.

Changed V8::GetVersion to return the version as a string.

Added source for lazily loaded scripts to snapshots and made serialization non-destructive.

Improved ARM support by fixing the write barrier code to use aligned loads and stores and by removing premature locals optimization that relied on broken support for callee-saved registers (removed).

Refactored the code for marking live objects during garbage collection and the code for allocating objects in paged spaces. Introduced an abstraction for the map word of a heap-allocated object and changed the memory allocator to allocate executable memory only for spaces that may contain code objects.

Moved StringBuilder to utils.h and ScopedLock to platform.h, where they can be used by debugging and logging modules. Added thread-safe message queues for dealing with debugger events.

Fixed the source code reported by toString for certain builtin empty functions and made sure that the prototype property of a function is enumerable.

Improved performance of converting values to condition flags in generated code.

Merged disassembler-{arch} files.

git-svn-id: http://v8.googlecode.com/svn/trunk@8 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

16 years agoAdded support for storing JavaScript stack traces in a stack allocated buffer to...
kasper.lund [Mon, 28 Jul 2008 12:50:18 +0000 (12:50 +0000)]
Added support for storing JavaScript stack traces in a stack allocated buffer to make it visible in shallow core dumps. Controlled by the --preallocate-message-memory flag which is disabled by default.

git-svn-id: http://v8.googlecode.com/svn/trunk@7 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

16 years agoFixed bug in JSObject::GetPropertyAttributePostInterceptor where map transitions...
kasper.lund [Fri, 25 Jul 2008 07:37:58 +0000 (07:37 +0000)]
Fixed bug in JSObject::GetPropertyAttributePostInterceptor where map transitions would count as properties.

Allowed aliased eval invocations by treating them as evals in the global context. This may change in the future.

Added support for accessing the last entered context through the API and renamed Context::Current to Context::GetCurrent and Context::GetSecurityContext to Context::GetCurrentSecurityContext.

Fixed bug in the debugger that would cause the debugger scripts to be recursively loaded and changed all disabling of interrupts to be block-structured.

Made snapshot data read-only to allow it to be more easily shared across multiple users of V8 when linked as a shared library.

git-svn-id: http://v8.googlecode.com/svn/trunk@6 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

16 years agoFixed building on Mac OS X by recognizing i386 and friends as IA-32 platforms.
kasper.lund [Wed, 16 Jul 2008 07:07:30 +0000 (07:07 +0000)]
Fixed building on Mac OS X by recognizing i386 and friends as IA-32 platforms.

Added propagation of stack overflow exceptions that occur while compiling nested functions.

Improved debugger with support for recursive break points and handling of exceptions that occur in the debugger JavaScript code.

Renamed GetInternal to GetInternalField and SetInternal to SetInternalField in the API and moved InternalFieldCount and SetInternalFieldCount from FunctionTemplate to ObjectTemplate.

git-svn-id: http://v8.googlecode.com/svn/trunk@5 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

16 years agoFixed bug in stack overflow check code for IA-32 targets where a
kasper.lund [Wed, 9 Jul 2008 11:06:54 +0000 (11:06 +0000)]
Fixed bug in stack overflow check code for IA-32 targets where a
non-tagged value in register eax was pushed to the stack.

Fixed potential quadratic behavior when converting strings to numbers.

Fixed bug where the return value from Object::SetProperty could end up
being the property holder instead of the written value.

Improved debugger support by allowing nested break points and by
dealing with stack-overflows when compiling functions before setting
break points in them.

git-svn-id: http://v8.googlecode.com/svn/trunk@4 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

16 years agoAdded dtoa license file which had been left out of the initial commit.
christian.plesner.hansen [Thu, 3 Jul 2008 15:30:14 +0000 (15:30 +0000)]
Added dtoa license file which had been left out of the initial commit.

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

16 years agoInitial export.
christian.plesner.hansen [Thu, 3 Jul 2008 15:10:15 +0000 (15:10 +0000)]
Initial export.

git-svn-id: http://v8.googlecode.com/svn/trunk@2 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

16 years agoInitial directory structure.
(no author) [Mon, 30 Jun 2008 17:16:55 +0000 (17:16 +0000)]
Initial directory structure.

git-svn-id: http://v8.googlecode.com/svn/trunk@1 ce2b1a6d-e550-0410-aec6-3dcde31c8c00