platform/upstream/v8.git
11 years agoFixed constant folding in HMod.
svenpanne@chromium.org [Mon, 13 May 2013 07:32:38 +0000 (07:32 +0000)]
Fixed constant folding in HMod.

We have to check for overflow before attempting to do a modulo operation,
otherwise Crankshaft itself segfaults on some platforms, e.g. ia32. Added tests
even for division, where the problem doesn't show up, just to be sure...

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/14617014

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

11 years agoMIPS: Track heap objects.
palfia@homejinni.com [Fri, 10 May 2013 22:48:41 +0000 (22:48 +0000)]
MIPS: Track heap objects.

Port r14625 (bfb25ed8)

BUG=

Review URL: https://codereview.chromium.org/15102002

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

11 years agoMIPS: Call to the right slow method.
palfia@homejinni.com [Fri, 10 May 2013 22:47:49 +0000 (22:47 +0000)]
MIPS: Call to the right slow method.

Port r14608 (339e0877)

BUG=

Review URL: https://codereview.chromium.org/14980008

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

11 years agoReturn failure when allocating maps fails.
verwaest@chromium.org [Fri, 10 May 2013 17:43:04 +0000 (17:43 +0000)]
Return failure when allocating maps fails.

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14707011

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

11 years agoTrack heap objects.
verwaest@chromium.org [Fri, 10 May 2013 17:17:50 +0000 (17:17 +0000)]
Track heap objects.

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14996004

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

11 years agoAdd Persistent::ClearAndLeak.
mstarzinger@chromium.org [Fri, 10 May 2013 14:04:51 +0000 (14:04 +0000)]
Add Persistent::ClearAndLeak.

This will be relevant after Persistent is changed to Dispose itself when
destructed. With Persistent::ClearAndLeak, Blink can take the ownership of the
object pointed by a Persistent and avoid it getting destructed.

BUG=
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/15023010

Patch from Marja Hölttä <marja@chromium.org>.

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

11 years agoFix bogus arguments length check in StringLocaleCompare.
mstarzinger@chromium.org [Fri, 10 May 2013 13:50:10 +0000 (13:50 +0000)]
Fix bogus arguments length check in StringLocaleCompare.

R=rossberg@chromium.org
TEST=test262/15.5.4.9_3

Review URL: https://codereview.chromium.org/14972015

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

11 years agoRevert r14610 because of test-262 failures.
ulan@chromium.org [Fri, 10 May 2013 13:21:24 +0000 (13:21 +0000)]
Revert r14610 because of test-262 failures.

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14838012

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

11 years agoMIPS: Fix NaN handling for start and end indexes in ArraySlice.
palfia@homejinni.com [Fri, 10 May 2013 13:04:42 +0000 (13:04 +0000)]
MIPS: Fix NaN handling for start and end indexes in ArraySlice.

Casting NaN to int is unpredictable, on different architectures it produces different int value.

TEST=test262/S15.4.4.10_A2.1_T2, test262/S15.4.4.10_A2.2_T2

BUG=

Review URL: https://codereview.chromium.org/14812014

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

11 years agoUpdate Test262 harness to recent version.
mstarzinger@chromium.org [Fri, 10 May 2013 13:00:43 +0000 (13:00 +0000)]
Update Test262 harness to recent version.

R=rossberg@chromium.org
TEST=test262

Review URL: https://codereview.chromium.org/14644015

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

11 years agoRemove separate maps for function instances
wingo@igalia.com [Fri, 10 May 2013 12:59:20 +0000 (12:59 +0000)]
Remove separate maps for function instances

ES3 specified that functions created via Function() would have
enumerable prototypes, unlike function literals.  For this reason, V8
has always had two prototypes for functions: "function_map" for
literals, and "function_instance_map" for "function instances": those
functions created by Function().

However, since 2009 or so, both maps have been the same!  Both have had
writable, non-enumerable prototypes.  Moreover, ES5 changed to specify
that function instances would have non-enumerable prototypes.

This patch removes the separate maps for function instances in sloppy
and strict mode.

R=mstarzinger@chromium.org
TEST=mjsunit/function-prototype
BUG=

Review URL: https://codereview.chromium.org/14829005

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

