v8/src
fschneider@chromium.org c757fa4604 Refactor GenericBinaryOperation and its helper functions to always return a Result.
This is a preparation step for including number type information
in the virtual frame. We need a common place where we can update
the number type information of the result of a binary operation
since we should not modify the state of the virtual frame elements
directly.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3661 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-01-20 16:13:53 +00:00
..
arm Rename the toplevel code generator from "Fast" to "Full". It was 2010-01-20 15:51:03 +00:00
ia32 Refactor GenericBinaryOperation and its helper functions to always return a Result. 2010-01-20 16:13:53 +00:00
third_party Apply patch by Timur Iskhodzhanov to add valgrind notifications on 2009-10-26 17:53:34 +00:00
x64 Refactor GenericBinaryOperation and its helper functions to always return a Result. 2010-01-20 16:13:53 +00:00
accessors.cc Remove the last context dependent reference from the Script object 2009-12-01 14:36:45 +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 Implement issue 549 Make V8 call DebugMessageDispatchHandler with Locker locked 2010-01-18 15:48:41 +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 Convert object to fast mode after creation. That enables more optimizations. 2009-07-13 10:10:28 +00:00
apiutils.h Api inlining. Made some core functionality available in the api and 2009-08-26 10:33:11 +00:00
arguments.h Fix some style issues in the ARM code. 2009-11-12 13:55:21 +00:00
array.js Removed check on element in case it is undefined in ArrayIndexOf - according to spec this is OK. 2010-01-14 12:05:48 +00:00
assembler.cc RegExp bitmap test for word character. 2010-01-18 09:49:50 +00:00
assembler.h RegExp bitmap test for word character. 2010-01-18 09:49:50 +00:00
ast.cc Attempt to make \b\w+ faster. Slight performance increase on, e.g., string unpacking. 2010-01-07 19:01:23 +00:00
ast.h First step of refactoring expression contexts in the toplevel code 2010-01-19 12:41:02 +00:00
bootstrapper.cc Make the ResolvePossiblyDirectEval faster by avoiding the 2010-01-05 09:38:02 +00:00
bootstrapper.h Give the binary op stubs better names to make profiles more informative. 2009-12-11 10:40:01 +00:00
builtins.cc Fix ARM build. 2010-01-15 13:43:28 +00:00
builtins.h Optimized calling of C++ builtins (and HandleApiCall 2010-01-15 12:25:24 +00:00
bytecodes-irregexp.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
char-predicates-inl.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
char-predicates.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
checks.cc * Remove old snapshot implementation 2009-11-16 12:08:40 +00:00
checks.h Introduce v8::Integer::NewFromUnsigned method. 2009-10-08 12:54:29 +00:00
code-stubs.cc Fix a crash caused by garbage collection during generation of a 2009-12-09 14:54:34 +00:00
code-stubs.h Add generated code for ascii string comparison 2010-01-08 11:58:15 +00:00
code.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
codegen-inl.h Simplify the processing of deferred code in the code generator. Our 2009-06-05 14:16:32 +00:00
codegen.cc Fix some usage of "this" in builtins 2010-01-19 14:15:47 +00:00
codegen.h Ensure correct boxing of values when calling functions on them 2010-01-15 13:42:32 +00:00
compilation-cache.cc Add comment to compilation-cache.cc explaining choice of 5 generations. 2009-10-14 15:01:25 +00:00
compilation-cache.h Refactor the handling of generations in the compilation cache. 2009-06-22 11:12:51 +00:00
compiler.cc Rename the toplevel code generator from "Fast" to "Full". It was 2010-01-20 15:51:03 +00:00
compiler.h Obey the flag --lazy in the toplevel code generator. 2009-11-04 17:59:24 +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 Make the ResolvePossiblyDirectEval faster by avoiding the 2010-01-05 09:38:02 +00:00
conversions-inl.h X64/Win64: Alternative implementation of fmod in general. 2009-10-23 09:18:19 +00:00
conversions.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
conversions.h X64/Win64: Alternative implementation of fmod in general. 2009-10-23 09:18:19 +00:00
counters.cc Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
counters.h - Record cache hit rates at different levels in the compilation cache 2009-05-26 08:10:04 +00:00
cpu.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +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 A follow-up to r3009: add parentheses around one more anonymous function. 2009-10-13 15:17:24 +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 Check return code from fwrite 2009-12-03 08:48:32 +00:00
d8.h Add a readline() command to d8. This reads a single line, stripping 2009-08-13 07:07:41 +00:00
d8.js Added new scope type ScopeIterator::ScopeTypeCatch for with generated from catch blocks. 2009-09-08 10:20:28 +00:00
date-delay.js Fix Date.prototype.toISOString for NaN dates and add milliseconds for 2010-01-14 08:55:15 +00:00
dateparser-inl.h Untangle some #include dependencies. 2009-10-15 15:01:36 +00:00
dateparser.cc Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
dateparser.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
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 Add pause / resume profiling commands to debugger protocol. 2009-11-30 14:56:20 +00:00
debug.cc Implement issue 549 Make V8 call DebugMessageDispatchHandler with Locker locked 2010-01-18 15:48:41 +00:00
debug.h Implement issue 549 Make V8 call DebugMessageDispatchHandler with Locker locked 2010-01-18 15:48:41 +00:00
disasm.h Merge from experimental code generator branch to bleeding edge. 2009-02-27 13:00:32 +00:00
disassembler.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
disassembler.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
dtoa-config.c Initial OpenBSD support 2009-12-02 13:38:50 +00:00
execution.cc Implement issue 554 Add "ProcessDebuggerRequests" call to Debug Agent API 2010-01-15 21:14:56 +00:00
execution.h Implement issue 554 Add "ProcessDebuggerRequests" call to Debug Agent API 2010-01-15 21:14:56 +00:00
factory.cc Fix GC bug 2010-01-18 14:13:58 +00:00
factory.h Fix GC bug 2010-01-18 14:13:58 +00:00
fast-codegen.cc Rename the toplevel code generator from "Fast" to "Full". It was 2010-01-20 15:51:03 +00:00
fast-codegen.h Rename the toplevel code generator from "Fast" to "Full". It was 2010-01-20 15:51:03 +00:00
flag-definitions.h Temporary disable map compact functionality. 2010-01-19 23:03:37 +00:00
flags.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
flags.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
frame-element.cc Patch by Mark Mentovai. Don't put static variables inline. 2009-07-17 05:37:09 +00:00
frame-element.h Patch by Mark Mentovai. Don't put static variables inline. 2009-07-17 05:37:09 +00:00
frames-inl.h Use stack frame marker constants to mark arguments adaptor frame. 2009-08-27 07:44:37 +00:00
frames.cc Add some interfaces to the GC that allow us to reserve space. This is needed 2010-01-12 15:16:23 +00:00
frames.h Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
func-name-inferrer.cc Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
func-name-inferrer.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
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 Ensure correct boxing of values when calling functions on them 2010-01-15 13:42:32 +00:00
handles-inl.h Fix strict aliasing crash on x64. 2009-08-14 17:19:51 +00:00
handles.cc Remove some of the cache validity checks for for-in enumeration. We 2009-12-01 10:25:29 +00:00
handles.h Remove some of the cache validity checks for for-in enumeration. We 2009-12-01 10:25:29 +00:00
hashmap.cc Fix some defects identifies by Coverity Prevent. All are false 2009-07-22 11:29:38 +00:00
hashmap.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
heap-inl.h Simplify checking during allocation when Heap::always_allocate() is 2010-01-05 11:30:05 +00:00
heap-profiler.cc Don't bother callling into the ProducerHeapProfile methods 2009-12-17 09:16:44 +00:00
heap-profiler.h Don't bother callling into the ProducerHeapProfile methods 2009-12-17 09:16:44 +00:00
heap.cc A simple test for map compact. 2010-01-19 16:34:37 +00:00
heap.h * Improve the interface to the memory-reservation functionality. 2010-01-14 14:46:31 +00:00
ic-inl.h Rename a constant to kCallTargetAddressOffset 2009-09-11 12:41:27 +00:00
ic.cc Fix GC bug 2010-01-18 14:13:58 +00:00
ic.h Fix GC bug 2010-01-18 14:13:58 +00:00
interpreter-irregexp.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
interpreter-irregexp.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
json-delay.js Remove unused parameter. 2009-05-18 13:16:48 +00:00
jsregexp.cc Attempt to make \b\w+ faster. Slight performance increase on, e.g., string unpacking. 2010-01-07 19:01:23 +00:00
jsregexp.h Attempt to make \b\w+ faster. Slight performance increase on, e.g., string unpacking. 2010-01-07 19:01:23 +00:00
jump-target-inl.h Change the register allocator so that it no longer tracks references 2009-05-27 07:53:47 +00:00
jump-target.cc Eliminate most of the jump target jumping, branching, and binding 2009-08-10 11:13:34 +00:00
jump-target.h Optimize implementation of Math.floor a little by special casing 2009-12-21 15:04:00 +00:00
list-inl.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
list.h Fix warnings on Win64. 2009-11-11 09:50:06 +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 Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
log-utils.h Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
log.cc Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
log.h Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
macro-assembler.h Create the framework for adding a thumb2 backend for ARM. See http://codereview.chromium.org/464070 2009-12-09 12:56:42 +00:00
macros.py Fix some usage of "this" in builtins 2010-01-19 14:15:47 +00:00
mark-compact.cc Compact map space when doing mark-sweep if after collection size of map space would 2010-01-13 19:16:07 +00:00
mark-compact.h Add some interfaces to the GC that allow us to reserve space. This is needed 2010-01-12 15:16:23 +00:00
math.js Improve performance of Array.prototype.join and String.prototype.substring 2010-01-06 14:40:21 +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 Add support for forceful termination of JavaScript execution. 2009-08-19 15:14:11 +00:00
messages.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
messages.js Submit Object.getOwnPropertyNames patch by Pavel Feldman. See http://codereview.chromium.org/549050. 2010-01-15 15:34:32 +00:00
mirror-delay.js Submit Object.getOwnPropertyNames patch by Pavel Feldman. See http://codereview.chromium.org/549050. 2010-01-15 15:34:32 +00:00
mksnapshot.cc Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
natives.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
objects-debug.cc When promoting objects during a copying collection, promote all 2009-12-22 13:34:02 +00:00
objects-inl.h Speed up compares with characters ie single-character strings. 2010-01-08 09:54:11 +00:00
objects.cc Reverting temporary reverts 3586 and 3588 back. 2010-01-12 23:42:36 +00:00
objects.h Added Extensible property to objects and made methods for extracting and setting it. 2010-01-19 12:56:36 +00:00
oprofile-agent.cc Added utility scripts for running oprofile in tools/oprofile. 2009-06-16 12:08:59 +00:00
oprofile-agent.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
parser.cc Fixed issue 582: set the right construct stub for native functions. 2010-01-19 10:32:20 +00:00
parser.h Added ScriptData::HasError. 2010-01-11 12:13:24 +00:00
platform-freebsd.cc Move function nan_value to POSIX platform file 2009-12-03 09:29:21 +00:00
platform-linux.cc Move function nan_value to POSIX platform file 2009-12-03 09:29:21 +00:00
platform-macos.cc Move function nan_value to POSIX platform file 2009-12-03 09:29:21 +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 Move function nan_value to POSIX platform file 2009-12-03 09:29:21 +00:00
platform-posix.cc Move function nan_value to POSIX platform file 2009-12-03 09:29:21 +00:00
platform-win32.cc Allow a platform to indicate that some CPU features are always 2009-11-13 12:32:57 +00:00
platform.h Allow a platform to indicate that some CPU features are always 2009-11-13 12:32:57 +00:00
prettyprinter.cc - Undo unfortunate renaming of StaticType. 2009-12-17 06:21:50 +00:00
prettyprinter.h - Undo unfortunate renaming of StaticType. 2009-12-17 06:21:50 +00:00
property.cc Remove the descriptor stream abstractions. 2009-07-10 19:25:18 +00:00
property.h Remove the descriptor stream abstractions. 2009-07-10 19:25:18 +00:00
regexp-delay.js Direct call to native RegExp code from JavaScript. 2010-01-06 11:09:30 +00:00
regexp-macro-assembler-irregexp-inl.h ARM native regexps. 2009-08-31 12:40:37 +00:00
regexp-macro-assembler-irregexp.cc ARM native regexps. 2009-08-31 12:40:37 +00:00
regexp-macro-assembler-irregexp.h ARM native regexps. 2009-08-31 12:40:37 +00:00
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 RegExp bitmap test for word character. 2010-01-18 09:49:50 +00:00
regexp-macro-assembler.h RegExp bitmap test for word character. 2010-01-18 09:49:50 +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 Change the register allocator so that it no longer tracks references 2009-05-27 07:53:47 +00:00
register-allocator.cc Patch by Mark Mentovai. Don't put static variables inline. 2009-07-17 05:37:09 +00:00
register-allocator.h Patch by Mark Mentovai. Don't put static variables inline. 2009-07-17 05:37:09 +00:00
rewriter.cc - Undo unfortunate renaming of StaticType. 2009-12-17 06:21:50 +00:00
rewriter.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
runtime.cc Fix issue 582: preserve construct stub on first allocation in case we can't optimize it. 2010-01-20 14:43:12 +00:00
runtime.h Added Extensible property to objects and made methods for extracting and setting it. 2010-01-19 12:56:36 +00:00
runtime.js Fix some usage of "this" in builtins 2010-01-19 14:15:47 +00:00
scanner.cc Reapply 3246 and 3247 after fixing valgrind warning. 2009-11-10 10:23:23 +00:00
scanner.h Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
SConscript Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
scopeinfo.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
scopeinfo.h Implemented a ContextSlotCache for compiled code. 2009-06-22 08:09:57 +00:00
scopes.cc Make the ResolvePossiblyDirectEval faster by avoiding the 2010-01-05 09:38:02 +00:00
scopes.h Fix for issue 545: don't reuse this VariableProxy. 2009-12-08 09:43:51 +00:00
serialize.cc Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
serialize.h Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
shell.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
simulator.h Rework the way we handle the fact that the ARM simulator uses a 2009-11-05 13:27:21 +00:00
smart-pointer.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
snapshot-common.cc Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
snapshot-empty.cc Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
snapshot.h * Remove old snapshot implementation 2009-11-16 12:08:40 +00:00
spaces-inl.h applied patch 2009-10-20 23:25:05 +00:00
spaces.cc * Improve the interface to the memory-reservation functionality. 2010-01-14 14:46:31 +00:00
spaces.h A simple test for map compact. 2010-01-19 16:34:37 +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 Make String.prototype.replace a tiny bit faster by avoiding 2010-01-07 12:18:56 +00:00
stub-cache.cc Try to make the contextuality check in the IC code faster 2009-12-14 09:54:13 +00:00
stub-cache.h Fix a crash caused by garbage collection during generation of a 2009-12-09 14:54:34 +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 some presubmit errors. 2009-11-16 16:58:09 +00:00
top.h Rework the way we handle the fact that the ARM simulator uses a 2009-11-05 13:27:21 +00:00
unicode-inl.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
unicode.cc Small cleanup to Utf8::CalculateValue: 2009-07-13 11:17:51 +00:00
unicode.h Cleanup include guards: 2009-05-04 13:36:43 +00:00
uri.js * Remove non-Open Source code from Douglas Crockford. 2009-09-23 12:32:24 +00:00
usage-analyzer.cc Split the AST LoopStatement type into separate types for do/while, 2009-10-12 13:14:06 +00:00
usage-analyzer.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
utils.cc Fixed potential length miscalculations by limiting max size of arrays and strings. 2010-01-07 13:17:18 +00:00
utils.h Remove the different length string types 2009-11-24 14:10:06 +00:00
v8-counters.cc Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
v8-counters.h Add generated code for ascii string comparison 2010-01-08 11:58:15 +00:00
v8.cc Implement enough of the partial snapshots that we can deserialize 2010-01-15 14:20:31 +00:00
v8.h * Remove old snapshot implementation 2009-11-16 12:08:40 +00:00
v8natives.js Fix some usage of "this" in builtins 2010-01-19 14:15:47 +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 - Undo unfortunate renaming of StaticType. 2009-12-17 06:21:50 +00:00
variables.h - Undo unfortunate renaming of StaticType. 2009-12-17 06:21:50 +00:00
version.cc Push to trunk. Now working on 2.0.7. 2010-01-14 15:09:43 +00:00
version.h Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
virtual-frame.cc Removed static type inference and add a dynamic test for string addition. 2009-06-24 12:46:00 +00:00
virtual-frame.h - Add a "#error Unsupported target architecture." where needed. A chain of 2009-06-29 17:07:30 +00:00
zone-inl.h Eliminate recursion in ZoneSplayTree traversal. 2009-09-21 07:12:38 +00:00
zone.cc Fix some defects identifies by Coverity Prevent. All are false 2009-07-22 11:29:38 +00:00
zone.h Fix warnings on Win64. 2009-11-11 09:50:06 +00:00