platform/upstream/v8.git
13 years agoWhen inlining fails, disable optimization of the proper function.
kmillikin@chromium.org [Thu, 19 May 2011 13:15:57 +0000 (13:15 +0000)]
When inlining fails, disable optimization of the proper function.

Also, refactor disabling of optimization to make it easier to ensure
that both SharedFunctionInfo and Code get disabled.

R=whesse@chromium.org
BUG=
TEST=

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

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

13 years agoAlso skip unary op IC when iterating over break locations in the debugger.
fschneider@chromium.org [Thu, 19 May 2011 13:14:12 +0000 (13:14 +0000)]
Also skip unary op IC when iterating over break locations in the debugger.
Review URL: http://codereview.chromium.org/7040002

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

13 years agoRefactor TraceInlining method of hydrogen so it works correctly.
whesse@chromium.org [Thu, 19 May 2011 12:53:50 +0000 (12:53 +0000)]
Refactor TraceInlining method of hydrogen so it works correctly.

Fix TraceInline.

BUG=
TEST=

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

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

13 years agoRename Proxy class to Foreign, to avoid confusion with Harmony proxies.
rossberg@chromium.org [Thu, 19 May 2011 11:47:34 +0000 (11:47 +0000)]
Rename Proxy class to Foreign, to avoid confusion with Harmony proxies.

Also fix grokdump, which was off by one after intro of JSProxy type.

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

13 years agoAvoid conflict between method and type name.
lrn@chromium.org [Thu, 19 May 2011 09:22:32 +0000 (09:22 +0000)]
Avoid conflict between method and type name.

Make builder happy.

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

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

13 years agoAdded preparser strict-mode tests.
lrn@chromium.org [Thu, 19 May 2011 09:01:46 +0000 (09:01 +0000)]
Added preparser strict-mode tests.

Now tests for use of eval, arguments, reserved words and with statement.

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

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

13 years agoFix bug with long stack traces truncation in DevTools CPU profiler.
mikhail.naganov@gmail.com [Thu, 19 May 2011 08:25:38 +0000 (08:25 +0000)]
Fix bug with long stack traces truncation in DevTools CPU profiler.

R=sgjesse@chromium.org,vitalyr@chromium.org
BUG=1398
TEST=cctest/test-cpu-profiler/Issue1398

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

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

13 years agoRemove execScript from V8. No longer present i neither Firefox nor Safari.
ager@chromium.org [Thu, 19 May 2011 08:10:27 +0000 (08:10 +0000)]
Remove execScript from V8. No longer present i neither Firefox nor Safari.

R=ricow@chromium.org
BUG=
TEST=

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

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

13 years agoPut 7942 "Per-isolate embedder-specific data" back
dslomov@chromium.org [Wed, 18 May 2011 23:26:38 +0000 (23:26 +0000)]
Put 7942 "Per-isolate embedder-specific data" back

TBR=

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

13 years agoRevert "Per-isolate embedder-specific data"
dslomov@chromium.org [Wed, 18 May 2011 22:35:41 +0000 (22:35 +0000)]
Revert "Per-isolate embedder-specific data"

This reverts commit 42f5dc01fb9adbf55242da9f6515e9a37132217b.

Checking if this helps webkit-tests

TBR=dslomov@chromium.org

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

13 years agoFix compilation warning on some C++ compilers.
fschneider@chromium.org [Wed, 18 May 2011 17:43:20 +0000 (17:43 +0000)]
Fix compilation warning on some C++ compilers.

TBR=
Review URL: http://codereview.chromium.org/7034030

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

13 years agoFix handling of -0 in the unary-op IC and avoid repeated patching/transitions.
fschneider@chromium.org [Wed, 18 May 2011 17:32:36 +0000 (17:32 +0000)]
Fix handling of -0 in the unary-op IC and avoid repeated patching/transitions.

When the stub return a heap number we do a state transition to
a version HEAP_NUMBER that can handle -0.

There is room for further improvement in the typefeedback for the
case of -0. This change however does not address this and only fixes
the acute issue.
Review URL: http://codereview.chromium.org/7037025

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

13 years agoMake GVN side effect analysis more precise.
vitalyr@chromium.org [Wed, 18 May 2011 17:18:35 +0000 (17:18 +0000)]
Make GVN side effect analysis more precise.