11 years agoDeprecate the version of Context::New which returns a Persistent.
mstarzinger@chromium.org [Fri, 10 May 2013 12:48:53 +0000 (12:48 +0000)]
Deprecate the version of Context::New which returns a Persistent.

BUG=
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/15059016

Patch from Marja Hölttä <marja@chromium.org>.

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

11 years agoRobustification: Always assign an environment to LModI when a deopt is possible.
svenpanne@chromium.org [Fri, 10 May 2013 12:45:14 +0000 (12:45 +0000)]
Robustification: Always assign an environment to LModI when a deopt is possible.

Currently things only work because of a very fragile interaction between minus
zero propagation and range analysis.

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/14904008

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

11 years agoClear new-space promotion if the type is smi.
verwaest@chromium.org [Fri, 10 May 2013 12:19:34 +0000 (12:19 +0000)]
Clear new-space promotion if the type is smi.

R=mvstanton@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15098002

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

11 years agoCleaned up Crankshaft pipeline a bit.
svenpanne@chromium.org [Fri, 10 May 2013 11:32:13 +0000 (11:32 +0000)]
Cleaned up Crankshaft pipeline a bit.

Two tiny changes:

  * Some phases were missing an HPhase, which was added, so we can now see all
    phases in the visualizer output.

  * Consistently test commandline flags directly in the pipeline, making it
    clearer which parts are optional and which are not.

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/15074005

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

11 years agoSkip flaky regress-crbug-160010 regression test.
mstarzinger@chromium.org [Fri, 10 May 2013 10:39:16 +0000 (10:39 +0000)]
Skip flaky regress-crbug-160010 regression test.

R=ulan@chromium.org
BUG=chromium:160010
TEST=mjsunit/regress/regress-crbug-160010

Review URL: https://codereview.chromium.org/14908006

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

11 years agoRemove obsolete HArrayLiteral instruction.
mstarzinger@chromium.org [Fri, 10 May 2013 09:52:08 +0000 (09:52 +0000)]
Remove obsolete HArrayLiteral instruction.

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/14847013

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

11 years agoRemove obsolete HObjectLiteral instruction.
mstarzinger@chromium.org [Fri, 10 May 2013 09:47:05 +0000 (09:47 +0000)]
Remove obsolete HObjectLiteral instruction.

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/14972008

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

11 years agoUse AssumeRepresentation when the representation is known and will not change.
ulan@chromium.org [Fri, 10 May 2013 09:31:28 +0000 (09:31 +0000)]
Use AssumeRepresentation when the representation is known and will not change.

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14793014

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

11 years agoVerify that no-side-effects scope does not add unsafe phis and does not change push...
ulan@chromium.org [Fri, 10 May 2013 09:26:53 +0000 (09:26 +0000)]
Verify that no-side-effects scope does not add unsafe phis and does not change push-pop balance of the environment.

R=danno@chromium.org
BUG=v8:2671

Review URL: https://chromiumcodereview.appspot.com/14696015

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

11 years agoTurn on tracking of fields.
verwaest@chromium.org [Fri, 10 May 2013 09:12:52 +0000 (09:12 +0000)]
Turn on tracking of fields.

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14807006

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

11 years agoCall to the right slow method.
verwaest@chromium.org [Fri, 10 May 2013 09:12:30 +0000 (09:12 +0000)]
Call to the right slow method.

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14834009

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

11 years agoARM: fix constant pool length emitted for disassembler.
ulan@chromium.org [Fri, 10 May 2013 09:03:51 +0000 (09:03 +0000)]
ARM: fix constant pool length emitted for disassembler.

R=jfb@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14972007

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

11 years agoAlways use BuildCheckNonSmi, and don't emit check if HeapObject.
verwaest@chromium.org [Fri, 10 May 2013 08:58:58 +0000 (08:58 +0000)]
Always use BuildCheckNonSmi, and don't emit check if HeapObject.

R=mvstanton@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14731016

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

11 years agoDon't CheckSmi when type is Smi.
verwaest@chromium.org [Fri, 10 May 2013 08:39:37 +0000 (08:39 +0000)]
Don't CheckSmi when type is Smi.

