v8/src
kmillikin@chromium.org a30916cf27 In the code generator, avoid loading the arguments object to the
expression stack when it is already there.  Also, cleanup up the
(two!) extra copies of the arguments object left on the stack.
Review URL: http://codereview.chromium.org/5667

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@410 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2008-10-02 12:44:47 +00:00
..
third_party - Added new object type, RegExp, for regular expressions. 2008-09-23 11:45:43 +00:00
accessors.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
accessors.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
allocation.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
allocation.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
api.cc Update version string and ChangeLog. We are now working on version 2008-09-25 08:45:38 +00:00
api.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
apinatives.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
arguments.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array.js Fixed use of undefined in ArraySort. 2008-10-02 08:58:03 +00:00
assembler-arm-inl.h Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
assembler-arm.cc Remove some craaaazy trailing whitespace. 2008-09-30 11:41:58 +00:00
assembler-arm.h Remove the ARM jump elimination. This completely removes jump elimination. 2008-09-30 09:42:08 +00:00
assembler-ia32-inl.h Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
assembler-ia32.cc Remove x86 jump elimination. This was just complicated enough to make it annoying to support short jump encoding. I measured a code size increase of 5 bytes on the V8 benchmark, from missing one jump to next elimination possibility. 2008-09-29 07:33:58 +00:00
assembler-ia32.h Remove x86 jump elimination. This was just complicated enough to make it annoying to support short jump encoding. I measured a code size increase of 5 bytes on the V8 benchmark, from missing one jump to next elimination possibility. 2008-09-29 07:33:58 +00:00
assembler.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
assembler.h Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
ast.cc - Added a map cache for literal objects. This will 2008-09-25 07:46:07 +00:00
ast.h Small cleanup of the code generator: make the static code gen 2008-10-02 11:14:50 +00:00
bootstrapper.cc - Added new object type, RegExp, for regular expressions. 2008-09-23 11:45:43 +00:00
bootstrapper.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
builtins-arm.cc Refactored the code for entering and leaving exit frames (calls 2008-09-23 08:19:26 +00:00
builtins-ia32.cc Fix stack check wraparound problem for ARM simulator. 2008-09-26 12:11:35 +00:00
builtins.cc Remove the old builtins framework with the huge, nasty 2008-09-16 10:12:32 +00:00
builtins.h Remove the old builtins framework with the huge, nasty 2008-09-16 10:12:32 +00:00
char-predicates-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
char-predicates.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
checks.cc This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
checks.h Fix failing test caused by extra precision in register allocated fp values. 2008-09-26 23:14:43 +00:00
code-stubs.cc Change the logging information for generated stubs to be 2008-09-23 07:33:08 +00:00
code-stubs.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
code.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
codegen-arm.cc In the code generator, avoid loading the arguments object to the 2008-10-02 12:44:47 +00:00
codegen-ia32.cc In the code generator, avoid loading the arguments object to the 2008-10-02 12:44:47 +00:00
codegen-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
codegen.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
codegen.h Small cleanup of the code generator: make the static code gen 2008-10-02 11:14:50 +00:00
compilation-cache.cc Fix issue 65 by making sure not to leak any of the cache 2008-09-11 13:39:48 +00:00
compilation-cache.h Generalized the EvalCache into a CompilationCache and enabled 2008-09-11 10:51:52 +00:00
compiler.cc Make sure that the body of the function created by calling Function is 2008-09-25 07:35:45 +00:00
compiler.h Make sure that the body of the function created by calling Function is 2008-09-25 07:35:45 +00:00
constants-arm.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
contexts.cc This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
contexts.h - Added a map cache for literal objects. This will 2008-09-25 07:46:07 +00:00
conversions-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
conversions.cc Simplify logic in string-to-double conversion code. 2008-09-15 12:17:36 +00:00
conversions.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
counters.cc Move the Counters to structures that can be POD initialized, avoiding the need for static constructors on program startup. They were only default initializing and doing some unneeded string operations. 2008-09-15 08:59:31 +00:00
counters.h Remove EOL trailing whitespace. 2008-09-15 09:24:59 +00:00
cpu-arm.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
cpu-ia32.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
cpu.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
date-delay.js Using quick sort for arrays. 2008-09-25 11:28:02 +00:00
dateparser.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
dateparser.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-delay.js Make sure that the body of the function created by calling Function is 2008-09-25 07:35:45 +00:00
debug.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
debug.h Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
disasm-arm.cc Made the ARM port with simulator build and run on Windows. 2008-09-19 12:35:15 +00:00
disasm-ia32.cc Added missing static to returned buffer. 2008-09-17 09:05:36 +00:00
disasm.h Replaced calls to functions that msvc consider deprecated. Used 2008-09-11 14:34:48 +00:00
disassembler.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +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 Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
execution.cc This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
execution.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
factory.cc - Added a map cache for literal objects. This will 2008-09-25 07:46:07 +00:00
factory.h - Added a map cache for literal objects. This will 2008-09-25 07:46:07 +00:00
flag-definitions.h Remove the ARM jump elimination. This completely removes jump elimination. 2008-09-30 09:42:08 +00:00
flags.cc - Rename flags.defs to flag-definitions.h. 2008-09-17 08:47:50 +00:00
flags.h - Rename flags.defs to flag-definitions.h. 2008-09-17 08:47:50 +00:00
frames-arm.cc Adapt to new calling convention on ARM: 2008-09-12 03:29:06 +00:00
frames-arm.h Adapt to new calling convention on ARM: 2008-09-12 03:29:06 +00:00
frames-ia32.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
frames-ia32.h Refactored the code for entering and leaving exit frames (calls 2008-09-23 08:19:26 +00:00
frames-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
frames.cc This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
frames.h Adapt to new calling convention on ARM: 2008-09-12 03:29:06 +00:00
global-handles.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
global-handles.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
globals.h Flush the runtime %DebugPrint output. Should have no performance impact, 2008-09-18 07:31:37 +00:00
handles-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
handles.cc This is a fix of issue http://b/issue?id=1381845. 2008-09-24 15:47:34 +00:00
handles.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
hashmap.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
hashmap.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
heap-inl.h This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
heap.cc - Added new object type, RegExp, for regular expressions. 2008-09-23 11:45:43 +00:00
heap.h Follow up to change 402: 2008-10-01 20:21:34 +00:00
ic-arm.cc Refactored the code for entering and leaving exit frames (calls 2008-09-23 08:19:26 +00:00
ic-ia32.cc Refactored the code for entering and leaving exit frames (calls 2008-09-23 08:19:26 +00:00
ic-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
ic.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
ic.h Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
jsregexp.cc - Added new object type, RegExp, for regular expressions. 2008-09-23 11:45:43 +00:00
jsregexp.h - Added new object type, RegExp, for regular expressions. 2008-09-23 11:45:43 +00:00
list-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
list.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
log.cc - Added new object type, RegExp, for regular expressions. 2008-09-23 11:45:43 +00:00
log.h - Added new object type, RegExp, for regular expressions. 2008-09-23 11:45:43 +00:00
macro-assembler-arm.cc Move more functionality from CEntryStub to the helper 2008-09-23 12:21:54 +00:00
macro-assembler-arm.h Move more functionality from CEntryStub to the helper 2008-09-23 12:21:54 +00:00
macro-assembler-ia32.cc Move more functionality from CEntryStub to the helper 2008-09-23 12:21:54 +00:00
macro-assembler-ia32.h Move more functionality from CEntryStub to the helper 2008-09-23 12:21:54 +00:00
macro-assembler.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
macros.py Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mark-compact.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
mark-compact.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
math.js Using quick sort for arrays. 2008-09-25 11:28:02 +00:00
memory.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
messages.cc Added -log-regexp option to log all compilations and executions of regular expressions. 2008-09-11 11:24:45 +00:00
messages.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
messages.js Fixed bug #57. Introduced String::Utf8Value and replaced a bunch of 2008-09-10 11:41:48 +00:00
mirror-delay.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mksnapshot.cc Fixed broken build of mksnapshot on Windows as there was warnings against 2008-09-15 10:57:53 +00:00
natives.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
objects-debug.cc - Added new object type, RegExp, for regular expressions. 2008-09-23 11:45:43 +00:00
objects-inl.h - Added a map cache for literal objects. This will 2008-09-25 07:46:07 +00:00
objects.cc Use -O9, tune for nocoma, assume at least a Pentium when generating code. 2008-09-26 15:53:42 +00:00
objects.h - Added a map cache for literal objects. This will 2008-09-25 07:46:07 +00:00
parser.cc Get rid of the local variable we use to keep the state 2008-10-01 10:57:37 +00:00
parser.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
platform-linux.cc Allow platforms (linux and win32) to not force 16-byte alignment 2008-09-23 10:06:58 +00:00
platform-macos.cc Allow platforms (linux and win32) to not force 16-byte alignment 2008-09-23 10:06:58 +00:00
platform-nullos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
platform-win32.cc Allow platforms (linux and win32) to not force 16-byte alignment 2008-09-23 10:06:58 +00:00
platform.h Allow platforms (linux and win32) to not force 16-byte alignment 2008-09-23 10:06:58 +00:00
prettyprinter.cc Replaced calls to functions that msvc consider deprecated. Used 2008-09-11 14:34:48 +00:00
prettyprinter.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
property.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
property.h Do not shortcut cons string symbols during garbage collection. 2008-09-10 11:35:05 +00:00
regexp-delay.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
rewriter.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
rewriter.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
runtime.cc - Added a map cache for literal objects. This will 2008-09-25 07:46:07 +00:00
runtime.h Make sure that the body of the function created by calling Function is 2008-09-25 07:35:45 +00:00
runtime.js Fixed bug #57. Introduced String::Utf8Value and replaced a bunch of 2008-09-10 11:41:48 +00:00
scanner.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
scanner.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
SConscript Generalized the EvalCache into a CompilationCache and enabled 2008-09-11 10:51:52 +00:00
scopeinfo.cc Fix bug in function context slot lookup. There were two problems: we 2008-09-11 13:00:30 +00:00
scopeinfo.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
scopes.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
scopes.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
serialize.cc Remove the old builtins framework with the huge, nasty 2008-09-16 10:12:32 +00:00
serialize.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
shell.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
simulator-arm.cc Made the ARM port with simulator build and run on Windows. 2008-09-19 12:35:15 +00:00
simulator-arm.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
simulator-ia32.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
simulator-ia32.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
smart-pointer.h Formatting fixes (e.g., whitespace at end of line) 2008-09-11 12:57:27 +00:00
snapshot-common.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
snapshot-empty.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
snapshot.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
spaces-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
spaces.cc Refactor the enum RelocMode changing the naming scheme from lower case to 2008-09-22 13:57:03 +00:00
spaces.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-stream.cc Replaced calls to functions that msvc consider deprecated. Used 2008-09-11 14:34:48 +00:00
string-stream.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string.js Clean up some naming to be consistent between runtime and JS code. 2008-09-28 13:21:41 +00:00
stub-cache-arm.cc Refactored the code for entering and leaving exit frames (calls 2008-09-23 08:19:26 +00:00
stub-cache-ia32.cc Refactored the code for entering and leaving exit frames (calls 2008-09-23 08:19:26 +00:00
stub-cache.cc This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
stub-cache.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
token.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
token.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
top.cc This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
top.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
unicode-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
unicode.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
unicode.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
uri.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
usage-analyzer.cc Get rid of the local variable we use to keep the state 2008-10-01 10:57:37 +00:00
usage-analyzer.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
utils.cc Replaced calls to functions that msvc consider deprecated. Used 2008-09-11 14:34:48 +00:00
utils.h Fixed build problem on mac, lint issues and a test failure on win32. 2008-09-11 15:03:22 +00:00
v8-counters.cc Move the Counters to structures that can be POD initialized, avoiding the need for static constructors on program startup. They were only default initializing and doing some unneeded string operations. 2008-09-15 08:59:31 +00:00
v8-counters.h Move the Counters to structures that can be POD initialized, avoiding the need for static constructors on program startup. They were only default initializing and doing some unneeded string operations. 2008-09-15 08:59:31 +00:00
v8.cc This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
v8.h This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. 2008-09-12 10:19:33 +00:00
v8natives.js Make sure that the body of the function created by calling Function is 2008-09-25 07:35:45 +00:00
v8threads.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
v8threads.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
variables.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
variables.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
zone-inl.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
zone.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
zone.h Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00