platform/upstream/v8.git
15 years agoIrregexp-ia32 internal call strategy changed.
lrn@chromium.org [Thu, 6 Aug 2009 12:51:04 +0000 (12:51 +0000)]
Irregexp-ia32 internal call strategy changed.

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

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

15 years agoX64: Optimize MOD operator by a constant power of 2.
whesse@chromium.org [Thu, 6 Aug 2009 11:51:23 +0000 (11:51 +0000)]
X64: Optimize MOD operator by a constant power of 2.
Review URL: http://codereview.chromium.org/164054

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

15 years agoFix the debugger in multipass mode by introducing phantom instructions
kmillikin@chromium.org [Thu, 6 Aug 2009 11:14:48 +0000 (11:14 +0000)]
Fix the debugger in multipass mode by introducing phantom instructions
marking statement boundaries.

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

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

15 years agoX64: Fix bug in boolean conversion of empty string.
lrn@chromium.org [Thu, 6 Aug 2009 10:22:38 +0000 (10:22 +0000)]
X64: Fix bug in boolean conversion of empty string.

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

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

15 years agoFix SConstruct file to build with new logging code for Android.
whesse@chromium.org [Thu, 6 Aug 2009 08:27:10 +0000 (08:27 +0000)]
Fix SConstruct file to build with new logging code for Android.
Review URL: http://codereview.chromium.org/160641

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

15 years agoAdded support for expression statements to the CFG builder and
kmillikin@chromium.org [Thu, 6 Aug 2009 07:51:44 +0000 (07:51 +0000)]
Added support for expression statements to the CFG builder and
fast-mode compiler.

This will generate a compiler temporary for complex expressions and
then immediately throw it away, so a better approach (to be
implemented later) is to pass to the expression builder whether an
expression is in an effect or value context.

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

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

15 years agoX64: Make megamorphic and normal calls use stub cache and stub code.
whesse@chromium.org [Thu, 6 Aug 2009 07:42:04 +0000 (07:42 +0000)]
X64: Make megamorphic and normal calls use stub cache and stub code.
Review URL: http://codereview.chromium.org/162009

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

15 years agoAdd support to the CFG builder for non-short-circuited binary
kmillikin@chromium.org [Wed, 5 Aug 2009 12:52:31 +0000 (12:52 +0000)]
Add support to the CFG builder for non-short-circuited binary
expressions.  Add compilation support in fast mode (optimized for
compilation time and code size).

This breaks one debugger test each on ARM and IA32 (expectedly).
Review URL: http://codereview.chromium.org/160584

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

15 years agoAdd .gitignore file similar to Chromium's one.
mikhail.naganov@gmail.com [Wed, 5 Aug 2009 11:52:59 +0000 (11:52 +0000)]
Add .gitignore file similar to Chromium's one.

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

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

15 years agoFix bug in X64 RSet code. Optimize IA32 version.
lrn@chromium.org [Wed, 5 Aug 2009 11:08:24 +0000 (11:08 +0000)]
Fix bug in X64 RSet code. Optimize IA32 version.

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

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

15 years agoFix issue 417: incorrect %t placeholder expansion.
mikhail.naganov@gmail.com [Wed, 5 Aug 2009 08:53:02 +0000 (08:53 +0000)]
Fix issue 417: incorrect %t placeholder expansion.

BUG=http://code.google.com/p/v8/issues/detail?id=417
TEST=none

Verified on Linux, Mac, and Windows.

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

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

15 years agoPrepare to push to trunk. We are now working on version 1.3.3.
sgjesse@chromium.org [Wed, 5 Aug 2009 08:27:54 +0000 (08:27 +0000)]
Prepare to push to trunk. We are now working on version 1.3.3.
Review URL: http://codereview.chromium.org/159910

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

15 years agoOn Linus don't force-export V8 symbols unless v8 is built as a shared library.
sgjesse@chromium.org [Wed, 5 Aug 2009 07:59:46 +0000 (07:59 +0000)]
On Linus don't force-export V8 symbols unless v8 is built as a shared library.

This lands: http://codereview.chromium.org/160556.

TBR=piman@chromium.org
Review URL: http://codereview.chromium.org/160634

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

15 years agoFix Windows build.
sgjesse@chromium.org [Wed, 5 Aug 2009 07:35:05 +0000 (07:35 +0000)]
Fix Windows build.