R=mvstanton@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14890007

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

11 years agoPrepare push to trunk. Now working on version 3.19.1.
ulan@chromium.org [Fri, 10 May 2013 08:13:08 +0000 (08:13 +0000)]
Prepare push to trunk.  Now working on version 3.19.1.

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14919008

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

11 years agoARM: Fix register name in AllocateAsciiConsString.
plind44@gmail.com [Wed, 8 May 2013 22:21:54 +0000 (22:21 +0000)]
ARM: Fix register name in AllocateAsciiConsString.

BUG=
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/15024004

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

11 years agoMIPS: Use mutable heapnumbers to store doubles in fields.
palfia@homejinni.com [Wed, 8 May 2013 22:15:27 +0000 (22:15 +0000)]
MIPS: Use mutable heapnumbers to store doubles in fields.

Port r14597 (6e9d7149)

BUG=

Review URL: https://codereview.chromium.org/14607009

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

11 years agoParallel compilation bug: LCallNewArray dereferenced a handle unnecessarily.
mvstanton@chromium.org [Wed, 8 May 2013 16:48:27 +0000 (16:48 +0000)]
Parallel compilation bug: LCallNewArray dereferenced a handle unnecessarily.

BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/14761010

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

11 years agoFixed one spelling error.
danno@chromium.org [Wed, 8 May 2013 16:17:23 +0000 (16:17 +0000)]
Fixed one spelling error.

InitilizeVtuneForV8 --> InitializeVtuneForV8

R=danno@chromium.org

Review URL: https://codereview.chromium.org/14830004

Patch from Chunyang Dai <chunyang.dai@intel.com>.

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

11 years agoUse mutable heapnumbers to store doubles in fields.
verwaest@chromium.org [Wed, 8 May 2013 15:02:08 +0000 (15:02 +0000)]
Use mutable heapnumbers to store doubles in fields.

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14850006

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

11 years agoFix environment in HOptimizedGraphBuilder::VisitCountOperation. Follow-up for r14584.
ulan@chromium.org [Wed, 8 May 2013 14:58:06 +0000 (14:58 +0000)]
Fix environment in HOptimizedGraphBuilder::VisitCountOperation. Follow-up for r14584.

R=danno@chromium.org
BUG=v8:2671
TEST=mjsunit/regress/regress-2671-1.js

Review URL: https://chromiumcodereview.appspot.com/14972009

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

11 years agoSupport merging with distinct attributes.
verwaest@chromium.org [Wed, 8 May 2013 14:40:36 +0000 (14:40 +0000)]
Support merging with distinct attributes.

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14756012

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

11 years agoAlways generalize all representations when no transition is inserted.
verwaest@chromium.org [Wed, 8 May 2013 14:19:48 +0000 (14:19 +0000)]
Always generalize all representations when no transition is inserted.

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14696016

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

11 years agoTurn off tracking of fields for the roll.
verwaest@chromium.org [Wed, 8 May 2013 14:18:30 +0000 (14:18 +0000)]
Turn off tracking of fields for the roll.
Revert polymorphic stores suspect of crashes.

Revert "Turn on tracking of fields."
Revert "Turn polymorphic stores monomorphic if store sequence matches."
Revert "Fix polymorphic store."

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14812010

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

11 years agoConsistently start (almost) all AstPrinter::VisitFoo functions with IndentedScope.
svenpanne@chromium.org [Wed, 8 May 2013 13:24:45 +0000 (13:24 +0000)]
Consistently start (almost) all AstPrinter::VisitFoo functions with IndentedScope.

This makes IndentedScope the single point where we can print additional info in
the future, like e.g. AST IDs (at least when the TODOs are fixed). Minor other
cleanups.

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/15060005

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

11 years agoRefactoring only: Removed unused argument from IndentedScope constructor.
svenpanne@chromium.org [Wed, 8 May 2013 11:06:46 +0000 (11:06 +0000)]
Refactoring only: Removed unused argument from IndentedScope constructor.

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/14864008

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

11 years agoFix polymorphic store.
verwaest@chromium.org [Wed, 8 May 2013 10:34:51 +0000 (10:34 +0000)]
Fix polymorphic store.