When descending the dominator tree we used to collect side effects from all blocks between the dominator and the dominated blocks in the block ordering. This could include blocks that do not appear on paths from the dominator to the dominated and unnecessarily removed available values from the GVN map.

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

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

13 years agoPer-isolate embedder-specific data
dslomov@chromium.org [Wed, 18 May 2011 16:20:45 +0000 (16:20 +0000)]
Per-isolate embedder-specific data

BUG=
TEST=

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

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

13 years agoAssert that independent handles do not participate in grouping.
vitalyr@chromium.org [Wed, 18 May 2011 15:28:43 +0000 (15:28 +0000)]
Assert that independent handles do not participate in grouping.

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

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

13 years agoll_prof: Output tick percentage by symbol/library.
vitalyr@chromium.org [Wed, 18 May 2011 15:08:50 +0000 (15:08 +0000)]
ll_prof: Output tick percentage by symbol/library.

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

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

13 years agoUse MarkIndependent in sample shell.
vegorov@chromium.org [Wed, 18 May 2011 15:01:57 +0000 (15:01 +0000)]
Use MarkIndependent in sample shell.

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

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

13 years agoAdd code to ia32 TypeRecordingBinaryOpStub to handle SHR Smi overflow.
whesse@chromium.org [Wed, 18 May 2011 14:53:02 +0000 (14:53 +0000)]
Add code to ia32 TypeRecordingBinaryOpStub to handle SHR Smi overflow.

BUG=v8:1395

TEST=

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

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

13 years agoMove derived get trap from builtins to global context.
rossberg@chromium.org [Wed, 18 May 2011 14:00:34 +0000 (14:00 +0000)]
Move derived get trap from builtins to global context.

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

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

13 years agoReland 7917:
danno@chromium.org [Wed, 18 May 2011 13:17:29 +0000 (13:17 +0000)]
Reland 7917:

Better support for 'polymorphic' JS and external arrays

Allow  keyed store/load stubs to switch between external array and fast JS arrays without forcing a state transition to the generic stub.

There CL consists of two pieces of functionality. First, code stubs for fast element arrays don't immediately transition to the MEGAMORPHIC state when there's a map mismatch. Second, two ICs are cached per map for fast elements, the MONOMORPHIC version, and a new MEGAMORPHIC version that handles two or more different maps and dispatches to shared stubs to perform the array operation.

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

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

13 years agoAdd regression test for http://crbug.com/82769
vegorov@chromium.org [Wed, 18 May 2011 12:46:21 +0000 (12:46 +0000)]
Add regression test for http://crbug.com/82769

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

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

13 years agoRevert accidental change from r7795 that was causing a bug fixed in r7790 to reappear.
vegorov@chromium.org [Wed, 18 May 2011 12:26:04 +0000 (12:26 +0000)]
Revert accidental change from r7795 that was causing a bug fixed in r7790 to reappear.

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

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

13 years agoFix incorrect coercion of other failures to Failure::Exception in ReThrow.
lrn@chromium.org [Wed, 18 May 2011 12:22:19 +0000 (12:22 +0000)]
Fix incorrect coercion of other failures to Failure::Exception in ReThrow.

TEST=cctest/test-api/OutOfMemoryNested

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

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

13 years agoFix bug 1396: Optimized calls to API functions assumed that the receiver was a JSObje...
whesse@chromium.org [Wed, 18 May 2011 12:20:36 +0000 (12:20 +0000)]
Fix bug 1396: Optimized calls to API functions assumed that the receiver was a JSObject, failed when compiling stub otherwise.

BUG=v8:1396
Review URL: http://codereview.chromium.org/7045002

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

13 years agoFix bug in optimized compiler's switch-statement.
fschneider@chromium.org [Wed, 18 May 2011 11:06:07 +0000 (11:06 +0000)]
Fix bug in optimized compiler's switch-statement.

In the case where the default-clause occurs as the first clause,
the case-blocks were not wired up correctly.

BUG=v8:1394
TEST=mjsunit/compiler/regress-1394.js
Review URL: http://codereview.chromium.org/7037023

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

13 years agoHandle all kind of arguments in the ToBooleanStub. While this is not very thrilling...
svenpanne@chromium.org [Wed, 18 May 2011 10:40:01 +0000 (10:40 +0000)]
Handle all kind of arguments in the ToBooleanStub. While this is not very thrilling in itself, it is one of several steps to add type recording to this stub. Removed a duplicate check for null in the ARM stub and made a tiny simplification, removing a sub instruction.