TBP=mnaganov
Review URL: http://codereview.chromium.org/160632

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

15 years agoX64: Enable specialized stubs for length property.
whesse@chromium.org [Tue, 4 Aug 2009 14:18:03 +0000 (14:18 +0000)]
X64: Enable specialized stubs for length property.
Review URL: http://codereview.chromium.org/160582

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

15 years agoAdd an ability to initiate GC through V8 API.
mikhail.naganov@gmail.com [Tue, 4 Aug 2009 14:14:01 +0000 (14:14 +0000)]
Add an ability to initiate GC through V8 API.

I'm planning to use it in DevTools heap profiler. It is a common scenario in debugging memory leaks to enforce GC, then perform an operation, then enforce GC again to check for non-collected (that is, leaked) objects. Using the existing GC extension isn't possible because it doesn't exposed in the normal operation mode of Chromium.

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

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

15 years agoX64: Add missing pop when calling handler with Out-of-memory exception.
whesse@chromium.org [Tue, 4 Aug 2009 13:46:58 +0000 (13:46 +0000)]
X64: Add missing pop when calling handler with Out-of-memory exception.
Review URL: http://codereview.chromium.org/160520

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

15 years agoX64: double stack size, to be able to have the same number of stack frames as in...
lrn@chromium.org [Tue, 4 Aug 2009 12:30:21 +0000 (12:30 +0000)]
X64: double stack size, to be able to have the same number of stack frames as in ia32.

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

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

15 years agoX64: Set mozilla.status to reflect actual status of X64 tests.
whesse@chromium.org [Tue, 4 Aug 2009 10:22:36 +0000 (10:22 +0000)]
X64: Set mozilla.status to reflect actual status of X64 tests.
Review URL: http://codereview.chromium.org/160518

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

15 years agoAdd safe handling of NaN to Posix platform-dependent time functions.
whesse@chromium.org [Tue, 4 Aug 2009 09:41:18 +0000 (09:41 +0000)]
Add safe handling of NaN to Posix platform-dependent time functions.
Review URL: http://codereview.chromium.org/160580

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