Review URL: https://chromiumcodereview.appspot.com/14696011

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

11 years agoTurn polymorphic stores monomorphic if store sequence matches.
verwaest@chromium.org [Wed, 8 May 2013 09:39:26 +0000 (09:39 +0000)]
Turn polymorphic stores monomorphic if store sequence matches.

Review URL: https://chromiumcodereview.appspot.com/14796012

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

11 years agoTurn off optimize-constructed-arrays flag to investigate ARM perf issue
mvstanton@chromium.org [Wed, 8 May 2013 08:49:29 +0000 (08:49 +0000)]
Turn off optimize-constructed-arrays flag to investigate ARM perf issue

BUG=
R=danno@chromium.org

Review URL: https://codereview.chromium.org/14753007

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

11 years agoBias commutative single-use register inputs and support lea adds
danno@chromium.org [Wed, 8 May 2013 08:37:24 +0000 (08:37 +0000)]
Bias commutative single-use register inputs and support lea adds

This improves register allocation for many common add and multiply patterns on ia32 and x64 by reducing register pressure.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/14856015

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

11 years agoGenerators save and restore stack handlers
wingo@igalia.com [Wed, 8 May 2013 08:08:23 +0000 (08:08 +0000)]
Generators save and restore stack handlers

This CL adds machinery to unwind stack handlers from the stack and store
them into a generator's operand array.  It also includes routines to
reinstate them.  Together this allows generators to yield within
try/catch and try/finally blocks.

BUG=v8:2355
R=mstarzinger@chromium.org
TEST=mjsunit/harmony/generators-iteration

Review URL: https://codereview.chromium.org/14031028

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

11 years agofix nosnapshot test failure in 14793004, do not deprecate function
dcarney@chromium.org [Wed, 8 May 2013 07:45:16 +0000 (07:45 +0000)]
fix nosnapshot test failure in 14793004, do not deprecate function

BUG=
TBR=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/14947005

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

11 years agoDo not change environment between simulate and scope with no observable side-effects...
ulan@chromium.org [Wed, 8 May 2013 07:40:28 +0000 (07:40 +0000)]
Do not change environment between simulate and scope with no observable side-effects in HandlePropertyAssignment.

LChunkBuilder reconstructs the environment by applying simulates. A scope with no observable side-effects has no simulates. If the scope deoptimizes, then LChunkBuilder would miss the changes to the environment between the last simulate and the scope.

R=danno@chromium.org
BUG=v8:2671
TEST=mjsunit/regress/regress-2671.js

Review URL: https://chromiumcodereview.appspot.com/14793009

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

11 years agoMIPS: Becuase of cross-context calls, hydrogen-based Array constructor needs to ensur...
palfia@homejinni.com [Tue, 7 May 2013 23:15:27 +0000 (23:15 +0000)]
MIPS: Becuase of cross-context calls, hydrogen-based Array constructor needs to ensure the array constructor pointer passed in matches that of the current context.

Port r14581 (32067c11)

BUG=

Review URL: https://codereview.chromium.org/14761004

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

11 years agoMIPS: Generators return boxed values
palfia@homejinni.com [Tue, 7 May 2013 23:14:36 +0000 (23:14 +0000)]
MIPS: Generators return boxed values

Port r14563 (6d01adb8)

Original commit message:
Generators now box their return values in object literals of the form

  { value: VAL, done: DONE }

where DONE is false for yield expressions, and true for return
statements.

BUG=

Review URL: https://codereview.chromium.org/15009008

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

11 years agoBecuase of cross-context calls, hydrogen-based Array constructor needs to ensure
mvstanton@chromium.org [Tue, 7 May 2013 21:01:53 +0000 (21:01 +0000)]
Becuase of cross-context calls, hydrogen-based Array constructor needs to ensure
the array constructor pointer passed in matches that of the current context.

BUG=
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/14846017

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

11 years agoRevert "deprecate Context::New which returns Persistent"
mstarzinger@chromium.org [Tue, 7 May 2013 16:28:51 +0000 (16:28 +0000)]
Revert "deprecate Context::New which returns Persistent"

This reverts r14573 because of test failures in no-snapshot mode in the
cctest/test-debug/ScriptCollectedEventContext test case.