As a side note, this change has some positive impact on the performace, e.g. imaging-darkroom is 8.3% faster and ws-ieee754conv is even 19.9% faster. No idea why the speedup is so big in some cases, but never look a gift horse in the mouth... ;-)
Review URL: http://codereview.chromium.org/7042004

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

13 years agoRemove NULL temp operand from ia32 LStoreKeyedSpecializedArrayElement.
vitalyr@chromium.org [Wed, 18 May 2011 09:19:14 +0000 (09:19 +0000)]
Remove NULL temp operand from ia32 LStoreKeyedSpecializedArrayElement.

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

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

13 years agoPrepare push to trunk. Now working on version 3.3.9.
kmillikin@chromium.org [Wed, 18 May 2011 08:49:07 +0000 (08:49 +0000)]
Prepare push to trunk.  Now working on version 3.3.9.

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

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

13 years agoFix push of untagged value in type-recording unary op stub.
lrn@chromium.org [Wed, 18 May 2011 07:40:51 +0000 (07:40 +0000)]
Fix push of untagged value in type-recording unary op stub.

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

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

13 years agoRevert 7917
danno@chromium.org [Tue, 17 May 2011 18:47:10 +0000 (18:47 +0000)]
Revert 7917

TBR=danno@chromium.org

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

13 years agoBetter support for 'polymorphic' JS and external arrays
danno@chromium.org [Tue, 17 May 2011 17:29:13 +0000 (17:29 +0000)]
Better support for 'polymorphic' JS and external arrays

Allow  keyed store/load stubs to switch between external array and fast JS arrays without forcing a state transition to the generic stub.

There CL consists of two pieces of functionality. First, code stubs for fast element arrays don't immediately transition to the MEGAMORPHIC state when there's a map mismatch. Second, two ICs are cached per map for fast elements, the MONOMORPHIC version, and a new MEGAMORPHIC version that handles two or more different maps. Currently, the only array types supported by the MEGAMORPHIC stub are fast elements for objects and JSArrays.

BUG=
TEST=

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

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

13 years agoRevert r7909
sgjesse@chromium.org [Tue, 17 May 2011 12:43:14 +0000 (12:43 +0000)]
Revert r7909

r7909: Optimise the deoptimisation check to improve performance on modern ARM cores.

Assert failure on mozilla/ecma/Date/15.9.3.8-2 and mozilla/ecma/Date/15.9.3.8-4.

R=ricow@chromium.org

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

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

13 years agoExtend Handle API with MarkIndependent.
vegorov@chromium.org [Tue, 17 May 2011 12:18:19 +0000 (12:18 +0000)]
Extend Handle API with MarkIndependent.

Garbage collector is free to ignore object groups for independent handles and can collect then in minor collections.

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

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

13 years agoAdd enumeration to specify if smi check needed
danno@chromium.org [Tue, 17 May 2011 12:05:06 +0000 (12:05 +0000)]
Add enumeration to specify if smi check needed

R==ager@chromium.org
BUG=none
TEST=none

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

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

13 years agoFix error in postfix ++ in Crankshaft.
whesse@chromium.org [Tue, 17 May 2011 11:41:59 +0000 (11:41 +0000)]
Fix error in postfix ++ in Crankshaft.

Add HForceRepresentation, to represent the implicit ToNumber applied to the input of a count operation.

BUG=v8:1389

TEST=

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

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

13 years agoFix presubmit errors.
fschneider@chromium.org [Tue, 17 May 2011 11:24:38 +0000 (11:24 +0000)]
Fix presubmit errors.

TBR=whesse@chromium.org
Review URL: http://codereview.chromium.org/7017011

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

13 years agoFix bug restoring of JS entry sp so to fix profiler-related valgrind issues.
fschneider@chromium.org [Tue, 17 May 2011 11:11:12 +0000 (11:11 +0000)]
Fix bug restoring of JS entry sp so to fix profiler-related valgrind issues.

The profiler did not correctly identify when there was a JS frame
on the stack after an exception was thrown.

I also refactored the code to use PopTryHandler macro-instructions on all platforms

BUG=73722
TEST=No more valgrind errors related to v8::internal::StackFrameIterator.
Review URL: http://codereview.chromium.org/7019010

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

