v8/src
erik.corry@gmail.com 889cbe55b8 Fix a bug in the regexp caching. Also add a few more places to
cache.  We now cache most of the places where Opera cache and
one or two where they do not cache for some reason.  Since
these optimizations aren't necessarily useful on real code we
may remove them if and when the Dromaeo website makes the
benchmarks harder to game.
Review URL: http://codereview.chromium.org/995005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4157 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-03-17 10:23:06 +00:00
..
arm Port of string plus smi optimization from ia32 to x64 and ARM. 2010-03-15 17:11:08 +00:00
ia32 Fix bug in propagation of type information into registers. 2010-03-17 09:49:03 +00:00
mips Fix issues with compiling V8 with LLVM Clang 2010-03-12 10:20:01 +00:00
third_party Apply patch by Timur Iskhodzhanov to add valgrind notifications on 2009-10-26 17:53:34 +00:00
x64 Fix bug in propagation of type information into registers. 2010-03-17 09:49:03 +00:00
accessors.cc Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
accessors.h Remove the last context dependent reference from the Script object 2009-12-01 14:36:45 +00:00
allocation.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
allocation.h Change the signature for StrNDup to match the implementation. This 2009-11-20 13:08:44 +00:00
api.cc Keep more track of whether code is from the built 2010-03-17 08:14:59 +00:00
api.h Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
apinatives.js
apiutils.h
arguments.h Fix some style issues in the ARM code. 2009-11-12 13:55:21 +00:00
array.js Add Array.concat builtin for the most common case. 2010-03-15 10:52:38 +00:00
assembler.cc Allow snapshots built without -DANDROID to work on Android. 2010-03-02 11:54:11 +00:00
assembler.h Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
ast.cc Propagate reaching definitions to the instuctions of a block. 2010-03-16 10:54:02 +00:00
ast.h Use untagged int32 values in evaluation of side-effect free expressions. 2010-03-16 16:07:19 +00:00
bootstrapper.cc Keep more track of whether code is from the built 2010-03-17 08:14:59 +00:00
bootstrapper.h Always load the JavaScript builtins code entry from the JavaScript 2010-02-11 08:05:33 +00:00
builtins.cc Restore http://code.google.com/p/v8/source/detail?r=4151 fixing a typo: 2010-03-17 09:40:54 +00:00
builtins.h Add Array.concat builtin for the most common case. 2010-03-15 10:52:38 +00:00
bytecodes-irregexp.h
cached_powers.h Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
char-predicates-inl.h
char-predicates.h
checks.cc * Remove old snapshot implementation 2009-11-16 12:08:40 +00:00
checks.h Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
code-stubs.cc Implementing inline caches for binary operations (ia32). 2010-03-01 16:24:05 +00:00
code-stubs.h Implementing inline caches for binary operations (ia32). 2010-03-01 16:24:05 +00:00
code.h
codegen-inl.h Inlining a few virtual frame functions. 2010-02-26 09:32:48 +00:00
codegen.cc Add fuzzing support for inline runtime functions 2010-03-11 09:27:12 +00:00
codegen.h Add fuzzing support for inline runtime functions 2010-03-11 09:27:12 +00:00
compilation-cache.cc Minor refactorings to use some recently added methods. 2010-03-11 13:56:49 +00:00
compilation-cache.h
compiler.cc Keep more track of whether code is from the built 2010-03-17 08:14:59 +00:00
compiler.h Keep more track of whether code is from the built 2010-03-17 08:14:59 +00:00
contexts.cc The number of heap slots stored in a scope includes the 2009-12-21 10:24:11 +00:00
contexts.h Reland 4068 which wrapped Array methods into native builtins (reverted in 4075). 2010-03-11 13:13:21 +00:00
conversions-inl.h Take ARM big-endian floating point numbers into account in FastD2UI. 2010-03-16 12:20:52 +00:00
conversions.cc Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
conversions.h Added implementation if Uint32::Value. 2010-03-03 13:44:20 +00:00
counters.cc
counters.h
cpu.h
d8-debug.cc
d8-debug.h
d8-posix.cc A follow-up to r3009: add parentheses around one more anonymous function. 2009-10-13 15:17:24 +00:00
d8-readline.cc Making lint happy. 2010-02-10 11:48:53 +00:00
d8-windows.cc
d8.cc Check return code from fwrite 2009-12-03 08:48:32 +00:00
d8.h
d8.js
data-flow.cc Fix bug in the count operation where we statically know the input is a smi. 2010-03-16 16:03:40 +00:00
data-flow.h Propagate reaching definitions to the instuctions of a block. 2010-03-16 10:54:02 +00:00
date-delay.js Non-ASCII sybmols made their way into JS comments 2010-03-16 23:15:10 +00:00
dateparser-inl.h Untangle some #include dependencies. 2009-10-15 15:01:36 +00:00
dateparser.cc RFC: Try to be much more careful with where we skip the write barrier by: 2010-01-29 11:46:55 +00:00
dateparser.h
debug-agent.cc Add diagnostic print to debug agent if it fails to open port 2010-01-15 18:11:12 +00:00
debug-agent.h Fixed some cctest flakiness on mac. 2009-09-25 10:36:00 +00:00
debug-delay.js Check that function being patched has no activations on any thread stack 2010-03-09 21:45:24 +00:00
debug.cc Keep more track of whether code is from the built 2010-03-17 08:14:59 +00:00
debug.h Basic implementation of liveedit feature 2010-03-05 22:08:58 +00:00
disasm.h
disassembler.cc Fix test failures in debug mode w/snapshots. It turns out that not 2010-02-05 13:07:00 +00:00
disassembler.h
diy_fp.h Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
double.h Fix issues with compiling V8 with LLVM Clang 2010-03-12 10:20:01 +00:00
dtoa-config.c Land patch to add Solaris platform support. 2010-01-25 12:37:31 +00:00
execution.cc Introduce builtin for Array.slice function. 2010-02-16 12:14:23 +00:00
execution.h Implement issue 554 Add "ProcessDebuggerRequests" call to Debug Agent API 2010-01-15 21:14:56 +00:00
factory.cc LiveEdit: patch positions in function 2010-03-15 21:06:51 +00:00
factory.h LiveEdit: patch positions in function 2010-03-15 21:06:51 +00:00
fast-codegen.cc Begin using a list of bailouts instead of a singleton in the fast code generator. 2010-02-19 14:52:39 +00:00
fast-codegen.h Allow snapshots built without -DANDROID to work on Android. 2010-03-02 11:54:11 +00:00
flag-definitions.h Use untagged int32 values in evaluation of side-effect free expressions. 2010-03-16 16:07:19 +00:00
flags.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
flags.h
frame-element.cc Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
frame-element.h Use untagged int32 values in evaluation of side-effect free expressions. 2010-03-16 16:07:19 +00:00
frames-inl.h MIPS port initial commit 2010-02-04 20:36:58 +00:00
frames.cc Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
frames.h Show user script source line that caused exception intead of a line in a native script. When an error is reported as one happened in a native script it's hard to track the original cause. See chromium issue: http://crbug.com/25305 2010-02-01 10:34:57 +00:00
full-codegen.cc Inlining a few virtual frame functions. 2010-02-26 09:32:48 +00:00
full-codegen.h Fix presubmit errors. 2010-02-04 15:21:05 +00:00
func-name-inferrer.cc
func-name-inferrer.h
global-handles.cc External string table. 2009-12-09 14:32:45 +00:00
global-handles.h Added recording of heap and global handle stats in a stack-allocated 2009-12-03 10:16:37 +00:00
globals.h Keep more track of whether code is from the built 2010-03-17 08:14:59 +00:00
grisu3.cc Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
grisu3.h Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
handles-inl.h
handles.cc Keep more track of whether code is from the built 2010-03-17 08:14:59 +00:00
handles.h Small API improvements: 2010-03-02 18:47:03 +00:00
hashmap.cc
hashmap.h
heap-inl.h Add heuristic for flattening strings before comparing them. 2010-03-16 12:30:04 +00:00
heap-profiler.cc Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
heap-profiler.h Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
heap.cc Add heuristic for flattening strings before comparing them. 2010-03-16 12:30:04 +00:00
heap.h Add heuristic for flattening strings before comparing them. 2010-03-16 12:30:04 +00:00
ic-inl.h Rename a constant to kCallTargetAddressOffset 2009-09-11 12:41:27 +00:00
ic.cc Reland 4068 which wrapped Array methods into native builtins (reverted in 4075). 2010-03-11 13:13:21 +00:00
ic.h Refactor the code cache to handle large number of properties on the global object (take 2). 2010-03-09 10:49:41 +00:00
interpreter-irregexp.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
interpreter-irregexp.h
json-delay.js Updated JSON.stringify to newest version of ES5. 2010-02-03 13:17:39 +00:00
jsregexp.cc Fix bug in character-set merging. Add test case. 2010-01-25 12:56:49 +00:00
jsregexp.h Added zone-inl.h to jsregexp.h since it relies on calling new ZoneList which again relies on calling the static new method on Zone (defined in zone-inl.h but declared in zone.h). 2010-03-09 09:15:28 +00:00
jump-target-inl.h Make more use of the NumberInfo data. 2010-03-05 23:54:13 +00:00
jump-target.cc Make more use of the NumberInfo data. 2010-03-05 23:54:13 +00:00
jump-target.h Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
list-inl.h
list.h Implement inline string compare on ARM. 2010-01-21 12:10:56 +00:00
liveedit-delay.js LiveEdit: patch positions in function 2010-03-15 21:06:51 +00:00
liveedit.cc LiveEdit: patch positions in function 2010-03-15 21:06:51 +00:00
liveedit.h Check that function being patched has no activations on any thread stack 2010-03-09 21:45:24 +00:00
log-inl.h Store API callback entry address prior to entering a callback. 2009-11-23 14:43:00 +00:00
log-utils.cc Make the assumption on the minimum buffer size for GetLogLines explicit. 2010-03-11 09:48:01 +00:00
log-utils.h Make the assumption on the minimum buffer size for GetLogLines explicit. 2010-03-11 09:48:01 +00:00
log.cc First take on custom call generators. 2010-03-11 16:24:31 +00:00
log.h Logging-related changes. 2010-03-01 10:41:34 +00:00
macro-assembler.h ia32: Fuse map and type checks in call ICs for API functions. 2010-02-09 16:14:14 +00:00
macros.py Rewrite the function that converts timestamp to year, month and day in C++. 2010-03-12 13:01:32 +00:00
mark-compact.cc Merge ObjectIterator::has_next and ObjectIterator::next methods. 2010-01-25 22:53:18 +00:00
mark-compact.h Fix issue 553: function frame is skipped in profile when compare stub is called. 2010-01-21 16:42:41 +00:00
math.js Fix presubmit error 2010-03-11 09:49:47 +00:00
memory.h Add near calls (32-bit displacement) to Code objects on X64 platform. 2009-10-06 13:11:05 +00:00
messages.cc Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
messages.h
messages.js Add fuzzing support for inline runtime functions 2010-03-11 09:27:12 +00:00
mirror-delay.js Add maxStrinLength argument to debugger requests 2010-02-19 14:33:08 +00:00
mksnapshot.cc Another step on the way to context snapshots. We can now refer to 2010-01-27 08:25:48 +00:00
natives.h
number-info.h Make more use of the NumberInfo data. 2010-03-05 23:54:13 +00:00
objects-debug.cc First take on custom call generators. 2010-03-11 16:24:31 +00:00
objects-inl.h First take on custom call generators. 2010-03-11 16:24:31 +00:00
objects.cc First take on custom call generators. 2010-03-11 16:24:31 +00:00
objects.h Fix issues with compiling V8 with LLVM Clang 2010-03-12 10:20:01 +00:00
oprofile-agent.cc
oprofile-agent.h
parser.cc First take on custom call generators. 2010-03-11 16:24:31 +00:00
parser.h Do not waste space for the fast-case elements backing storage for 2010-03-11 10:34:29 +00:00
platform-freebsd.cc Assign to "sample.state" before reading it. 2010-03-04 12:32:03 +00:00
platform-linux.cc [Linux] Patch LogSharedLibraryAddresses to work correctly on Android. 2010-03-04 12:32:47 +00:00
platform-macos.cc Assign to "sample.state" before reading it. 2010-03-04 12:32:03 +00:00
platform-nullos.cc Allow a platform to indicate that some CPU features are always 2009-11-13 12:32:57 +00:00
platform-openbsd.cc Land patch to add Solaris platform support. 2010-01-25 12:37:31 +00:00
platform-posix.cc Land patch to add Solaris platform support. 2010-01-25 12:37:31 +00:00
platform-solaris.cc Actually land the platform-solaris.cc file for solaris support. 2010-01-25 16:48:53 +00:00
platform-win32.cc Assign to "sample.state" before reading it. 2010-03-04 12:32:03 +00:00
platform.h Land patch to add Solaris platform support. 2010-01-25 12:37:31 +00:00
powers_ten.h Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
prettyprinter.cc Initial implementation of an edge-labeled instruction flow graph. 2010-03-08 12:53:11 +00:00
prettyprinter.h Add a pass for the fast compiler to label expression nodes. 2010-01-29 09:42:13 +00:00
profile-generator-inl.h Start migrating profiles processing to C++. 2010-03-15 14:11:19 +00:00
profile-generator.cc Start migrating profiles processing to C++. 2010-03-15 14:11:19 +00:00
profile-generator.h Start migrating profiles processing to C++. 2010-03-15 14:11:19 +00:00
property.cc Remove the LookupResult IsValid method because it is confusing. 2010-02-18 15:10:35 +00:00
property.h Remove the LookupResult IsValid method because it is confusing. 2010-02-18 15:10:35 +00:00
regexp-delay.js Fix a bug in the regexp caching. Also add a few more places to 2010-03-17 10:23:06 +00:00
regexp-macro-assembler-irregexp-inl.h
regexp-macro-assembler-irregexp.cc
regexp-macro-assembler-irregexp.h
regexp-macro-assembler-tracer.cc Attempt to make \b\w+ faster. Slight performance increase on, e.g., string unpacking. 2010-01-07 19:01:23 +00:00
regexp-macro-assembler-tracer.h Attempt to make \b\w+ faster. Slight performance increase on, e.g., string unpacking. 2010-01-07 19:01:23 +00:00
regexp-macro-assembler.cc Don't pass the "at start" parameter to native RegExp 2010-01-26 11:08:42 +00:00
regexp-macro-assembler.h Don't pass the "at start" parameter to native RegExp 2010-01-26 11:08:42 +00:00
regexp-stack.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
regexp-stack.h Direct call to native RegExp code from JavaScript. 2010-01-06 11:09:30 +00:00
register-allocator-inl.h Make more use of the NumberInfo data. 2010-03-05 23:54:13 +00:00
register-allocator.cc Make more use of the NumberInfo data. 2010-03-05 23:54:13 +00:00
register-allocator.h Use untagged int32 values in evaluation of side-effect free expressions. 2010-03-16 16:07:19 +00:00
rewriter.cc Use untagged int32 values in evaluation of side-effect free expressions. 2010-03-16 16:07:19 +00:00
rewriter.h
runtime.cc Revert r4146. Add a special case in Math.round for a SMI result. Also change the imp... 2010-03-17 09:58:28 +00:00
runtime.h LiveEdit: patch positions in function 2010-03-15 21:06:51 +00:00
runtime.js Implemented one-char cache lookup in generated code. 2010-02-26 20:14:20 +00:00
scanner.cc Refactor the scanner interface 2010-03-03 13:16:10 +00:00
scanner.h Refactor the scanner interface 2010-03-03 13:16:10 +00:00
SConscript Start migrating profiles processing to C++. 2010-03-15 14:11:19 +00:00
scopeinfo.cc Remove unneeded variable usage analysis. 2010-03-08 13:01:24 +00:00
scopeinfo.h Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
scopes.cc Remove unneeded variable usage analysis. 2010-03-08 13:01:24 +00:00
scopes.h Fix assigned variables analysis. 2010-03-11 10:28:40 +00:00
serialize.cc Allow snapshots built without -DANDROID to work on Android. 2010-03-02 11:54:11 +00:00
serialize.h Another step on the way to context snapshots. We can now refer to 2010-01-27 08:25:48 +00:00
shell.h
simulator.h MIPS port initial commit 2010-02-04 20:36:58 +00:00
smart-pointer.h
snapshot-common.cc Another step on the way to context snapshots. We can now refer to 2010-01-27 08:25:48 +00:00
snapshot-empty.cc
snapshot.h * Remove old snapshot implementation 2009-11-16 12:08:40 +00:00
spaces-inl.h Add integer casts to make v8 compile without warnings on 64-bit Visual Studio 2010-02-22 11:42:46 +00:00
spaces.cc Add a bit more room for type string when reporting heap 2010-03-09 14:43:01 +00:00
spaces.h Strengthen a few assertions and add zapping of allocated 2010-01-28 08:46:56 +00:00
splay-tree-inl.h Start migrating profiles processing to C++. 2010-03-15 14:11:19 +00:00
splay-tree.h Start migrating profiles processing to C++. 2010-03-15 14:11:19 +00:00
string-stream.cc Remove the different length string types 2009-11-24 14:10:06 +00:00
string-stream.h Add initial version of retainers heap profile. 2009-09-16 13:41:24 +00:00
string.js Fix a bug in the regexp caching. Also add a few more places to 2010-03-17 10:23:06 +00:00
stub-cache.cc Reland 4068 which wrapped Array methods into native builtins (reverted in 4075). 2010-03-11 13:13:21 +00:00
stub-cache.h Implement a custom call compiler for Array.pop. 2010-03-12 13:45:31 +00:00
token.cc Give the binary op stubs better names to make profiles more informative. 2009-12-11 10:40:01 +00:00
token.h Adding compound assignments to the top-level compiler. 2009-12-11 16:09:16 +00:00
top.cc Fix issues with compiling V8 with LLVM Clang 2010-03-12 10:20:01 +00:00
top.h Reland 4068 which wrapped Array methods into native builtins (reverted in 4075). 2010-03-11 13:13:21 +00:00
unicode-inl.h
unicode.cc
unicode.h
uri.js * Remove non-Open Source code from Douglas Crockford. 2009-09-23 12:32:24 +00:00
utils.cc Kill some unused code. 2010-02-18 12:47:17 +00:00
utils.h Fix issues with compiling V8 with LLVM Clang 2010-03-12 10:20:01 +00:00
v8-counters.cc
v8-counters.h Restore http://code.google.com/p/v8/source/detail?r=4151 fixing a typo: 2010-03-17 09:40:54 +00:00
v8.cc Fix issue 597: builtins and stubs are missing in profiler log when using snapshots. 2010-02-04 21:34:03 +00:00
v8.h Small simplification of #include dependencies. 2010-03-09 06:38:33 +00:00
v8natives.js Remove duplicate function from runtime. 2010-02-17 11:26:00 +00:00
v8threads.cc Ensure V8 is initialized before locking and unlocking threads. 2009-10-02 11:39:56 +00:00
v8threads.h * Fix memory leaks caused by thread local data being lost. 2009-09-28 12:25:21 +00:00
variables.cc Add IsStackAllocated helper for variables. 2010-03-09 10:39:18 +00:00
variables.h Add IsStackAllocated helper for variables. 2010-03-09 10:39:18 +00:00
version.cc Prepare push of version 2.1.4 to trunk. 2010-03-15 10:04:34 +00:00
version.h
virtual-frame-inl.h Fix assigned variables analysis. 2010-03-11 10:28:40 +00:00
virtual-frame.cc Use untagged int32 values in evaluation of side-effect free expressions. 2010-03-16 16:07:19 +00:00
virtual-frame.h MIPS port initial commit 2010-02-04 20:36:58 +00:00
zone-inl.h Parametrize C++ splay tree with allocator. 2010-03-02 10:03:38 +00:00
zone.cc Parametrize C++ splay tree with allocator. 2010-03-02 10:03:38 +00:00
zone.h Parametrize C++ splay tree with allocator. 2010-03-02 10:03:38 +00:00