TBR=dcarney@chromium.org,svenpanne@chromium.org
TEST=cctest/test-debug/ScriptCollectedEventContext

Review URL: https://codereview.chromium.org/15038002

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

11 years agoDisable code flushing for native SharedFunctionInfo.
mstarzinger@chromium.org [Tue, 7 May 2013 15:18:01 +0000 (15:18 +0000)]
Disable code flushing for native SharedFunctionInfo.

R=hpayer@google.com
TEST=cctest/test-api/Threading4

Review URL: https://codereview.chromium.org/15018012

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

11 years agoImplement TypedArray.set function.
dslomov@chromium.org [Tue, 7 May 2013 14:42:17 +0000 (14:42 +0000)]
Implement TypedArray.set function.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/14581005

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

11 years agoUpdate mjsunit tests to be complaian with ES6 implementation of typed arrays
dslomov@chromium.org [Tue, 7 May 2013 14:03:50 +0000 (14:03 +0000)]
Update mjsunit tests to be complaian with ES6 implementation of typed arrays

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/14580012

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

11 years agoDisable flaky CPU profiler test case.
mstarzinger@chromium.org [Tue, 7 May 2013 14:02:31 +0000 (14:02 +0000)]
Disable flaky CPU profiler test case.

R=svenpanne@chromium.org
BUG=v8:2628
TEST=cctest/test-cpu-profiler/CollectCpuProfile

Review URL: https://codereview.chromium.org/14767021

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

11 years agodeprecate Context::New which returns Persistent
dcarney@chromium.org [Tue, 7 May 2013 13:29:24 +0000 (13:29 +0000)]
deprecate Context::New which returns Persistent

BUG=
TBR=marja@chromium.org

Review URL: https://codereview.chromium.org/14793004

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

11 years agoPrevent grokdump from crying about invalid input.
mstarzinger@chromium.org [Tue, 7 May 2013 13:24:04 +0000 (13:24 +0000)]
Prevent grokdump from crying about invalid input.

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/14660012

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

11 years agoFree up 11 bits in fast-mode PropertyDetails by removing the enumeration-index.
verwaest@chromium.org [Tue, 7 May 2013 13:09:23 +0000 (13:09 +0000)]
Free up 11 bits in fast-mode PropertyDetails by removing the enumeration-index.

The descriptors are nowadays ordered in order of addition, so that info was
duplicated.

Review URL: https://chromiumcodereview.appspot.com/14622005

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

11 years agoAdd Persistent<T>::Reset which disposes the handle and redirects it to point to anoth...
dcarney@chromium.org [Tue, 7 May 2013 12:37:22 +0000 (12:37 +0000)]
Add Persistent<T>::Reset which disposes the handle and redirects it to point to another object.

BUG=
R=dcarney@chromium.org, svenpanne@chromium.org

Review URL: https://codereview.chromium.org/14788013

Patch from Marja Hölttä <marja@chromium.org>.

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

11 years agoObject.observe: disable freezing changeRecords until it can be made fast
rossberg@chromium.org [Tue, 7 May 2013 12:20:33 +0000 (12:20 +0000)]
Object.observe: disable freezing changeRecords until it can be made fast

R=rossberg,adamk
BUG=

Review URL: https://codereview.chromium.org/15017003

Patch from Rafael Weinstein <rafaelw@chromium.org>.

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

11 years agoFix braindead Handle::is_identical_to
rossberg@chromium.org [Tue, 7 May 2013 12:02:15 +0000 (12:02 +0000)]
Fix braindead Handle::is_identical_to

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/14660008

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

11 years agoFast-forward version number on bleeding_edge. Now working on version 3.19.0.
danno@chromium.org [Tue, 7 May 2013 11:43:43 +0000 (11:43 +0000)]
Fast-forward version number on bleeding_edge. Now working on version 3.19.0.

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/14580009

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

11 years agoadd weakcallback without persistent copying
dcarney@chromium.org [Tue, 7 May 2013 10:44:30 +0000 (10:44 +0000)]
add weakcallback without persistent copying

R=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/14908004

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