13 years agoOptimise the deoptimisation check to improve performance on modern ARM cores.
sgjesse@chromium.org [Tue, 17 May 2011 10:52:51 +0000 (10:52 +0000)]
Optimise the deoptimisation check to improve performance on modern ARM cores.

BUG=none
TEST=none

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

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

13 years agoMIPS: Remove peeophole optimizations from assembler.
sgjesse@chromium.org [Tue, 17 May 2011 10:34:02 +0000 (10:34 +0000)]
MIPS: Remove peeophole optimizations from assembler.

Following r7854.

BUG=
TEST=

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

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

13 years agoSubmit regexp-macro-assembler-mips.cc.
sgjesse@chromium.org [Tue, 17 May 2011 10:30:09 +0000 (10:30 +0000)]
Submit regexp-macro-assembler-mips.cc.

Also includes minor changes to regexp-macro-assembler.h.

Builds, but won't run until mips port submission is complete. Has
been tested externally.

BUG=
TEST=

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

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

13 years agoSubmit full-codegen-mips.cc.
sgjesse@chromium.org [Tue, 17 May 2011 10:24:44 +0000 (10:24 +0000)]
Submit full-codegen-mips.cc.

Includes an arch-independent change for FullCodeGenerator::Split()
prototype for mips, which requires two extra parameters.

Compiles, does not run yet. Tested externally.

BUG=
TEST=

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

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

13 years agoSubmit stub-cache-mips.cc.
sgjesse@chromium.org [Tue, 17 May 2011 10:07:42 +0000 (10:07 +0000)]
Submit stub-cache-mips.cc.

Compiles, but not testable until all of mips port is in place. It
has been tested externally.

BUG=
TEST=

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

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

13 years agoRemaining (forgotten) feedback for pixel array deopt fix
danno@chromium.org [Tue, 17 May 2011 07:22:01 +0000 (07:22 +0000)]
Remaining (forgotten) feedback for pixel array deopt fix

TBR=kmillikin@chromium.org
BUG=none
TEST=none

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

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

13 years agoImplement get trap for proxies.
rossberg@chromium.org [Mon, 16 May 2011 16:33:58 +0000 (16:33 +0000)]
Implement get trap for proxies.

TODO: reflective Object methods not handled yet.

BUG=
TEST=

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

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

13 years agoSupport conversion of clamped double values for pixel arrays in Crankshaft.
danno@chromium.org [Mon, 16 May 2011 14:10:56 +0000 (14:10 +0000)]
Support conversion of clamped double values for pixel arrays in Crankshaft.

BUG=1313
TEST=test/mjsunit/external-array.js

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

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

13 years agoPrepare push to trunk. Now working on version 3.3.8.
vegorov@chromium.org [Mon, 16 May 2011 11:28:23 +0000 (11:28 +0000)]
Prepare push to trunk. Now working on version 3.3.8.
Review URL: http://codereview.chromium.org/7030012

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

13 years agoExtend GCMole with poor man's data flow analysis to catch dead raw pointer vars.
vegorov@chromium.org [Mon, 16 May 2011 09:06:16 +0000 (09:06 +0000)]
Extend GCMole with poor man's data flow analysis to catch dead raw pointer vars.

Fix various places in the code found by improved GCMole.

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

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

13 years agoSubmit debug-mips.cc.
sgjesse@chromium.org [Mon, 16 May 2011 08:59:56 +0000 (08:59 +0000)]
Submit debug-mips.cc.

It compiles, but is not testable until the rest of the mips port
is in place. This has been tested externally.

BUG=
TEST=

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

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

13 years agoSubmit code-stubs-mips.cc.
sgjesse@chromium.org [Mon, 16 May 2011 08:38:19 +0000 (08:38 +0000)]
Submit code-stubs-mips.cc.

This submission required a small change to arch-indep code to declare
code stub DirectCEntry for mips.

It also required updates to macro-assembler-mips.cc & h and frames-mips.h.

I also made a small change to frames-mips.cc.

This code submission will compile, but is not testable until the majority
of the mips port is in place. It has been tested externally.

BUG=
TEST=

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

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

13 years agoLimit the number of local variables in a function
sgjesse@chromium.org [Mon, 16 May 2011 08:27:52 +0000 (08:27 +0000)]
Limit the number of local variables in a function

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

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