15 years agoX64: Fix bug in RandomPositiveSmi (doesn't save rsi before calling C-code).
lrn@chromium.org [Tue, 4 Aug 2009 08:23:37 +0000 (08:23 +0000)]
X64: Fix bug in RandomPositiveSmi (doesn't save rsi before calling C-code).

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

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

15 years agoRemoved unsafe optimization in RecordWrite.
lrn@chromium.org [Mon, 3 Aug 2009 13:17:34 +0000 (13:17 +0000)]
Removed unsafe optimization in RecordWrite.
Optimization was only unsafe if new-space was in the low half of memory and an object could be
located in the top half at an addressed that only differ from a new-space address by the high
bit.

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

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

15 years agoX64: Reenabled RSet.
lrn@chromium.org [Mon, 3 Aug 2009 11:05:26 +0000 (11:05 +0000)]
X64: Reenabled RSet.

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

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

15 years agoRemoved some comments which did not make any sense.
sgjesse@chromium.org [Mon, 3 Aug 2009 10:59:00 +0000 (10:59 +0000)]
Removed some comments which did not make any sense.
Review URL: http://codereview.chromium.org/159783

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

15 years agoFix debug printing of pointers, and a keyed store with smi index error, in X64
whesse@chromium.org [Mon, 3 Aug 2009 10:53:45 +0000 (10:53 +0000)]
Fix debug printing of pointers, and a keyed store with smi index error, in X64
Review URL: http://codereview.chromium.org/160452

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

15 years agoRestructure to support recursive invocation of the CFG builder. Add
kmillikin@chromium.org [Mon, 3 Aug 2009 07:55:48 +0000 (07:55 +0000)]
Restructure to support recursive invocation of the CFG builder.  Add
support for stack-allocated variables when run with multipass.

There is no liveness analysis and they are currently always allocated
to memory.

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

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

15 years ago- Fix a style violation which was flagged by gcc: while loop without body
iposva@chromium.org [Sat, 1 Aug 2009 06:11:53 +0000 (06:11 +0000)]
- Fix a style violation which was flagged by gcc: while loop without body
- Restructured the entire function because:
  During the simple style fix I discovered that this whole routine was
  hard to read due to a general lack of comments. While adding comments I
  realized that the function was also skipping entries if there were two
  consecutive entries in the maps file.

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

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

15 years agoAdd missing file to last changelist, for NaN Dates.
whesse@chromium.org [Fri, 31 Jul 2009 13:24:40 +0000 (13:24 +0000)]
Add missing file to last changelist, for NaN Dates.
Review URL: http://codereview.chromium.org/159700

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

15 years agoGuard local time posix functions from NaN value of invalid dates.
whesse@chromium.org [Fri, 31 Jul 2009 13:17:59 +0000 (13:17 +0000)]
Guard local time posix functions from NaN value of invalid dates.
Review URL: http://codereview.chromium.org/160451

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

15 years agoEnable C++ missing virtual destructor warning.
kmillikin@chromium.org [Fri, 31 Jul 2009 12:19:20 +0000 (12:19 +0000)]
Enable C++ missing virtual destructor warning.

-Wnon-virtual-dtor is part of -Wall on gcc 4.0.3, but not on 4.2.4.
Enable it specifically.

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

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

15 years agoAdd virtual destructors to address a gcc warning.
kmillikin@chromium.org [Fri, 31 Jul 2009 11:34:47 +0000 (11:34 +0000)]
Add virtual destructors to address a gcc warning.

TBR=plesner@chromium.org

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

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

15 years agoEnable --trace when --multipass is on. Bugfix in bailout condition.
kmillikin@chromium.org [Fri, 31 Jul 2009 11:27:14 +0000 (11:27 +0000)]
Enable --trace when --multipass is on.  Bugfix in bailout condition.
All V8 and (ia32) mozilla tests pass with --multipass on, failures now
count as regressions.

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

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

15 years agoX64: enable stack sampling in profiler.
mikhail.naganov@gmail.com [Fri, 31 Jul 2009 11:07:05 +0000 (11:07 +0000)]
X64: enable stack sampling in profiler.

Added necessary code to initialize Top::js_entry_sp value.
Renamed 'test-log-ia32' test to 'test-log-stack-tracer' and enabled it in 64-bit version.

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

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

15 years agoBasic infrastructure for fast two-pass compilation. A CFG is
kmillikin@chromium.org [Fri, 31 Jul 2009 11:06:17 +0000 (11:06 +0000)]
Basic infrastructure for fast two-pass compilation.  A CFG is
generated in one-pass from the source AST, code is generated from the
CFG.  Enabled by the flag --multipass and disabled by default.

Rudimentary and currently only supports literal expressions and return
statements.  There are some other known limitations (e.g., missing
support for tracing).

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

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

15 years agoX64: Add fix of issue 392 to X64
whesse@chromium.org [Fri, 31 Jul 2009 08:04:41 +0000 (08:04 +0000)]
X64: Add fix of issue 392 to X64
Review URL: http://codereview.chromium.org/160393

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

15 years agoRemove the rest of references to jsregexp-inl.h
mikhail.naganov@gmail.com [Fri, 31 Jul 2009 07:55:07 +0000 (07:55 +0000)]
Remove the rest of references to jsregexp-inl.h

TBR=kasperl@chromium.org

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

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

15 years agoPrepare push to trunk. We are now working towards version 1.3.2.
sgjesse@chromium.org [Thu, 30 Jul 2009 14:18:09 +0000 (14:18 +0000)]
Prepare push to trunk. We are now working towards version 1.3.2.
Review URL: http://codereview.chromium.org/160391

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

15 years agoFix broken test compilation.
kmillikin@chromium.org [Thu, 30 Jul 2009 12:25:24 +0000 (12:25 +0000)]
Fix broken test compilation.

TBR=kasperl@chromium.org
Review URL: http://codereview.chromium.org/160389

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

15 years agoX64: Fix lint problem and add missing stub function.
lrn@chromium.org [Thu, 30 Jul 2009 12:09:51 +0000 (12:09 +0000)]
X64: Fix lint problem and add missing stub function.

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

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

15 years agoAnother name change for consistency's sake. NODE_LIST -> AST_NODE_LIST.
kmillikin@chromium.org [Thu, 30 Jul 2009 12:09:05 +0000 (12:09 +0000)]
Another name change for consistency's sake.  NODE_LIST -> AST_NODE_LIST.

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

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

15 years agoChange the overly-general class named Node to the more specific
kmillikin@chromium.org [Thu, 30 Jul 2009 11:53:29 +0000 (11:53 +0000)]
Change the overly-general class named Node to the more specific
AstNode in case we ever want to have some other kind of node.

Split the NODE_LIST macro-generating macro so that we can iterate
concrete subclasses of Statement and concrete subclasses of Expression
separately.
Review URL: http://codereview.chromium.org/159632

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

15 years agoX64: Added inline keyed load/store and a bunch of other missing functions.
lrn@chromium.org [Thu, 30 Jul 2009 09:18:14 +0000 (09:18 +0000)]
X64: Added inline keyed load/store and a bunch of other missing functions.

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

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

15 years agoAvoid dictionary expansion during bootstrapping.
sgjesse@chromium.org [Thu, 30 Jul 2009 09:13:48 +0000 (09:13 +0000)]
Avoid dictionary expansion during bootstrapping.

Allocate the code stubs dictionary and non monomorphic cache dictionary with an initial size which avoids these dictionaries to be expanded during bootstrapping. This gets rid of 9 dictionary expansions during bootstrapping.

Preallocate the dictionary when normalizing an object to a size sufficient for holding the number of properties which is expected to be added to the object. This is used when ceating an object from an object literal boilerplate where multiple properties are known to be added.  This gets rid of 10 dictionary expansions during bootstrapping.

There are now 3 dictionary expansions left during bootstrapping.
Review URL: http://codereview.chromium.org/160382

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

15 years agoX64: Change wording of comments.
whesse@chromium.org [Thu, 30 Jul 2009 08:11:25 +0000 (08:11 +0000)]
X64: Change wording of comments.
Review URL: http://codereview.chromium.org/160381

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

15 years agoAllocate global object as a normalized object.
sgjesse@chromium.org [Thu, 30 Jul 2009 07:33:05 +0000 (07:33 +0000)]
Allocate global object as a normalized object.

The global object is now allocated and initialized as a normalized object.
Review URL: http://codereview.chromium.org/159587

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

15 years agoX64: Fix error in division & modulus, adjust mjsunit test status, fix lint error...
whesse@chromium.org [Thu, 30 Jul 2009 07:31:54 +0000 (07:31 +0000)]
X64: Fix error in division & modulus, adjust mjsunit test status, fix lint error in objects.h
Review URL: http://codereview.chromium.org/159584

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

15 years agoHarden message handling in the debugger agent.
sgjesse@chromium.org [Thu, 30 Jul 2009 07:02:23 +0000 (07:02 +0000)]
Harden message handling in the debugger agent.

This defect have been reported by the Coverity Prevent static analysis tool.
Review URL: http://codereview.chromium.org/160327

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

15 years agoSpeed up CalledAsConstructor.
christian.plesner.hansen@gmail.com [Wed, 29 Jul 2009 12:50:20 +0000 (12:50 +0000)]
Speed up CalledAsConstructor.
Changed CalledAsConstructor to process the raw runtime stack directly,
rather than using a StackFrameIterator.  Using an interator turns out
to be quite expensive and the vast majority of the work done is not
relevant to deciding if we've been called as a constructor.

This speeds up getElementById by ~13%.

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

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

15 years agoCompile precanned answers for the case of failed interceptor for some combinations.
antonm@chromium.org [Wed, 29 Jul 2009 12:34:21 +0000 (12:34 +0000)]
Compile precanned answers for the case of failed interceptor for some combinations.

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

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

15 years agoUse JSFunction::IsBuiltin() for checking if a function is a builtin one
yurys@chromium.org [Wed, 29 Jul 2009 11:55:26 +0000 (11:55 +0000)]
Use JSFunction::IsBuiltin() for checking if a function is a builtin one
Review URL: http://codereview.chromium.org/160323

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

15 years agoAdd generic V8 API functions for controlling profiling aspects.
mikhail.naganov@gmail.com [Wed, 29 Jul 2009 11:23:36 +0000 (11:23 +0000)]
Add generic V8 API functions for controlling profiling aspects.

As we'll have several aspects of heap profiling, it is more handy to control them using binary flags than by individual functions. CPU profiling represent just a particular aspect to control, so {Pause,Resume}Profiler and IsProfilerPaused are only left for compatibility.

For now, PROFILER_FLAG_HEAP_STATS and PROFILER_FLAG_JS_CONSTRUCTOR are equivalent, but later will be split.

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

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

15 years agoChange the check for builtin functions to not be based on identity,
kasperl@chromium.org [Wed, 29 Jul 2009 09:51:41 +0000 (09:51 +0000)]
Change the check for builtin functions to not be based on identity,
which seems shaky in the presence of multiple builtin objects.
Review URL: http://codereview.chromium.org/159583

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

15 years agoAdd missing case in AST printer.
sgjesse@chromium.org [Wed, 29 Jul 2009 08:46:28 +0000 (08:46 +0000)]
Add missing case in AST printer.
Review URL: http://codereview.chromium.org/159580

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

15 years agoIntroduce first approximation of constructor heap profile for JS objects.
mikhail.naganov@gmail.com [Wed, 29 Jul 2009 08:10:19 +0000 (08:10 +0000)]
Introduce first approximation of constructor heap profile for JS objects.

It is activated with '--log-gc' flag.

JS object size is calculated as its size + size of 'properties' and 'elements' arrays, if they are non-empty. This doesn't take maps, strings, heap numbers, and other shared objects into account.

As Soeren suggested, I've moved ZoneSplayTree from jsregexp to zone, and removed now empty jsregexp-inl header file.

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

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

15 years ago* Mark debug-stepin-builtin test as failing on x64
yurys@chromium.org [Wed, 29 Jul 2009 06:58:00 +0000 (06:58 +0000)]
* Mark debug-stepin-builtin test as failing on x64
* Change copyright year of the new test file to 2009

TBR=kasperl
Review URL: http://codereview.chromium.org/160318

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

15 years agoDon't step in function.call/apply if the function is builtin one.
yurys@chromium.org [Wed, 29 Jul 2009 06:34:30 +0000 (06:34 +0000)]
Don't step in function.call/apply if the function is builtin one.

Chromium bug: http://code.google.com/p/chromium/issues/detail?id=17886
Review URL: http://codereview.chromium.org/159508

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

15 years ago- getc returns an int.
iposva@chromium.org [Tue, 28 Jul 2009 21:10:13 +0000 (21:10 +0000)]
- getc returns an int.

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

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

15 years agoAdd x64 to the gyp build.
deanm@chromium.org [Tue, 28 Jul 2009 20:32:57 +0000 (20:32 +0000)]
Add x64 to the gyp build.

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

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

15 years ago- Clamp double values as doubles to get a free NaN check and
iposva@chromium.org [Tue, 28 Jul 2009 18:11:12 +0000 (18:11 +0000)]
- Clamp double values as doubles to get a free NaN check and
  to handle infinity properly.

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

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

15 years agoX64: Fixes to enable C/C++ functions processing in profiler.
mikhail.naganov@gmail.com [Tue, 28 Jul 2009 15:37:05 +0000 (15:37 +0000)]
X64: Fixes to enable C/C++ functions processing in profiler.

 - rewrote Linux version of LogSharedLibraryAddresses to work correctly with 64-bit libs;
 - fixed address length restriction in JS tickprofiler script.

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

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

15 years agoGet rid of unnecessary handle management when invoking interceptors.
antonm@chromium.org [Tue, 28 Jul 2009 14:46:06 +0000 (14:46 +0000)]
Get rid of unnecessary handle management when invoking interceptors.

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

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

15 years agoX64: Fix bug that showed up in mjsunit/invalid-lhs.js
whesse@chromium.org [Tue, 28 Jul 2009 14:11:09 +0000 (14:11 +0000)]
X64: Fix bug that showed up in mjsunit/invalid-lhs.js
Review URL: http://codereview.chromium.org/159506

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

15 years agoMore X64 inline cache implementation.
whesse@chromium.org [Tue, 28 Jul 2009 13:44:17 +0000 (13:44 +0000)]
More X64 inline cache implementation.
Review URL: http://codereview.chromium.org/160268

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

15 years agoX64: Add passing date tests to the mjsunit X64 test status
whesse@chromium.org [Tue, 28 Jul 2009 13:29:11 +0000 (13:29 +0000)]
X64: Add passing date tests to the mjsunit X64 test status
Review URL: http://codereview.chromium.org/159501

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

15 years agoChange custom NaN check to use isnan to fix pixel array
kasperl@chromium.org [Tue, 28 Jul 2009 12:50:58 +0000 (12:50 +0000)]
Change custom NaN check to use isnan to fix pixel array
failures on ARM hardware.
Review URL: http://codereview.chromium.org/160269

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

15 years agoFix pixel array support for x64 and make the fast Array functions
kasperl@chromium.org [Tue, 28 Jul 2009 12:46:08 +0000 (12:46 +0000)]
Fix pixel array support for x64 and make the fast Array functions
that use JSARRAY_HAS_FAST_ELEMENTS_CHECK a bit safer in the presence
of pixel arrays.
Review URL: http://codereview.chromium.org/159500

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

15 years agoChange the updating of the counters for global stub use to be consistent. Now counter...
sgjesse@chromium.org [Tue, 28 Jul 2009 11:42:18 +0000 (11:42 +0000)]
Change the updating of the counters for global stub use to be consistent. Now counters are updated when they are sure to count to avoid decrementing them when there is a miss.
Review URL: http://codereview.chromium.org/160265

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

15 years agoThere's seems to be an issue with 0/0 on ARM, which I'll
kasperl@chromium.org [Tue, 28 Jul 2009 10:51:54 +0000 (10:51 +0000)]
There's seems to be an issue with 0/0 on ARM, which I'll
continue to investigate. For now, use NaN instead of computing
it ourselves.

TBR=sgjesse@chromium.org
Review URL: http://codereview.chromium.org/160267

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

15 years agoFix lint issues. TBR=mikhail.naganov@gmail.com
kasperl@chromium.org [Tue, 28 Jul 2009 09:10:29 +0000 (09:10 +0000)]
Fix lint issues. TBR=mikhail.naganov@gmail.com

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

15 years agoFix lint issues. TBR=iposva@chromium.org
kasperl@chromium.org [Tue, 28 Jul 2009 09:05:05 +0000 (09:05 +0000)]
Fix lint issues. TBR=iposva@chromium.org

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

15 years ago- Expose CanvasPixelArray functionality directly in JavaScript
iposva@chromium.org [Tue, 28 Jul 2009 08:43:51 +0000 (08:43 +0000)]
- Expose CanvasPixelArray functionality directly in JavaScript
  indexed property accesses.
- The IC stubs have not been updated to handle these directly, but
  at least we do not have to leave the VM to access bytes.

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

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

15 years agoFix issue 410: test-log/ProfLazyMode flakinness under Linux.
mikhail.naganov@gmail.com [Tue, 28 Jul 2009 08:34:55 +0000 (08:34 +0000)]
Fix issue 410: test-log/ProfLazyMode flakinness under Linux.

I found two causes of flakinness:
 - SIGPROF signal isn't delivered to a process;
 - Profiler thread (the one that retrieves tick events from
   the queue and writes to log) doesn't get a CPU;
Both are fixed.

The script from bug description with run count increased to 200 runs without any test failures.

OS X and Windows are unaffected because they don't use signals mechanism.

BUG=http://code.google.com/p/v8/issues/detail?id=410
TEST=see bug description

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

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

15 years agoX64: Fixed bug de-tagging of smis in multiplication code.
lrn@chromium.org [Tue, 28 Jul 2009 08:22:48 +0000 (08:22 +0000)]
X64: Fixed bug de-tagging of smis in multiplication code.
Moved some dummy function implementations to from ic-x64.cc to stub-cache-x64.cc (where they belong)

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

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

15 years agoX64: Fix buggy expression in disassembler. Fixes Issue 408: http://code.google.com...
whesse@chromium.org [Mon, 27 Jul 2009 18:51:46 +0000 (18:51 +0000)]
X64: Fix buggy expression in disassembler.  Fixes Issue 408: code.google.com/p/v8/issues/detail?id=408
Review URL: http://codereview.chromium.org/160174

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

15 years agoX64: Add inline cache stub for storing to globals.
whesse@chromium.org [Mon, 27 Jul 2009 15:02:35 +0000 (15:02 +0000)]
X64: Add inline cache stub for storing to globals.
Review URL: http://codereview.chromium.org/160160

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

15 years agoHandlified some stack trace code
christian.plesner.hansen@gmail.com [Mon, 27 Jul 2009 13:26:43 +0000 (13:26 +0000)]
Handlified some stack trace code
Fixed some failing sputnik tests by handlifying some code that would
otherwise break on gc.

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

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

15 years agoAdded Error.captureStackTrace function.
christian.plesner.hansen@gmail.com [Mon, 27 Jul 2009 12:01:32 +0000 (12:01 +0000)]
Added Error.captureStackTrace function.
Added utility function for capturing stack traces so that efficient
stack trace collection works for custom errors too, not just built-in
ones.

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

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

15 years agoX64: Add mov rax,(mem64) to disassembler.
whesse@chromium.org [Mon, 27 Jul 2009 10:39:46 +0000 (10:39 +0000)]
X64: Add mov rax,(mem64) to disassembler.
Review URL: http://codereview.chromium.org/159397

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

15 years agoMake X64 implementation update Store ic stubs. Remove comment that talks about ...
whesse@chromium.org [Mon, 27 Jul 2009 10:39:21 +0000 (10:39 +0000)]
Make X64 implementation update Store ic stubs.  Remove comment that talks about "below" on the stack meaning closer to the top.
Review URL: http://codereview.chromium.org/159402

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

15 years agoStub Cache: speed up load callback accessor by allocating data handle on stack.
vitalyr@chromium.org [Mon, 27 Jul 2009 09:54:59 +0000 (09:54 +0000)]
Stub Cache: speed up load callback accessor by allocating data handle on stack.

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

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

15 years agoPrepare to push version 1.3.0 to trunk.
kasperl@chromium.org [Mon, 27 Jul 2009 08:27:28 +0000 (08:27 +0000)]
Prepare to push version 1.3.0 to trunk.
Review URL: http://codereview.chromium.org/160157

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

15 years agoLanding patch for Timur Iskhodzhanov.
iposva@chromium.org [Mon, 27 Jul 2009 05:31:30 +0000 (05:31 +0000)]
Landing patch for Timur Iskhodzhanov.
Reviewed at http://codereview.chromium.org/160099

The original MacOSMutex constructor makes data race detectors a little
bit crazy. Also, the new version is simpler and easier to understand.

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

15 years agoAdd inline caching for keyed loads and stores. Remove extra parentheses from some...
whesse@chromium.org [Fri, 24 Jul 2009 11:22:35 +0000 (11:22 +0000)]
Add inline caching for keyed loads and stores.  Remove extra parentheses from some files.
Review URL: http://codereview.chromium.org/159266

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

15 years agoRemove trailing whitespace in test-debug.cc
yurys@chromium.org [Fri, 24 Jul 2009 07:39:53 +0000 (07:39 +0000)]
Remove trailing whitespace in test-debug.cc
Review URL: http://codereview.chromium.org/160095

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

15 years agoDebugger should not stop in its own code and in code of built-in functions since...
yurys@chromium.org [Fri, 24 Jul 2009 06:14:23 +0000 (06:14 +0000)]
Debugger should not stop in its own code and in code of built-in functions since it may confuse user.Debug break handler checks whether current function is a built-in or a debugger one and just resumes execution if it is.

CallCheckStackGuardState is no longer called in loop in the RegExp code as it hangs if debug break flag is not reset after calling Execution::HandleStackGuardInterrupt.
Review URL: http://codereview.chromium.org/160001

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

15 years agoForce inlining of some handle methods.
antonm@chromium.org [Thu, 23 Jul 2009 13:36:28 +0000 (13:36 +0000)]
Force inlining of some handle methods.

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

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

15 years agoFix typo in last change
whesse@chromium.org [Thu, 23 Jul 2009 13:05:36 +0000 (13:05 +0000)]
Fix typo in last change
Review URL: http://codereview.chromium.org/160009

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

15 years agoFix an error in a keyed lookup stub - HeapNumbers treated as strings.
whesse@chromium.org [Thu, 23 Jul 2009 13:01:17 +0000 (13:01 +0000)]
Fix an error in a keyed lookup stub - HeapNumbers treated as strings.
Review URL: http://codereview.chromium.org/155924

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

15 years agoCall the (fatal) V8 out of memory handler if we cannot allocate enough
kmillikin@chromium.org [Thu, 23 Jul 2009 12:56:45 +0000 (12:56 +0000)]
Call the (fatal) V8 out of memory handler if we cannot allocate enough
memory from the OS to deserialize the initial heap snapshot at
startup.

This catches the failure to startup earlier, and avoids dereferencing
the encoding of an allocation failure.

BUG=16359

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

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

15 years agoChange a few style issues (dead code, unitialized members) flagged by
kmillikin@chromium.org [Thu, 23 Jul 2009 12:51:49 +0000 (12:51 +0000)]
Change a few style issues (dead code, unitialized members) flagged by
Coverity Prevent.  All are benign.

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

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

15 years agoFix ARM compiler crash in short-circuited boolean expressions.
kmillikin@chromium.org [Thu, 23 Jul 2009 11:40:14 +0000 (11:40 +0000)]
Fix ARM compiler crash in short-circuited boolean expressions.

We did not handle the case where the left-hand-side expression was
fully compiled to control flow.  There were also some assertions for
unary and binary expressions that crashed debug builds when the
expression was fully compiled to control flow.

Regression test added.

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

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

15 years agoCorrect sense of test for generic keyed load with a symbol as key.
whesse@chromium.org [Wed, 22 Jul 2009 14:40:04 +0000 (14:40 +0000)]
Correct sense of test for generic keyed load with a symbol as key.
Review URL: http://codereview.chromium.org/155922

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

15 years agoRemove a few occurrences of the CHECK_FAILED macro in the parser.
kmillikin@chromium.org [Wed, 22 Jul 2009 12:33:16 +0000 (12:33 +0000)]
Remove a few occurrences of the CHECK_FAILED macro in the parser.
There's no reason to check if we've failed when (a) we know we have
and (b) we've got a perfectly good NULL just lying around anyway.

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

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

15 years agoFix some defects identifies by Coverity Prevent. All are false
kmillikin@chromium.org [Wed, 22 Jul 2009 11:29:38 +0000 (11:29 +0000)]
Fix some defects identifies by Coverity Prevent.  All are false
positives, but I've restructured the code to be more explicit.

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

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

15 years agoFix two deallocation bugs identified by Coverity Prevent.
kmillikin@chromium.org [Wed, 22 Jul 2009 10:23:19 +0000 (10:23 +0000)]
Fix two deallocation bugs identified by Coverity Prevent.

1. The tables array allocated in the CompilationSubCache constructor
   was never deallocated.  Fixed by adding destructor.

2. The buffer allocated in one of the constructors of the
   NoAllocationStringAllocator was never deallocated.  It seems that
   this class sometimes owns the buffer (if it allocated one itself)
   and sometimes doesn't (if it was passed one).  Simple fix is to
   remove the offending constructor which was never used anyway.

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

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

15 years agoIntroduce a external allocation limit.
ager@chromium.org [Wed, 22 Jul 2009 10:01:25 +0000 (10:01 +0000)]
Introduce a external allocation limit.

If V8 is holding on to a lot of external memory, we attempt to clean
it up even if we do not get an allocation failure.  Since tiny V8
objects can hold on to a lot of external memory, we might run out of
external memory while waiting for a normal allocation failure.
Review URL: http://codereview.chromium.org/155916

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

15 years agoX64: Add StoreField inline cache stub.
whesse@chromium.org [Wed, 22 Jul 2009 09:11:33 +0000 (09:11 +0000)]
X64: Add StoreField inline cache stub.
Review URL: http://codereview.chromium.org/155915

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

15 years ago- Remove unneeded include of ucontext.h as it is deprecated on Snow Leopard.
iposva@chromium.org [Tue, 21 Jul 2009 17:25:07 +0000 (17:25 +0000)]
- Remove unneeded include of ucontext.h as it is deprecated on Snow Leopard.
- Avoid calculating shared library addresses if profiling is not enabled.

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

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

15 years agoMake stub cache hash work on X64 platform. Stub cache now works.
whesse@chromium.org [Tue, 21 Jul 2009 13:30:46 +0000 (13:30 +0000)]
Make stub cache hash work on X64 platform.  Stub cache now works.
Switch arguments of 32-bit arithmetic instructions so they are consistent
with 64-bit arithmetic instructions (all on X64 platforms).
Review URL: http://codereview.chromium.org/155849

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

15 years agoX64: Implement inline caches for loads
whesse@chromium.org [Tue, 21 Jul 2009 11:06:24 +0000 (11:06 +0000)]
X64: Implement inline caches for loads
Review URL: http://codereview.chromium.org/159131

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