11 years agoFix polymorphic to monomorphic load to take representation into account.
verwaest@chromium.org [Tue, 7 May 2013 10:32:23 +0000 (10:32 +0000)]
Fix polymorphic to monomorphic load to take representation into account.

Review URL: https://chromiumcodereview.appspot.com/14966005

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

11 years agoPerform incremental marking step after free-list allocation and clean-up incremental...
hpayer@chromium.org [Tue, 7 May 2013 09:48:42 +0000 (09:48 +0000)]
Perform incremental marking step after free-list allocation and clean-up incremental marking start condition.

BUG=

Review URL: https://codereview.chromium.org/14634007

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

11 years agoGenerators return boxed values
wingo@igalia.com [Tue, 7 May 2013 08:46:42 +0000 (08:46 +0000)]
Generators return boxed values

Generators now box their return values in object literals of the form

  { value: VAL, done: DONE }

where DONE is false for yield expressions, and true for return
statements.

BUG=v8:2355
TEST=mjsunit/harmony/generators-iteration
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/13870007

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

11 years agoremove use of WriteAscii for vtune
dcarney@chromium.org [Tue, 7 May 2013 07:23:39 +0000 (07:23 +0000)]
remove use of WriteAscii for vtune

R=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/14900003

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

11 years agoAdded an extra flag that enables only ArrayBuffer.
dslomov@chromium.org [Mon, 6 May 2013 16:19:27 +0000 (16:19 +0000)]
Added an extra flag that enables only ArrayBuffer.

This makes Blink experimentation easier.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/14884012

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

11 years agoFix incremental marking speed accelleration and start incremental marking when old...
hpayer@chromium.org [Mon, 6 May 2013 16:17:49 +0000 (16:17 +0000)]
Fix incremental marking speed accelleration and start incremental marking when old space is almost full when pretenuring objects.

BUG=

Review URL: https://codereview.chromium.org/14714004

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

11 years agoRevert fix incremental marking speed accelleration and start incremental marking...
hpayer@chromium.org [Mon, 6 May 2013 13:39:54 +0000 (13:39 +0000)]
Revert fix incremental marking speed accelleration and start incremental marking when old space is almost full when pretenuring objects.

BUG=

Review URL: https://codereview.chromium.org/14988004

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

11 years agoFix incremental marking speed accelleration and start incremental marking when old...
hpayer@chromium.org [Mon, 6 May 2013 13:07:10 +0000 (13:07 +0000)]
Fix incremental marking speed accelleration and start incremental marking when old space is almost full when pretenuring objects.

BUG=

Review URL: https://codereview.chromium.org/14649014

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

11 years agoMake v8 compilable without V8_USE_UNSAFE_HANDLES.
dcarney@chromium.org [Mon, 6 May 2013 13:01:03 +0000 (13:01 +0000)]
Make v8 compilable without V8_USE_UNSAFE_HANDLES.

Without this modification, we get this error: "dereferencing type-punned pointer
will break strict-aliasing rules" (GCC strict aliasing).

Also included small CcTest sanity fixes: isolate() cannot return anything else
than default_isolate().

BUG=
TBR=dcarney@chromium.org

Review URL: https://codereview.chromium.org/14894006

Patch from Marja Hölttä <marja@chromium.org>.

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

11 years agoParallel compilation fix: the optimizer thread shouldn't change the allow allocation...
mvstanton@chromium.org [Mon, 6 May 2013 10:59:17 +0000 (10:59 +0000)]
Parallel compilation fix: the optimizer thread shouldn't change the allow allocation state on AssertNoAllocation scopes.

BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/14796014

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

11 years agoFix occasional crash when lithium goes out of vregs.
mmassi@chromium.org [Mon, 6 May 2013 09:27:06 +0000 (09:27 +0000)]
Fix occasional crash when lithium goes out of vregs.

BUG=
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/14850013

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

11 years agoMIPS: Pretenure ASCII cons string in high promotion mode.
palfia@homejinni.com [Fri, 3 May 2013 23:55:08 +0000 (23:55 +0000)]
MIPS: Pretenure ASCII cons string in high promotion mode.

Port r14540 (c6093a6e)

BUG=

Review URL: https://codereview.chromium.org/14678006

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