13 years agoFix typos in include/*.h inline documentation.
mikhail.naganov@gmail.com [Mon, 16 May 2011 06:36:43 +0000 (06:36 +0000)]
Fix typos in include/*.h inline documentation.

Patch by Nicolas Kaiser <nikai@nikai.net>

R=sgjesse@chromium.org
BUG=none
TEST=none

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

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

13 years agoRemoved a "feature envy" bad smell: Moved AssumeRepresentation method to where
svenpanne@chromium.org [Fri, 13 May 2011 13:29:02 +0000 (13:29 +0000)]
Removed a "feature envy" bad smell: Moved AssumeRepresentation method to where
it belongs.
Review URL: http://codereview.chromium.org/7015039

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

13 years agoFix uninitialized variable recording how much regexp code
erik.corry@gmail.com [Fri, 13 May 2011 11:10:18 +0000 (11:10 +0000)]
Fix uninitialized variable recording how much regexp code
has been generated.
Review URL: http://codereview.chromium.org/7015040

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

13 years agoA first skeleton for introducing Harmony proxies.
rossberg@chromium.org [Fri, 13 May 2011 10:58:25 +0000 (10:58 +0000)]
A first skeleton for introducing Harmony proxies.

1) Add new type JSProxy for representing proxy objects.
   Currently devoid of functionality, i.e., all properties are undefined.

2) Some rudimentary global $Proxy functions to create proxies.

Next step: Hook up getProperty and getOwnProperty handlers. Will probably
require introducing a new LookupResult type, which is a mixture of
INTERCEPTOR (handles any property) and CALLBACK (calls back to JS).
Can we unify this somehow?

TODO: Should probably rename existing Proxy type to something like
"Foreign", to avoid confusion.

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

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

13 years agoRemove more dead code.
svenpanne@chromium.org [Fri, 13 May 2011 09:25:05 +0000 (09:25 +0000)]
Remove more dead code.
Review URL: http://codereview.chromium.org/7013045

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

13 years agoIsolates cleanup: move top.cc to isolate.cc.
vitalyr@chromium.org [Fri, 13 May 2011 08:54:16 +0000 (08:54 +0000)]
Isolates cleanup: move top.cc to isolate.cc.

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

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

13 years agoRemoved dead code (ingenious 3-bit representation of types)
svenpanne@chromium.org [Fri, 13 May 2011 08:21:50 +0000 (08:21 +0000)]
Removed dead code (ingenious 3-bit representation of types)
Review URL: http://codereview.chromium.org/6973053

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

13 years agoUse type feedback for unary minus, improving the performance on e.g. 3d-cube by
svenpanne@chromium.org [Fri, 13 May 2011 08:21:35 +0000 (08:21 +0000)]
Use type feedback for unary minus, improving the performance on e.g. 3d-cube by
7.2% and math-cordic by 5.7%.
Review URL: http://codereview.chromium.org/7013025

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

13 years agoSubmit builtins-mips.cc.
sgjesse@chromium.org [Fri, 13 May 2011 07:27:46 +0000 (07:27 +0000)]
Submit builtins-mips.cc.

This code submission will compile, but is not testable until the majority
of the mips port is in place. This has been tested externally.

BUG=
TEST=

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

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

13 years agoOnly send null or undefined as receiver for es5 natives, not generally
ricow@chromium.org [Fri, 13 May 2011 07:26:44 +0000 (07:26 +0000)]
Only send null or undefined as receiver for es5 natives, not generally
for builtin functions.
Review URL: http://codereview.chromium.org/7012012

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

13 years agoMicro-optimize passing of args to HasLocalProperty.
vitalyr@chromium.org [Thu, 12 May 2011 16:19:03 +0000 (16:19 +0000)]
Micro-optimize passing of args to HasLocalProperty.

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

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

13 years agoDon't use environment values at certain deoptimize-instructions.
fschneider@chromium.org [Thu, 12 May 2011 14:56:56 +0000 (14:56 +0000)]
Don't use environment values at certain deoptimize-instructions.

If a HDeoptimize does not cut away parts of the control-flow-graph
we don't need to insert uses to correctly elimiate dead phis since
the full function is visible to the optimizing compiler.

This is a small improvement of the change r7221 which fixed a problem
when deoptimizing on never executed case-clauses.
Review URL: http://codereview.chromium.org/7012010

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

13 years agoIntroduce ic-mips.cc.
sgjesse@chromium.org [Thu, 12 May 2011 14:48:20 +0000 (14:48 +0000)]
Introduce ic-mips.cc.

This code submission will compile, but is not testable until the majority
of the mips port is in place. This has been tested externally.

BUG=
TEST=

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

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

13 years agoARM: Fix disasm for strh, vabs, vneg. Add load/store tests.
karlklose@chromium.org [Thu, 12 May 2011 14:44:49 +0000 (14:44 +0000)]
ARM: Fix disasm for strh, vabs, vneg. Add load/store tests.

Patch from ARM Ltd.

BUG=none
TEST=added to test/cctest/test-disasm-arm.cc

Original review at http://codereview.chromium.org/7013024/.

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

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

13 years agoMade the output of the --trace-representation flag a bit more informative and
svenpanne@chromium.org [Thu, 12 May 2011 13:36:49 +0000 (13:36 +0000)]
Made the output of the --trace-representation flag a bit more informative and
centralized its handling.
Review URL: http://codereview.chromium.org/6969034

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

13 years agoARM: Reduce amount of code generated for context save on deopt.
sgjesse@chromium.org [Thu, 12 May 2011 13:33:14 +0000 (13:33 +0000)]
ARM: Reduce amount of code generated for context save on deopt.

BUG=none
TEST=none

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

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

13 years agoMake the code flushing candidate field explicit in code objects.
ager@chromium.org [Thu, 12 May 2011 13:13:00 +0000 (13:13 +0000)]
Make the code flushing candidate field explicit in code objects.

This way it is counted and the rounding of the size will just work
without extra tweaking if you want to add an extra field to code
objects.

R=vegorov@chromium.org
BUG=
TEST=

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

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

13 years agoExtend the fast case of HasLocalProperty.
vitalyr@chromium.org [Thu, 12 May 2011 12:48:10 +0000 (12:48 +0000)]
Extend the fast case of HasLocalProperty.

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

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

13 years agoFixed TypeFeedbackOracle for unary operations: Record code for the corresponding
svenpanne@chromium.org [Thu, 12 May 2011 08:54:13 +0000 (08:54 +0000)]
Fixed TypeFeedbackOracle for unary operations: Record code for the corresponding
type recording IC.
Review URL: http://codereview.chromium.org/6973025

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

13 years agoSpeculative fix fo MultithreadedParallelIsolates on ARM
dslomov@chromium.org [Wed, 11 May 2011 17:29:47 +0000 (17:29 +0000)]
Speculative fix fo MultithreadedParallelIsolates on ARM
It looks like the problem with the test is too many concurrently created isolates.
Cranking the number to 100 on MacOS and Linux produce similar results.

BUG=http://code.google.com/p/v8/issues/detail?id=1375
TBR=vitalyr

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

13 years agoAdd constant splitting for user controlled constants in the full compiler
sgjesse@chromium.org [Wed, 11 May 2011 14:16:24 +0000 (14:16 +0000)]
Add constant splitting for user controlled constants in the full compiler

This is IA32 only for now.

Added a random value to each assembler instance (JIT cookie) to be used for constant splitting. Added safe versions of setting a register with an immediate value and for pushing an immediate value. Used these functions where user controlled immediate values could be emitted in the code stream. I also used it for immediates which are an argument number even though the number of formal arguments is currently limited to 16k.

I found no compares directly with user controlled constants.

I am not sure whether the test is that useful, but it might catch some changes missing constant splitting.

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

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

13 years agoKill some dead code.
vitalyr@chromium.org [Wed, 11 May 2011 13:45:30 +0000 (13:45 +0000)]
Kill some dead code.

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

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

13 years agoRemove support for branch hints from the IA32 and X64 assembler.
fschneider@chromium.org [Wed, 11 May 2011 13:26:07 +0000 (13:26 +0000)]
Remove support for branch hints from the IA32 and X64 assembler.

They were not on by default and should not be needed on modern
platforms.
Review URL: http://codereview.chromium.org/7001025

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

13 years agoSupport symbol comparison in crankshaft.
vitalyr@chromium.org [Wed, 11 May 2011 12:50:04 +0000 (12:50 +0000)]
Support symbol comparison in crankshaft.

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

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

13 years agoDon't emit code for HContext values with no uses.
whesse@chromium.org [Wed, 11 May 2011 12:11:23 +0000 (12:11 +0000)]
Don't emit code for HContext values with no uses.

BUG=
TEST=

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

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

13 years agoJSON.parse improvement. Call "LookupSymbol" rather than "NewString"
sandholm@chromium.org [Wed, 11 May 2011 11:56:15 +0000 (11:56 +0000)]
JSON.parse improvement. Call "LookupSymbol" rather than "NewString"
for property string tokens.
Review URL: http://codereview.chromium.org/7004016

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

13 years agoSupport %_IsUndetectableObject in crankshaft.
vitalyr@chromium.org [Wed, 11 May 2011 11:53:43 +0000 (11:53 +0000)]
Support %_IsUndetectableObject in crankshaft.

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

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

13 years agoPrepare push to trunk. Now working on version 3.3.7.
karlklose@chromium.org [Wed, 11 May 2011 11:34:56 +0000 (11:34 +0000)]
Prepare push to trunk. Now working on version 3.3.7.

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

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

13 years agoRemove peephole optimiziations from IA32 and ARM assembler.
fschneider@chromium.org [Wed, 11 May 2011 11:29:53 +0000 (11:29 +0000)]
Remove peephole optimiziations from IA32 and ARM assembler.

They are not used with Crankshaft anymore.
Review URL: http://codereview.chromium.org/7003025

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

13 years agoAllow closures to be optimized if outer contexts that call eval are all in strict...
ager@chromium.org [Wed, 11 May 2011 11:26:11 +0000 (11:26 +0000)]
Allow closures to be optimized if outer contexts that call eval are all in strict mode.

R=kmillikin@chromium.org
BUG=
TEST=mjsunit/compiler/eval-introduced-closure.js

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

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

13 years agoAdd case for EXTERNAL_ARRAY_TRANSITION to JSObject::NormalizeProperties
ricow@chromium.org [Wed, 11 May 2011 11:25:03 +0000 (11:25 +0000)]
Add case for EXTERNAL_ARRAY_TRANSITION to JSObject::NormalizeProperties
Review URL: http://codereview.chromium.org/7004014

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

13 years agoRecommit "First step in letting Crankshaft inline functions with a different context.""
whesse@chromium.org [Wed, 11 May 2011 11:03:12 +0000 (11:03 +0000)]
Recommit "First step in letting Crankshaft inline functions with a different context.""

This reverts r7810, thus recommitting 7807.

BUG=
TEST=

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

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

13 years agoRename parameters to fix Windows build
jkummerow@chromium.org [Wed, 11 May 2011 09:50:34 +0000 (09:50 +0000)]
Rename parameters to fix Windows build

TEST=compiles on Windows

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

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

13 years agoImproved c1visualizer output a bit: Emit a human-readable description for
svenpanne@chromium.org [Wed, 11 May 2011 09:19:28 +0000 (09:19 +0000)]
Improved c1visualizer output a bit: Emit a human-readable description for
changes instead of a bit-pattern. Fixed logic when ranges are emitted. Improved
indentation in hydrogen.cfg (aesthetical change only). Some minor additional
cleanup.
Review URL: http://codereview.chromium.org/6995024

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

13 years agoRemove NearLabel, replacing remaining occurrences with Label
jkummerow@chromium.org [Wed, 11 May 2011 09:12:16 +0000 (09:12 +0000)]
Remove NearLabel, replacing remaining occurrences with Label

TEST=compiles, existing tests pass

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

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

13 years agoAllow strict mode flag as extraicstate for keyed external array store ic
ricow@chromium.org [Wed, 11 May 2011 08:53:46 +0000 (08:53 +0000)]
Allow strict mode flag as extraicstate for keyed external array store ic

We currently hit an assertion in computeflags, but the extra_ic_state is used to pass the strict mode flag in.

BUG: 1383
Review URL: http://codereview.chromium.org/7003022

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

13 years agoAdd cctest/test-disasm-mips which was mistakenly omitted from r7825.
sgjesse@chromium.org [Wed, 11 May 2011 08:26:22 +0000 (08:26 +0000)]
Add cctest/test-disasm-mips which was mistakenly omitted from r7825.

BUG=
TEST=

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

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

13 years agoLimit the generation of regexp code with large inlined constants.
erik.corry@gmail.com [Wed, 11 May 2011 06:39:27 +0000 (06:39 +0000)]
Limit the generation of regexp code with large inlined constants.
Review URL: http://codereview.chromium.org/6997015

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

13 years agoAvoid using a register for constant external array indices.
jkummerow@chromium.org [Tue, 10 May 2011 15:25:17 +0000 (15:25 +0000)]
Avoid using a register for constant external array indices.

This CL is based on and obsoletes CL 6879037.

TEST=mjsunit/external-array.js

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

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

13 years agoFix timeout of test regress-1118.js
jkummerow@chromium.org [Tue, 10 May 2011 15:07:30 +0000 (15:07 +0000)]
Fix timeout of test regress-1118.js

TEST=mjsunit/regress/regress-1118.js no longer times out when run in the ARM simulator.

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

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

13 years agoReverted some code which got accidentally committed as part of another commit.
svenpanne@chromium.org [Tue, 10 May 2011 14:39:19 +0000 (14:39 +0000)]
Reverted some code which got accidentally committed as part of another commit.

TBR=vitalyr@chromium.org
Review URL: http://codereview.chromium.org/6994011

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

13 years agoFix lint.
vitalyr@chromium.org [Tue, 10 May 2011 14:21:23 +0000 (14:21 +0000)]
Fix lint.

TBR=svenpanne@chromium.org

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

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

13 years agoRefactor HCheckInstanceType to allow mask/tag tests.
vitalyr@chromium.org [Tue, 10 May 2011 14:17:23 +0000 (14:17 +0000)]
Refactor HCheckInstanceType to allow mask/tag tests.

This allows us to get rid of totally fake LAST_STRING_TYPE and makes
it possible to test for symbols.

I considered splitting HCheckInstanceType into two instructions, but
it seems nice to be able to hide the instance type implementation
details from the hydrogen level.

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

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

13 years agoA few "extract method" refactorings, trying to get individual method definitions
svenpanne@chromium.org [Tue, 10 May 2011 13:29:57 +0000 (13:29 +0000)]
A few "extract method" refactorings, trying to get individual method definitions
onto a sinlge 30" screen. A lot of times, the AST visitor stops a bit too early,
so we have to do the rest of the dispatch by hand. This is caused by the fact
that the kind of the AST nodes are a bit too coarse for some traversals (e.g. a
single node type for all binary ops), perhaps one could try to refine this a
little bit more.
Review URL: http://codereview.chromium.org/6963008

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

13 years agoARM: Disable test test-lockers/MultithreadedParallelIsolates because it is flaky.
karlklose@chromium.org [Tue, 10 May 2011 12:30:01 +0000 (12:30 +0000)]
ARM: Disable test test-lockers/MultithreadedParallelIsolates because it is flaky.

BUG=1375

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

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

13 years agofix x64 build error (introduced by rebasing)
jkummerow@chromium.org [Tue, 10 May 2011 09:15:21 +0000 (09:15 +0000)]
fix x64 build error (introduced by rebasing)

TEST=compiles

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

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

13 years agoMerge Label and NearLabel
jkummerow@chromium.org [Tue, 10 May 2011 09:03:42 +0000 (09:03 +0000)]
Merge Label and NearLabel

by adding NearLabel's functionality to Label and introducing a "near" parameter to jump instructions.

TEST=compiles; existing tests still pass.

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

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

13 years agoAdd new function ICCompareStub::GenerateSymbols to mips, introduced in r7824.
sgjesse@chromium.org [Tue, 10 May 2011 06:29:16 +0000 (06:29 +0000)]
Add new function ICCompareStub::GenerateSymbols to mips, introduced in r7824.

BUG=
TEST=

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

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

13 years agoPropagate a Failure from GenerateDictionaryNegativeLookup instead of causing GC.
vegorov@chromium.org [Mon, 9 May 2011 16:15:18 +0000 (16:15 +0000)]
Propagate a Failure from GenerateDictionaryNegativeLookup instead of causing GC.

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

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

13 years agoAdd IsCallable method for Object in the API
ager@chromium.org [Mon, 9 May 2011 15:24:48 +0000 (15:24 +0000)]
Add IsCallable method for Object in the API

Patch by Peter Varga.

BUG=none
TEST=cctest/test-api/CallableObject

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

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