v8/src
kasperl@chromium.org 70110bc17b Avoid linear search for non-locals in the scope code
when resolving variables inside with and eval scopes.
Review URL: http://codereview.chromium.org/114024

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1937 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-05-13 16:27:40 +00:00
..
arm Fix asterisk spacing. 2009-05-13 12:34:35 +00:00
ia32 Fix asterisk spacing. 2009-05-13 12:34:35 +00:00
third_party/dtoa Remove JSCRE 2009-02-25 08:08:01 +00:00
x64 x64: Stub out more unimplemented functions, we now link shell. 2009-05-13 13:50:18 +00:00
accessors.cc Added context information to scripts. 2009-05-06 08:52:48 +00:00
accessors.h Added context information to scripts. 2009-05-06 08:52:48 +00:00
allocation.cc Introducing a new StrNDup function that uses new[] for when we dispose the result using delete[]. 2009-03-18 12:27:37 +00:00
allocation.h Introducing a new StrNDup function that uses new[] for when we dispose the result using delete[]. 2009-03-18 12:27:37 +00:00
api.cc - Fix build break due to warning about control reaching end of non-void 2009-05-12 17:17:23 +00:00
api.h Add a new C++ pointer wrapping API to External to not dilute the 2009-03-23 19:51:10 +00:00
apinatives.js Introducing a kUninitialized constant used for clearing the function cache. 2009-01-13 07:37:53 +00:00
apiutils.h Split handle scopes into an internal version and a version accessible 2009-01-23 17:22:23 +00:00
arguments.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array.js Fix Chromium bug 1717 by emulating JSCs somewhat strange hidden 2009-05-06 12:54:57 +00:00
assembler.cc Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
assembler.h Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
ast.cc - When cloning maps to set the 'lazy loading' bit remember to clone 2009-04-24 12:45:29 +00:00
ast.h - When cloning maps to set the 'lazy loading' bit remember to clone 2009-04-24 12:45:29 +00:00
bootstrapper.cc The ARM assembler tests don't install the standard JS natives. When 2009-05-07 00:10:01 +00:00
bootstrapper.h Fix white space issues. 2009-01-26 18:23:01 +00:00
builtins.cc Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
builtins.h Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
bytecodes-irregexp.h A little peephole optimization for the Irregexp bytecode interpreter. 2009-02-19 10:03:27 +00:00
char-predicates-inl.h Flatten strings before parsing them as Date strings, and work on Vector of chars instead. 2009-03-17 13:27:21 +00:00
char-predicates.h - Added some expansion of assertions. 2008-12-01 15:42:35 +00:00
checks.cc all-in-one 2009-03-02 09:09:07 +00:00
checks.h Changed some int casts to intptr_t. 2009-05-04 13:11:38 +00:00
code-stubs.cc Add a meaningful name when disassembling code. This makes it easier 2009-03-04 06:14:34 +00:00
code-stubs.h X64 adaption: Changed a constant from kBitsPerPointer to kBitsPerInt. 2009-05-06 06:53:49 +00:00
code.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
codegen-inl.h Remove a bunch of unnecessary includes from header files in favor of 2009-03-20 09:35:31 +00:00
codegen.cc Restore stack backtrace tests removed in revision 1785. 2009-05-07 09:24:43 +00:00
codegen.h Restore stack backtrace tests removed in revision 1785. 2009-05-07 09:24:43 +00:00
compilation-cache.cc Put back compilation cache 2009-04-06 18:08:06 +00:00
compilation-cache.h Put back compilation cache 2009-04-06 18:08:06 +00:00
compiler.cc Fix asterisk spacing. 2009-05-13 12:34:35 +00:00
compiler.h - When cloning maps to set the 'lazy loading' bit remember to clone 2009-04-24 12:45:29 +00:00
contexts.cc Speed up access to global variables from eval scopes. Traverse the 2009-02-24 13:11:53 +00:00
contexts.h Add the ability to set embedder data on created contexts from the API. 2009-05-05 09:38:45 +00:00
conversions-inl.h Misc. portability fixes. 2009-03-18 15:20:26 +00:00
conversions.cc Remove all uses of StringShape variables, since that has proven 2009-03-17 09:33:06 +00:00
conversions.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
counters.cc - Added ability to call histograms from within v8 2009-03-13 16:06:31 +00:00
counters.h - Added ability to call histograms from within v8 2009-03-13 16:06:31 +00:00
cpu.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
d8-debug.cc Extend debugger agent protocol with a connect message.Added a name of the embedding application when enabeling the debugger agent.Send a connection message from the debugger agent to the remote debugger when connecting. This message contains the V8 version, the protcol version (currently 1) and the name of the embedding application. Currently this information is just printed raw as received. 2009-03-23 22:23:39 +00:00
d8-debug.h Add remote debugging front end to developer shell. 2009-03-04 09:42:51 +00:00
d8-posix.cc Timeout of os.system() in d8 was timing out too soon. 2009-04-15 07:15:41 +00:00
d8-readline.cc Introducing a new StrNDup function that uses new[] for when we dispose the result using delete[]. 2009-03-18 12:27:37 +00:00
d8-windows.cc * Add rmdir, mkdir -p and umask to d8 on Unix. 2009-03-31 12:45:33 +00:00
d8.cc Fix asterisk spacing. 2009-05-13 12:34:35 +00:00
d8.h Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
d8.js Added support to backtrace from botton of stack to debugger protocol. 2009-05-13 08:54:50 +00:00
date-delay.js Fix Chromium bug 1717 by emulating JSCs somewhat strange hidden 2009-05-06 12:54:57 +00:00
dateparser-inl.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
dateparser.cc Flatten strings before parsing them as Date strings, and work on Vector of chars instead. 2009-03-17 13:27:21 +00:00
dateparser.h Reuse output array instead of creating a new one for each call in Date.parse 2009-03-19 09:40:38 +00:00
debug-agent.cc Create a transition API for the debug message handler. 2009-04-29 12:54:07 +00:00
debug-agent.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
debug-delay.js Added support to backtrace from botton of stack to debugger protocol. 2009-05-13 08:54:50 +00:00
debug.cc Add the ability to set embedder data on created contexts from the API. 2009-05-05 09:38:45 +00:00
debug.h Add the ability to set embedder data on created contexts from the API. 2009-05-05 09:38:45 +00:00
disasm.h Merge from experimental code generator branch to bleeding edge. 2009-02-27 13:00:32 +00:00
disassembler.cc X64: General fixes - added inline definitions and changed some places to intptr_t. 2009-05-12 10:33:40 +00:00
disassembler.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
dtoa-config.c Support for building V8 with MinGW 2009-02-09 15:06:07 +00:00
execution.cc Introduce two separate classes of processor detection: 2009-05-05 12:06:20 +00:00
execution.h Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
factory.cc Allocate proxy before the script to allow heap verification 2009-05-07 12:25:46 +00:00
factory.h - When cloning maps to set the 'lazy loading' bit remember to clone 2009-04-24 12:45:29 +00:00
flag-definitions.h Fixed a bunch of memory leaks in tests, including: 2009-03-27 00:24:49 +00:00
flags.cc Fix asterisk spacing. 2009-05-13 12:34:35 +00:00
flags.h Arguments on the command line are made available as a global "arguments" array. 2008-11-11 14:16:24 +00:00
frames-inl.h Introduce two separate classes of processor detection: 2009-05-05 12:06:20 +00:00
frames.cc Abolish kDebug and use ifdef DEBUG throughout for consistency. 2009-04-22 09:25:41 +00:00
frames.h Implemented "no heap access" mode for JSFrame which is used for stack sampling in profiler. 2009-04-13 23:12:04 +00:00
func-name-inferrer.cc Allow multiple function literals to be assigned to the same var / property. 2009-04-16 16:34:24 +00:00
func-name-inferrer.h Allow multiple function literals to be assigned to the same var / property. 2009-04-16 16:34:24 +00:00
global-handles.cc Some cleanup of the mark-sweep/compact collector following the symbol 2009-05-05 09:26:06 +00:00
global-handles.h Some cleanup of the mark-sweep/compact collector following the symbol 2009-05-05 09:26:06 +00:00
globals.h X64: General fixes - added inline definitions and changed some places to intptr_t. 2009-05-12 10:33:40 +00:00
handles-inl.h Split handle scopes into an internal version and a version accessible 2009-01-23 17:22:23 +00:00
handles.cc Tiny change to make code match the comment. 2009-05-13 05:38:38 +00:00
handles.h Fix for issue 339: 2009-05-12 22:07:10 +00:00
hashmap.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
hashmap.h Fix a bunch of spelling mistakes :\ 2009-01-15 19:08:34 +00:00
heap-inl.h Make sure to report out-of-memory situations when the 2009-05-05 14:38:33 +00:00
heap.cc Revert r1900, r1897 and r1895 which are all gc changes. The changes 2009-05-12 13:02:15 +00:00
heap.h Add basic infrastructure for protecting V8's heap when leaving the VM 2009-03-24 12:47:53 +00:00
ic-inl.h Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
ic.cc Inline the inobject property case for named property loads. 2009-04-28 10:40:36 +00:00
ic.h Inline the inobject property case for named property loads. 2009-04-28 10:40:36 +00:00
interpreter-irregexp.cc Change some pointer alignment checks in irregexp to use intptr_t. 2009-05-05 14:23:41 +00:00
interpreter-irregexp.h * Have an ASCII and a UC16 interpreter for Irregexp bytecodes - 2008-12-09 08:30:49 +00:00
json-delay.js - When cloning maps to set the 'lazy loading' bit remember to clone 2009-04-24 12:45:29 +00:00
jsregexp-inl.h Irregexp: 2008-12-08 09:22:12 +00:00
jsregexp.cc Introduce two separate classes of processor detection: 2009-05-05 12:06:20 +00:00
jsregexp.h Introduce two separate classes of processor detection: 2009-05-05 12:06:20 +00:00
jump-target.cc Refactor JumpTarget::Combine. 2009-05-13 10:29:49 +00:00
jump-target.h Refactor JumpTarget::Combine. 2009-05-13 10:29:49 +00:00
list-inl.h Stop inlining of list reallocation in virtual frames. 2009-05-01 14:37:28 +00:00
list.h Stop inlining of list reallocation in virtual frames. 2009-05-01 14:37:28 +00:00
log.cc Fix asterisk spacing. 2009-05-13 12:34:35 +00:00
log.h X64: Changed 0x%x formats in log.cc to 0x%p and omitted reinterpretting pointers. 2009-05-07 09:27:42 +00:00
macro-assembler.h Introduce two separate classes of processor detection: 2009-05-05 12:06:20 +00:00
macros.py - Extended lazy loading to general objects, not just functions. 2009-04-24 08:13:09 +00:00
mark-compact.cc Fix asterisk spacing. 2009-05-13 12:34:35 +00:00
mark-compact.h Some cleanup of the mark-sweep/compact collector following the symbol 2009-05-05 09:26:06 +00:00
math.js Fix Chromium bug 1717 by emulating JSCs somewhat strange hidden 2009-05-06 12:54:57 +00:00
memory.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
messages.cc Split handle scopes into an internal version and a version accessible 2009-01-23 17:22:23 +00:00
messages.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
messages.js - Extended lazy loading to general objects, not just functions. 2009-04-24 08:13:09 +00:00
mirror-delay.js Added context information to scripts. 2009-05-06 08:52:48 +00:00
mksnapshot.cc Remove definition of _HAS_EXCEPTIONS from source files. 2009-04-14 14:58:23 +00:00
natives.h Added development shell (d8) including readline support, counters and 2008-10-21 09:12:27 +00:00
objects-debug.cc - Extended lazy loading to general objects, not just functions. 2009-04-24 08:13:09 +00:00
objects-inl.h Added context information to scripts. 2009-05-06 08:52:48 +00:00
objects.cc Fix bug 344: always keep attributes of existing properties. 2009-05-13 10:46:28 +00:00
objects.h Fix for issue 339: 2009-05-12 22:07:10 +00:00
oprofile-agent.cc Adding support for reporting addresses of JIT compiled code to OProfile. 2009-03-05 10:53:08 +00:00
oprofile-agent.h Adding support for reporting addresses of JIT compiled code to OProfile. 2009-03-05 10:53:08 +00:00
parser.cc Allow using with and eval in JS extensions in debug mode by 2009-04-15 06:28:07 +00:00
parser.h Reapply revisions 1432, 1433, 1469 and 1472 while fixing issue 279. 2009-03-23 07:27:47 +00:00
platform-freebsd.cc Create build structure for X64. 2009-04-29 13:11:48 +00:00
platform-linux.cc Adjust for differences in the arm signal structures between glibc versions. 2009-05-13 13:44:25 +00:00
platform-macos.cc Start addressing massive arrays on the stack. There is hardly ever 2009-04-16 21:01:05 +00:00
platform-nullos.cc Start addressing massive arrays on the stack. There is hardly ever 2009-04-16 21:01:05 +00:00
platform-posix.cc Fixed numerous issues that were causing errors in profiler log processing 2009-03-31 09:06:37 +00:00
platform-win32.cc X64: Changed TickSample to hold pointer-sized values for registers. 2009-05-07 09:34:16 +00:00
platform.h X64: Changed TickSample to hold pointer-sized values for registers. 2009-05-07 09:34:16 +00:00
prettyprinter.cc A few small changes to --print-ast behavior: 2009-04-15 07:41:04 +00:00
prettyprinter.h Tracks static type of strings in frame elements and results. 2009-04-03 12:01:56 +00:00
property.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
property.h - Extended lazy loading to general objects, not just functions. 2009-04-24 08:13:09 +00:00
regexp-delay.js Revert change 1509 that flush ICs when adding setters on an object or 2009-03-19 15:06:00 +00:00
regexp-macro-assembler-irregexp-inl.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
regexp-macro-assembler-irregexp.cc A little peephole optimization for the Irregexp bytecode interpreter. 2009-02-19 10:03:27 +00:00
regexp-macro-assembler-irregexp.h A little peephole optimization for the Irregexp bytecode interpreter. 2009-02-19 10:03:27 +00:00
regexp-macro-assembler-tracer.cc Irregexp: Backtrack past look-aheads works correctly. 2009-01-26 14:38:17 +00:00
regexp-macro-assembler-tracer.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
regexp-macro-assembler.cc Separately growing stack for irregexp ia32 backtrack stack. 2009-01-12 13:05:23 +00:00
regexp-macro-assembler.h Eliminate the code that handles fallback to JSCRE. The only way to get 2009-01-26 20:09:35 +00:00
regexp-stack.cc Separately growing stack for irregexp ia32 backtrack stack. 2009-01-12 13:05:23 +00:00
regexp-stack.h Fix a guard style inconsistency in regexp-stack.h. 2009-05-04 19:31:36 +00:00
register-allocator-inl.h Tracks static type of strings in frame elements and results. 2009-04-03 12:01:56 +00:00
register-allocator.cc Tracks static type of strings in frame elements and results. 2009-04-03 12:01:56 +00:00
register-allocator.h Simplify JumpTarget::ComputeEntryFrame. Eliminate a separate pass 2009-05-11 13:57:19 +00:00
rewriter.cc Allow multiple function literals to be assigned to the same var / property. 2009-04-16 16:34:24 +00:00
rewriter.h Handle stack overflow errors correctly when rewriting the AST 2008-11-05 20:39:41 +00:00
runtime.cc X64: General fixes - added inline definitions and changed some places to intptr_t. 2009-05-12 10:33:40 +00:00
runtime.h Split the RUNTIME_FUNCTION_LIST_ALWAYS macro into two as this macro is 2009-05-13 05:46:51 +00:00
runtime.js Rewrite of VisitCountOperation that should speed it up 2009-04-03 13:27:14 +00:00
scanner.cc Optimize the lexical scanner by selective inlining, and 2009-05-13 13:40:02 +00:00
scanner.h Optimize the lexical scanner by selective inlining, and 2009-05-13 13:40:02 +00:00
SConscript Added better version information 2009-04-30 09:29:15 +00:00
scopeinfo.cc Speed up access to global variables from eval scopes. Traverse the 2009-02-24 13:11:53 +00:00
scopeinfo.h Speed up access to global variables from eval scopes. Traverse the 2009-02-24 13:11:53 +00:00
scopes.cc Avoid linear search for non-locals in the scope code 2009-05-13 16:27:40 +00:00
scopes.h Avoid linear search for non-locals in the scope code 2009-05-13 16:27:40 +00:00
serialize.cc X64: Serialization fixed to use intptr_t/Address where needed. 2009-05-07 11:50:09 +00:00
serialize.h X64: Serialization fixed to use intptr_t/Address where needed. 2009-05-07 11:50:09 +00:00
shell.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
smart-pointer.h Added development shell (d8) including readline support, counters and 2008-10-21 09:12:27 +00:00
snapshot-common.cc Change type of snapshot from char array to byte array to avoid portability problems between different compilers. 2009-01-26 10:21:09 +00:00
snapshot-empty.cc Change type of snapshot from char array to byte array to avoid portability problems between different compilers. 2009-01-26 10:21:09 +00:00
snapshot.h Change type of snapshot from char array to byte array to avoid portability problems between different compilers. 2009-01-26 10:21:09 +00:00
spaces-inl.h Revert r1900, r1897 and r1895 which are all gc changes. The changes 2009-05-12 13:02:15 +00:00
spaces.cc Revert r1900, r1897 and r1895 which are all gc changes. The changes 2009-05-12 13:02:15 +00:00
spaces.h Revert r1900, r1897 and r1895 which are all gc changes. The changes 2009-05-12 13:02:15 +00:00
string-stream.cc Start addressing massive arrays on the stack. There is hardly ever 2009-04-16 21:01:05 +00:00
string-stream.h Add a temporary hack to FmtElm to truncate 64-bit pointers to 32-bits. 2009-05-05 14:28:02 +00:00
string.js Fix Chromium bug 1717 by emulating JSCs somewhat strange hidden 2009-05-06 12:54:57 +00:00
stub-cache.cc Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
stub-cache.h X64: Changed hash computations to only use lower 32 bits of pointers. 2009-05-06 08:42:36 +00:00
token.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
token.h Optimize the lexical scanner by selective inlining, and 2009-05-13 13:40:02 +00:00
top.cc Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
top.h Reland exception propagation fix. 2009-03-31 15:23:58 +00:00
unicode-inl.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
unicode.cc Misc. portability fixes. 2009-03-18 15:20:26 +00:00
unicode.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
uri.js Implemented invalid UTF8 detection in decodeURI. That is, detection 2009-03-10 09:08:05 +00:00
usage-analyzer.cc Change the handling of catch blocks to use context extension objects 2009-01-16 09:42:08 +00:00
usage-analyzer.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
utils.cc Change type of snapshot from char array to byte array to avoid portability problems between different compilers. 2009-01-26 10:21:09 +00:00
utils.h Introduce two separate classes of processor detection: 2009-05-05 12:06:20 +00:00
v8-counters.cc - Added ability to call histograms from within v8 2009-03-13 16:06:31 +00:00
v8-counters.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
v8.cc Removed the debug message thread. 2009-04-24 12:05:40 +00:00
v8.h Add ENABLE_DEBUGGER_SUPPORT macro. 2009-04-20 16:36:13 +00:00
v8natives.js Missing file from last change. TBR=kasperl 2009-05-06 13:19:55 +00:00
v8threads.cc X64: Fixed conversion between tread_id (int) and void*. 2009-05-06 13:11:56 +00:00
v8threads.h Add thread information to the debugger. 2009-03-17 11:40:47 +00:00
variables.cc Tracks static type of strings in frame elements and results. 2009-04-03 12:01:56 +00:00
variables.h Tracks static type of strings in frame elements and results. 2009-04-03 12:01:56 +00:00
version.cc Prepare to push version 1.2.3 to trunk. 2009-05-11 18:45:49 +00:00
version.h Added better version information 2009-04-30 09:29:15 +00:00
virtual-frame.cc Stop inlining of list reallocation in virtual frames. 2009-05-01 14:37:28 +00:00
virtual-frame.h Refactor JumpTarget::Combine. 2009-05-13 10:29:49 +00:00
zone-inl.h Fixed a bunch of memory leaks in tests, including: 2009-03-27 00:24:49 +00:00
zone.cc - Simplify the code slightly by using Max(). 2008-12-05 21:51:46 +00:00
zone.h Fixed a bunch of memory leaks in tests, including: 2009-03-27 00:24:49 +00:00