11 years agoMIPS: Before comparing input with a constant smi in GenerateRecordCallTarget(), make...
palfia@homejinni.com [Fri, 3 May 2013 23:51:25 +0000 (23:51 +0000)]
MIPS: Before comparing input with a constant smi in GenerateRecordCallTarget(), make sure the input register is actually a smi.

Port r14547 (a2e764c7)

BUG=

Review URL: https://codereview.chromium.org/14597006

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

11 years agoBefore comparing input with a constant smi in GenerateRecordCallTarget(), make sure...
mvstanton@chromium.org [Fri, 3 May 2013 15:18:31 +0000 (15:18 +0000)]
Before comparing input with a constant smi in GenerateRecordCallTarget(), make sure the input register is actually a smi.

BUG=

Review URL: https://codereview.chromium.org/14803005

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

11 years agoCache first hint operand while building live ranges.
mstarzinger@chromium.org [Fri, 3 May 2013 14:58:06 +0000 (14:58 +0000)]
Cache first hint operand while building live ranges.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/14771015

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

11 years agoDon't double unlink in DCE.
verwaest@chromium.org [Fri, 3 May 2013 13:39:11 +0000 (13:39 +0000)]
Don't double unlink in DCE.

Review URL: https://chromiumcodereview.appspot.com/14914004

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

11 years agotoString() on generator functions prints with function*
wingo@igalia.com [Fri, 3 May 2013 13:01:28 +0000 (13:01 +0000)]
toString() on generator functions prints with function*

This CL adds a %FunctionIsGenerator runtime function, and uses it in the
function toString() implementation.

R=mstarzinger@chromium.org
BUG=v8:2355
TEST=mjsunit/harmony/generators-runtime

Review URL: https://codereview.chromium.org/14912002

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

11 years agoRemove obsolete LiveRange::FirstPosWithHint helper.
mstarzinger@chromium.org [Fri, 3 May 2013 12:49:48 +0000 (12:49 +0000)]
Remove obsolete LiveRange::FirstPosWithHint helper.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/14650016

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

11 years agoRemove HLoadElements instruction and replace with use of more general HLoadNamedField...
titzer@chromium.org [Fri, 3 May 2013 12:21:16 +0000 (12:21 +0000)]
Remove HLoadElements instruction and replace with use of more general HLoadNamedField. This removes the need for both the hydrogen and lithium instructions and allows both kinds of loads to be GVN'd.

Review URL: https://codereview.chromium.org/14556020

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

11 years agoTurn on tracking of fields.
verwaest@chromium.org [Fri, 3 May 2013 11:05:54 +0000 (11:05 +0000)]
Turn on tracking of fields.

Review URL: https://chromiumcodereview.appspot.com/14771014

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

11 years agoPretenure ASCII cons string in high promotion mode.
hpayer@chromium.org [Fri, 3 May 2013 10:36:16 +0000 (10:36 +0000)]
Pretenure ASCII cons string in high promotion mode.

BUG=

Review URL: https://codereview.chromium.org/14451003

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

11 years agod8 shell fix for r14530
dcarney@chromium.org [Fri, 3 May 2013 10:36:13 +0000 (10:36 +0000)]
d8 shell fix for r14530

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/14907004

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

11 years agoAdd type checks to typed array property getters.
dslomov@chromium.org [Fri, 3 May 2013 09:59:50 +0000 (09:59 +0000)]
Add type checks to typed array property getters.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/14650014

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

11 years agoImplement TypedArray.subarray method.
dslomov@chromium.org [Fri, 3 May 2013 09:43:44 +0000 (09:43 +0000)]
Implement TypedArray.subarray method.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/14740017

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

11 years agoRemove 'unanimous use observations' rule from Phi representation inference
jkummerow@chromium.org [Fri, 3 May 2013 08:50:48 +0000 (08:50 +0000)]
Remove 'unanimous use observations' rule from Phi representation inference

Review URL: https://codereview.chromium.org/14840014

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

11 years agoOverwrite the handler using Set.
verwaest@chromium.org [Fri, 3 May 2013 08:48:53 +0000 (08:48 +0000)]
Overwrite the handler using Set.
InsertAt apparently inserts by moving the other elements... that does not work.

Review URL: https://chromiumcodereview.appspot.com/14566007

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

11 years agoUse first position in LAllocator ordering heuristic.
mstarzinger@chromium.org [Fri, 3 May 2013 08:09:37 +0000 (08:09 +0000)]
Use first position in LAllocator ordering heuristic.

This changes the tiebreaker for LAllocator's ordering heuristic of
live ranges to use the first use position instead of the first hinted
use position. Searching for the first hinted position introduces
unnecessary overhead.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/14855010

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

11 years agodeprecate WriteAscii and MayContainNonAscii
dcarney@chromium.org [Fri, 3 May 2013 06:47:24 +0000 (06:47 +0000)]
deprecate WriteAscii and MayContainNonAscii

R=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/14638003

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

11 years agobuild fix for 14530
dcarney@chromium.org [Thu, 2 May 2013 22:00:39 +0000 (22:00 +0000)]
build fix for 14530

TBR=svenpanne@chromium.org
BUG=
TEST=

Review URL: https://codereview.chromium.org/14881002

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

11 years agoexpose AssertNoAllocation to api
dcarney@chromium.org [Thu, 2 May 2013 20:28:02 +0000 (20:28 +0000)]
expose AssertNoAllocation to api

R=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/14625003

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

11 years agofirst step to remove unsafe handles
dcarney@chromium.org [Thu, 2 May 2013 20:18:42 +0000 (20:18 +0000)]
first step to remove unsafe handles

R=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/12729023

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

11 years agoMIPS: Turn the load field code stub into a hydrogen code stub.
palfia@homejinni.com [Thu, 2 May 2013 18:25:16 +0000 (18:25 +0000)]
MIPS: Turn the load field code stub into a hydrogen code stub.

Port r14526 (7c581932)

BUG=

Review URL: https://codereview.chromium.org/14855008

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

11 years agoUse worklist to find out Phis that could not be truncated to int32
jkummerow@chromium.org [Thu, 2 May 2013 17:00:53 +0000 (17:00 +0000)]
Use worklist to find out Phis that could not be truncated to int32

Review URL: https://codereview.chromium.org/13950013

Patch from Haitao Feng <haitao.feng@intel.com>.

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

11 years agoFix typo in cctest.status
jkummerow@chromium.org [Thu, 2 May 2013 16:55:18 +0000 (16:55 +0000)]
Fix typo in cctest.status

Review URL: https://codereview.chromium.org/14854011

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

11 years agoTurn the load field code stub into a hydrogen code stub.
verwaest@chromium.org [Thu, 2 May 2013 16:32:47 +0000 (16:32 +0000)]
Turn the load field code stub into a hydrogen code stub.

Review URL: https://chromiumcodereview.appspot.com/14847004

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

11 years agoDetect truncating Phi uses of Phis with constant inputs
jkummerow@chromium.org [Thu, 2 May 2013 16:30:58 +0000 (16:30 +0000)]
Detect truncating Phi uses of Phis with constant inputs

Review URL: https://codereview.chromium.org/14260013

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

11 years agoCleanup IC heuristics.
verwaest@chromium.org [Thu, 2 May 2013 15:42:22 +0000 (15:42 +0000)]
Cleanup IC heuristics.

Review URL: https://chromiumcodereview.appspot.com/14611006

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

11 years agoAdding fast path for generalizing maps.
verwaest@chromium.org [Thu, 2 May 2013 15:41:02 +0000 (15:41 +0000)]
Adding fast path for generalizing maps.

Review URL: https://chromiumcodereview.appspot.com/14629005

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

11 years agoUpdate deprecated maps before generating optimized code.
verwaest@chromium.org [Thu, 2 May 2013 15:40:07 +0000 (15:40 +0000)]
Update deprecated maps before generating optimized code.

Review URL: https://chromiumcodereview.appspot.com/14847008

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

11 years agoAlways tag number candidate as smi if it does not come from load-keyed.
verwaest@chromium.org [Thu, 2 May 2013 14:41:06 +0000 (14:41 +0000)]
Always tag number candidate as smi if it does not come from load-keyed.

Review URL: https://chromiumcodereview.appspot.com/14556007

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