platform/upstream/v8.git
11 years agoFixed x64 disassembler for cmpb_al
svenpanne@chromium.org [Fri, 21 Dec 2012 13:50:17 +0000 (13:50 +0000)]
Fixed x64 disassembler for cmpb_al

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

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

11 years agoAdded (dis-)assembler support for movmskps on ia32 and x64.
svenpanne@chromium.org [Fri, 21 Dec 2012 13:47:08 +0000 (13:47 +0000)]
Added (dis-)assembler support for movmskps on ia32 and x64.

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

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

11 years agoFast-forward version 3.15.12 to 3.16.0.
yangguo@chromium.org [Fri, 21 Dec 2012 13:44:40 +0000 (13:44 +0000)]
Fast-forward version 3.15.12 to 3.16.0.

Now working on 3.16.1.

BUG=

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

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

11 years agoPrepare push to trunk. Now working on version 3.15.13.
yangguo@chromium.org [Fri, 21 Dec 2012 12:33:30 +0000 (12:33 +0000)]
Prepare push to trunk.  Now working on version 3.15.13.

R=svenpanne@chromium.org
BUG=

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

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

11 years agoRefactoring only: Use CheckSSE2OperandIsInt32 instead of copy-n-paste code.
svenpanne@chromium.org [Fri, 21 Dec 2012 10:19:42 +0000 (10:19 +0000)]
Refactoring only: Use CheckSSE2OperandIsInt32 instead of copy-n-paste code.

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

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

11 years agoRefactored deopt tracing and FindOptimizedCode. Fixed a bug when printing stubs.
svenpanne@chromium.org [Fri, 21 Dec 2012 07:18:56 +0000 (07:18 +0000)]
Refactored deopt tracing and FindOptimizedCode. Fixed a bug when printing stubs.

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

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

11 years agoMIPS: ARM: fix a bug with saving lr register in GenerateSmiToDouble.
danno@chromium.org [Thu, 20 Dec 2012 17:07:38 +0000 (17:07 +0000)]
MIPS: ARM: fix a bug with saving lr register in GenerateSmiToDouble.

Port r13107 (63aea0a3)

BUG=
TEST=

Review URL: https://codereview.chromium.org/11574013
Patch from Akos Palfi <palfia@homejinni.com>.

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

11 years agoARM: Use division instructions in lithium and stubs
danno@chromium.org [Thu, 20 Dec 2012 16:31:19 +0000 (16:31 +0000)]
ARM: Use division instructions in lithium and stubs

BUG=none
TEST=Added to test/mjsunit/math-floor-of-div.js, math-floor-of-div-nosudiv.js

Review URL: https://codereview.chromium.org/11316105
Patch from Martyn Capewell <m.m.capewell@googlemail.com>.

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

11 years agoFix several bugs in error stack trace formatting.
yangguo@chromium.org [Thu, 20 Dec 2012 16:25:26 +0000 (16:25 +0000)]
Fix several bugs in error stack trace formatting.

GetScriptWrapper can be called recursively:
GetScriptWrapper -> GC -> DeferredFormatStackTrace -> GetScriptWrapper

GC-unsafe code in ErrorObjectList::DeferredFormatStackTrace

Enable overwriting Error.prepareStackTrace by itself while not
causing infinity recursion when it triggers an exception.

R=ulan@chromium.org
BUG=

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

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

11 years agoObject.observe: fix observation for optimised in/decrement and compound assignment.
rossberg@chromium.org [Thu, 20 Dec 2012 15:03:30 +0000 (15:03 +0000)]
Object.observe: fix observation for optimised in/decrement and compound assignment.

R=svenpanne@chromium.org
BUG=v8:2409

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

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

11 years agoObject.observe: temporarily disable one test to unbreak ARM.
rossberg@chromium.org [Thu, 20 Dec 2012 14:12:41 +0000 (14:12 +0000)]
Object.observe: temporarily disable one test to unbreak ARM.

R=danno@chromium.org
BUG=

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

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

11 years agoRemove redundant loads in DoCheckMaps
danno@chromium.org [Thu, 20 Dec 2012 14:05:14 +0000 (14:05 +0000)]
Remove redundant loads in DoCheckMaps
Hoist the loop-invariant load out of the loop and call the other CheckMap function
BUG=none
TEST=none

Committed: https://code.google.com/p/v8/source/detail?r=13200

Review URL: https://codereview.chromium.org/11369014
Patch from Rajeev Krithivasan <rkrithiv@codeaurora.org>.

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

11 years agoRefactoring only: Extracted a method for finding optimized code.
svenpanne@chromium.org [Thu, 20 Dec 2012 13:05:16 +0000 (13:05 +0000)]
Refactoring only: Extracted a method for finding optimized code.

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

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

11 years agoRefactoring only: Extracted method to print deopt location.
svenpanne@chromium.org [Thu, 20 Dec 2012 11:53:42 +0000 (11:53 +0000)]
Refactoring only: Extracted method to print deopt location.

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

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

11 years agoRefactoring only: Move stuff to DeoptimizerData where it belongs. Use "for".
svenpanne@chromium.org [Thu, 20 Dec 2012 09:47:09 +0000 (09:47 +0000)]
Refactoring only: Move stuff to DeoptimizerData where it belongs. Use "for".

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

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

11 years agoFix windows build errors.
yangguo@chromium.org [Thu, 20 Dec 2012 09:33:55 +0000 (09:33 +0000)]
Fix windows build errors.

R=dcarney@chromium.org
BUG=

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

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

11 years agoRemove Utf8InputBuffer
yangguo@chromium.org [Thu, 20 Dec 2012 09:20:37 +0000 (09:20 +0000)]
Remove Utf8InputBuffer

R=yangguo@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/11649018
Patch from Dan Carney <dcarney@google.com>.

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

11 years agoFix ARM code for DoModI.
yangguo@chromium.org [Thu, 20 Dec 2012 09:07:05 +0000 (09:07 +0000)]
Fix ARM code for DoModI.

R=ulan@chromium.org
BUG=166379

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

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

11 years agoObject.observe: test mutating an object via the API
adamk@chromium.org [Wed, 19 Dec 2012 17:02:12 +0000 (17:02 +0000)]
Object.observe: test mutating an object via the API

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

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

11 years agoFix treatment of hidden prototypes in SetProperty.
rossberg@chromium.org [Wed, 19 Dec 2012 15:17:01 +0000 (15:17 +0000)]
Fix treatment of hidden prototypes in SetProperty.

R=svenpanne@chromium.org
BUG=v8:2457

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

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

11 years agoFix windows compile warnings.
yangguo@chromium.org [Wed, 19 Dec 2012 13:57:51 +0000 (13:57 +0000)]
Fix windows compile warnings.

R=dcarney@chromium.org
BUG=

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

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

11 years agoFix compile warning.
yangguo@chromium.org [Wed, 19 Dec 2012 13:38:00 +0000 (13:38 +0000)]
Fix compile warning.

R=ulan@chromium.org
BUG=

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

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

11 years agoReplace the use CharacterStreams in Heap::AllocateSymbolInternal and String::ComputeHash
yangguo@chromium.org [Wed, 19 Dec 2012 13:27:20 +0000 (13:27 +0000)]
Replace the use CharacterStreams in Heap::AllocateSymbolInternal and String::ComputeHash

R=yangguo@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/11593007
Patch from Dan Carney <dcarney@google.com>.

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

11 years agoDeopt on overflow in integer mod.
yangguo@chromium.org [Wed, 19 Dec 2012 12:01:22 +0000 (12:01 +0000)]
Deopt on overflow in integer mod.

R=ulan@chromium.org
BUG=166379

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

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

11 years agoExtend API to allow setting length property for function templates.
rossberg@chromium.org [Wed, 19 Dec 2012 10:28:36 +0000 (10:28 +0000)]
Extend API to allow setting length property for function templates.

R=yangguo@chromium.org
BUG=125308

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

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

11 years agoObject.observe: Change semantics of deliverChangeRecords to iterate.
rossberg@chromium.org [Wed, 19 Dec 2012 09:51:46 +0000 (09:51 +0000)]
Object.observe: Change semantics of deliverChangeRecords to iterate.

Added test for recursive change generation.

R=yangguo@chromium.org
BUG=v8:2409

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

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

11 years agoUnbreak --trace-codegen
svenpanne@chromium.org [Wed, 19 Dec 2012 09:31:12 +0000 (09:31 +0000)]
Unbreak --trace-codegen

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

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

11 years agoFixed resizing of deopt table
svenpanne@chromium.org [Wed, 19 Dec 2012 07:36:38 +0000 (07:36 +0000)]
Fixed resizing of deopt table

BUG=chrome:166554

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

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

11 years agoRe-land Crankshaft-generated KeyedLoad stubs.
danno@chromium.org [Tue, 18 Dec 2012 16:25:45 +0000 (16:25 +0000)]
Re-land Crankshaft-generated KeyedLoad stubs.

R=jkummerow@chromium.org

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

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

11 years agoCorrectly handle negative codes in String.fromCharCode()
ulan@chromium.org [Tue, 18 Dec 2012 12:37:57 +0000 (12:37 +0000)]
Correctly handle negative codes in String.fromCharCode()

BUG=166553

R=yangguo@chromium.org

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

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

11 years agoSimplify implementation of assignment-to-const checks.
rossberg@chromium.org [Tue, 18 Dec 2012 12:00:50 +0000 (12:00 +0000)]
Simplify implementation of assignment-to-const checks.

Also, add test that assignment to function name is a syntax error with harmony scoping.

Does not fix issue 2243 directly, but with ES6, the required behaviour will change to what is implemented already anyway.

R=yangguo@chromium.org
BUG=v8:2243

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

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

11 years agoMade store buffer compaction more predictable.
svenpanne@chromium.org [Tue, 18 Dec 2012 10:54:15 +0000 (10:54 +0000)]
Made store buffer compaction more predictable.

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

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

11 years agoHardfloat does not imply VFPv3, only VFPv2.
yangguo@chromium.org [Tue, 18 Dec 2012 09:48:51 +0000 (09:48 +0000)]
Hardfloat does not imply VFPv3, only VFPv2.

Raspberry Pi is an example.

BUG=v8:2393

Review URL: https://chromiumcodereview.appspot.com/11570061
Patch from Chi-Thanh Christopher Nguyen <nguyenchithanh@gmail.com>.

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

11 years agoinclude: fix String::New() comment
yangguo@chromium.org [Tue, 18 Dec 2012 09:22:25 +0000 (09:22 +0000)]
include: fix String::New() comment

Review URL: https://chromiumcodereview.appspot.com/11446035
Patch from Ben Noordhuis <ben@c9.io>.

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

11 years agoMIPS: Improve array to string conversion.
yangguo@chromium.org [Tue, 18 Dec 2012 09:21:05 +0000 (09:21 +0000)]
MIPS: Improve array to string conversion.

Port r13144 (71c45300)

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/11573017
Patch from Akos Palfi <palfia@homejinni.com>.

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

11 years agoRename LookupSymbol calls to use Utf8 or OneByte in names.
yangguo@chromium.org [Mon, 17 Dec 2012 15:56:16 +0000 (15:56 +0000)]
Rename LookupSymbol calls to use Utf8 or OneByte in names.

R=yangguo@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/11597007
Patch from Dan Carney <dcarney@google.com>.

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

11 years agoMake sure error message formatting does not have side effects.
yangguo@chromium.org [Mon, 17 Dec 2012 14:00:50 +0000 (14:00 +0000)]
Make sure error message formatting does not have side effects.

R=vegorov@chromium.org
BUG=

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

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

11 years agoImplement OS::DumpBacktrace() on FreeBSD.
yangguo@chromium.org [Mon, 17 Dec 2012 10:50:19 +0000 (10:50 +0000)]
Implement OS::DumpBacktrace() on FreeBSD.

Review URL: https://chromiumcodereview.appspot.com/11595004
Patch from Ben Noordhuis <ben@c9.io>.

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

11 years agoUse a filter instead of a visitor to deoptimize selected functions in a context.
ulan@chromium.org [Mon, 17 Dec 2012 10:23:52 +0000 (10:23 +0000)]
Use a filter instead of a visitor to deoptimize selected functions in a context.

This makes the DeoptimizeAll function O(n) instead of O(n^2) where n in the number of optimized functions.

Before this change, DeoptimizeAll iterated over the optimized function list and called DeoptimizingVisitor for each function. The visitor iterated over the optimized function list again to remove the functions that share the same optimized code.

This change partitions the optimized function list into one or more lists of related functions in one pass over the optimized function list.

R=mstarzinger@chromium.org

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

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

11 years agoFix set variable value bug: a function argument must be updated in 2 places
peter.rybin@gmail.com [Fri, 14 Dec 2012 18:36:51 +0000 (18:36 +0000)]
Fix set variable value bug: a function argument must be updated in 2 places

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

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

11 years agoAttempt to fix build.
rossberg@chromium.org [Fri, 14 Dec 2012 14:39:18 +0000 (14:39 +0000)]
Attempt to fix build.

R=ulan@chromium.org
BUG=

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

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

11 years agoV8_Fatal now prints C++ stack trace in debug mode.
rossberg@chromium.org [Fri, 14 Dec 2012 14:27:06 +0000 (14:27 +0000)]
V8_Fatal now prints C++ stack trace in debug mode.

Currently only supported on Linux. When compiled with GCC, also demangles C++ identifier names.

Should make debugging those flaky crashes on buildbots easier... :)

R=mstarzinger@chromium.org,ulan@chromium.org
BUG=

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

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

11 years agoObject.oberve: assertions to narrow down flaky crashes with array length mutation.
rossberg@chromium.org [Fri, 14 Dec 2012 14:19:18 +0000 (14:19 +0000)]
Object.oberve: assertions to narrow down flaky crashes with array length mutation.

R=mstarzinger@chromium.org
BUG=v8:2409

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

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

11 years agoMake string test resilient against GC stress.
mstarzinger@chromium.org [Fri, 14 Dec 2012 12:45:28 +0000 (12:45 +0000)]
Make string test resilient against GC stress.

R=dcarney@chromium.org
TEST=cctest/test-strings/StringCharacterStreamRandom

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

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

11 years agoRevert r13218 due to windows test failures.
yangguo@chromium.org [Thu, 13 Dec 2012 17:21:15 +0000 (17:21 +0000)]
Revert r13218 due to windows test failures.

R=verwaest@chromium.org
BUG=

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

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

11 years agoAdd methods to allow resuming execution after calling TerminateExecution().
yangguo@chromium.org [Thu, 13 Dec 2012 16:38:49 +0000 (16:38 +0000)]
Add methods to allow resuming execution after calling TerminateExecution().

Two new methods are added to allow embedders to determine that execution
should be resumed at a particular point in the stack without being forced
to unwind all JS frames.

* V8::ResumeExecution() -- When execution is terminated via a call to
  V8::TerminateExecution(), this method can be called to clear the
  termination exception so that the engine can continue to be used.

* TryCatch::HasTerminated() -- When a TryCatch has caught a termination
  exception, HasTerminated() will return true to indicate it is valid to
  call V8::ResumeExecution() if desired.

A test case is added to cctest/test-thread-termination.cc.

BUG=v8:2361

Patch from Andrew Paprocki <andrew@ishiboo.com>.

Review URL: https://chromiumcodereview.appspot.com/11142013
Patch from Andrew Paprocki <andrew@ishiboo.com>.

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

11 years agoCleanup tests for StringCharacterStream
yangguo@chromium.org [Thu, 13 Dec 2012 15:39:01 +0000 (15:39 +0000)]
Cleanup tests for StringCharacterStream

Edge case tests now cover all branches.

R=yangguo@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/11548023
Patch from Dan Carney <dcarney@google.com>.

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

11 years agoCleanup object printer declaration.
mstarzinger@chromium.org [Thu, 13 Dec 2012 10:17:37 +0000 (10:17 +0000)]
Cleanup object printer declaration.

R=svenpanne@chromium.org

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

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

11 years agoObject.observe: Make array length and other magic data properties work correctly.
rossberg@chromium.org [Thu, 13 Dec 2012 09:31:44 +0000 (09:31 +0000)]
Object.observe: Make array length and other magic data properties work correctly.

Also, disable TestFastElementsLength test for now, since it flakes on buildbots for yet unknown reasons.

R=mstarzinger@chromium.org
BUG=v8:2409

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

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

11 years agoRemoved RuntimeProfilerRateLimiter class and RuntimeProfiler::IsSomeIsolateInJS.
svenpanne@chromium.org [Wed, 12 Dec 2012 15:26:04 +0000 (15:26 +0000)]
Removed RuntimeProfilerRateLimiter class and RuntimeProfiler::IsSomeIsolateInJS.

Removing the former was basically a consequence of removing the latter. The net
effect is, apart from less code, that the signal sender thread is much more
explicit about its logic now.

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

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

11 years agoRemove over-zealous hole checking in Array.slice()
danno@chromium.org [Wed, 12 Dec 2012 15:20:45 +0000 (15:20 +0000)]
Remove over-zealous hole checking in Array.slice()

R=jkummerow@chromium.org
BUG=chromium:165637
TEST=regress-165637.js

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

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

11 years agoAdd HTML-based tick processor
jkummerow@chromium.org [Wed, 12 Dec 2012 15:06:50 +0000 (15:06 +0000)]
Add HTML-based tick processor

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

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

11 years agoFind plot range with only sampling ticks (profiling with only --prof).
yangguo@chromium.org [Wed, 12 Dec 2012 14:54:35 +0000 (14:54 +0000)]
Find plot range with only sampling ticks (profiling with only --prof).

R=jkummerow@chromium.org
BUG=

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

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

11 years agoRevert "Remove redundant loads in DoCheckMaps"
jkummerow@chromium.org [Wed, 12 Dec 2012 12:51:47 +0000 (12:51 +0000)]
Revert "Remove redundant loads in DoCheckMaps"

This reverts r13200.

TBR=svenpanne@chromium.org

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

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

11 years agoObject.observe: prevent observed objects from using fast elements.
rossberg@chromium.org [Wed, 12 Dec 2012 11:38:24 +0000 (11:38 +0000)]
Object.observe: prevent observed objects from using fast elements.

This is necessary because polymorphic stores generally
do not perform a map check but only an instance type check,
which misses out on changes in the observation status.
Unfortunately, there currently is no efficient way in V8
to maintain that optimisation in the presence of Object.observe.

R=mstarzinger@chromium.org
BUG=v8:2409

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

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

11 years agoAdd regression test for r13195.
mstarzinger@chromium.org [Wed, 12 Dec 2012 10:46:01 +0000 (10:46 +0000)]
Add regression test for r13195.

This is a regression test for the fix in r13195 which made sure that we
correctly clear the optimized code map even when incremental marking is
running.

R=ulan@chromium.org,jkummerow@chromium.org
BUG=chromium:165495
TEST=cctest/test-heap/Regress165495

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

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

11 years agoDo not read document and URL properties on global objects while taking heap snapshot
yurys@chromium.org [Wed, 12 Dec 2012 09:49:46 +0000 (09:49 +0000)]
Do not read document and URL properties on global objects while taking heap snapshot

This unsafe mechanism was replaced with a user provided callback in r13137 and now we should remove old code.
Review URL: https://codereview.chromium.org/11519029

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

11 years agoIssue 2399 part 2: In debugger allow modifying local variable values
peter.rybin@gmail.com [Tue, 11 Dec 2012 23:27:38 +0000 (23:27 +0000)]
Issue 2399 part 2: In debugger allow modifying local variable values

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

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

11 years agoFix crashes in debug output of generated stubs
danno@chromium.org [Tue, 11 Dec 2012 23:27:15 +0000 (23:27 +0000)]
Fix crashes in debug output of generated stubs

R=jkummerow@chromium.org

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

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

11 years agoRemove redundant loads in DoCheckMaps
danno@chromium.org [Tue, 11 Dec 2012 20:33:44 +0000 (20:33 +0000)]
Remove redundant loads in DoCheckMaps
Hoist the loop-invariant load out of the loop and call the other CheckMap function
BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/11369014
Patch from Rajeev Krithivasan <rkrithiv@codeaurora.org>.

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

11 years agoFixed compilation error on Win64.
hpayer@chromium.org [Tue, 11 Dec 2012 20:19:37 +0000 (20:19 +0000)]
Fixed compilation error on Win64.

BUG=

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

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

11 years agoPrepare FreeList for parallel and concurrent sweeping.
hpayer@chromium.org [Tue, 11 Dec 2012 17:45:01 +0000 (17:45 +0000)]
Prepare FreeList for parallel and concurrent sweeping.

BUG=

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

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

11 years agoClear optimized code map during incremental marking.
mstarzinger@chromium.org [Tue, 11 Dec 2012 17:28:40 +0000 (17:28 +0000)]
Clear optimized code map during incremental marking.

R=jkummerow@chromium.org

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

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

11 years agoAvoid object layout changes during GC.
yangguo@chromium.org [Tue, 11 Dec 2012 14:55:23 +0000 (14:55 +0000)]
Avoid object layout changes during GC.

R=mstarzinger@chromium.org
BUG=

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

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

11 years agoFix for when array bounds check elimination tries to modify a phi index.
mmassi@chromium.org [Tue, 11 Dec 2012 14:23:04 +0000 (14:23 +0000)]
Fix for when array bounds check elimination tries to modify a phi index.

BUG=

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

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

11 years agoFix missing printing of deoptimizer input data.
mstarzinger@chromium.org [Tue, 11 Dec 2012 12:19:19 +0000 (12:19 +0000)]
Fix missing printing of deoptimizer input data.

R=rossberg@chromium.org
TEST=mjsunit/compiler/inline-arguments --print-all-code

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

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

11 years agoFix windows build.
yangguo@chromium.org [Tue, 11 Dec 2012 10:42:10 +0000 (10:42 +0000)]
Fix windows build.

R=dcarney@google.com
BUG=

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

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

11 years agoDisable GC stress for mjsunit/fast-prototype.
mstarzinger@chromium.org [Tue, 11 Dec 2012 10:33:04 +0000 (10:33 +0000)]
Disable GC stress for mjsunit/fast-prototype.

R=yangguo@chromium.org
TEST=mjsunit/fast-prototype --gc-interval=500 --stress-compaction

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

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

11 years agoCleanup StringCharacterStream and add initial test cases.
yangguo@chromium.org [Tue, 11 Dec 2012 10:22:15 +0000 (10:22 +0000)]
Cleanup StringCharacterStream and add initial test cases.

BUG=

Review URL: https://chromiumcodereview.appspot.com/11438046
Patch from Dan Carney <dcarney@google.com>.

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

11 years agoFire 'stack' getter of error objects after GC.
yangguo@chromium.org [Tue, 11 Dec 2012 10:14:01 +0000 (10:14 +0000)]
Fire 'stack' getter of error objects after GC.

BUG=v8:2340

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

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

11 years agoAllow all value types in evaluate additional context
peter.rybin@gmail.com [Mon, 10 Dec 2012 22:02:26 +0000 (22:02 +0000)]
Allow all value types in evaluate additional context

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

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

11 years agoPrepare push to trunk. Now working on version 3.15.12.
jkummerow@chromium.org [Mon, 10 Dec 2012 18:58:32 +0000 (18:58 +0000)]
Prepare push to trunk.  Now working on version 3.15.12.

R=yangguo@chromium.org
BUG=

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

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

11 years agoMake unit tests resilient against GC Stress.
mstarzinger@chromium.org [Mon, 10 Dec 2012 15:14:20 +0000 (15:14 +0000)]
Make unit tests resilient against GC Stress.

R=yangguo@chromium.org
TEST=cctest --gc-interval=500 --stress-compaction

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

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

11 years agoRevert r13176.
mmassi@chromium.org [Mon, 10 Dec 2012 12:55:50 +0000 (12:55 +0000)]
Revert r13176.

BUG=

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

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

11 years agoFlush out potential leaks of Failure objects
jkummerow@chromium.org [Mon, 10 Dec 2012 12:18:54 +0000 (12:18 +0000)]
Flush out potential leaks of Failure objects

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

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

11 years agoMake sure HMathMinMax always has a supported representation
jkummerow@chromium.org [Mon, 10 Dec 2012 12:10:23 +0000 (12:10 +0000)]
Make sure HMathMinMax always has a supported representation

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

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

11 years agoRevert 13157, 13145 and 13140: Crankshaft code stubs.
danno@chromium.org [Mon, 10 Dec 2012 11:09:12 +0000 (11:09 +0000)]
Revert 13157, 13145 and 13140: Crankshaft code stubs.

R=jkummerow@chromium.org

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

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

11 years agoImprove integer division on IA32 and X64
yangguo@chromium.org [Mon, 10 Dec 2012 11:02:22 +0000 (11:02 +0000)]
Improve integer division on IA32 and X64
If the divisor is a Power-of-2 constant, we could use shifts instead of the
expensive idiv instructions, which also loose the register constraints.

Review URL: https://chromiumcodereview.appspot.com/11478043
Patch from Yuqiang Xian <yuqiang.xian@intel.com>.

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

11 years agoObject.observe support for Function 'prototype' property
rossberg@chromium.org [Mon, 10 Dec 2012 10:53:57 +0000 (10:53 +0000)]
Object.observe support for Function 'prototype' property

BUG=v8:2409

Review URL: https://codereview.chromium.org/11416353
Patch from Adam Klein <adamk@chromium.org>.

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

11 years agoMake keyed operations use the unchecked index but still depend on the checked one.
mmassi@chromium.org [Mon, 10 Dec 2012 08:56:24 +0000 (08:56 +0000)]
Make keyed operations use the unchecked index but still depend on the checked one.

BUG=

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

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

11 years agoDefine CAN_USE_VFP2/3_INSTRUCTIONS based on arm_neon and arm_fpu flags.
ulan@chromium.org [Fri, 7 Dec 2012 15:28:40 +0000 (15:28 +0000)]
Define CAN_USE_VFP2/3_INSTRUCTIONS based on arm_neon and arm_fpu flags.

R=jkummerow@chromium.org

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

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

11 years agoRemove SlidingStateWindow and related code.
svenpanne@chromium.org [Fri, 7 Dec 2012 13:47:42 +0000 (13:47 +0000)]
Remove SlidingStateWindow and related code.

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

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

11 years agoRemoved dead InterruptFlag enum value.
svenpanne@chromium.org [Fri, 7 Dec 2012 13:09:39 +0000 (13:09 +0000)]
Removed dead InterruptFlag enum value.

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

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

11 years agoMake test-heap resilient against GC stress.
mstarzinger@chromium.org [Fri, 7 Dec 2012 13:01:38 +0000 (13:01 +0000)]
Make test-heap resilient against GC stress.

R=yangguo@chromium.org
TEST=cctest/test-heap --stress-compaction

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

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

11 years agoHandlify JSObject::SetDictionaryElement, which may call back into JS.
rossberg@chromium.org [Fri, 7 Dec 2012 12:58:09 +0000 (12:58 +0000)]
Handlify JSObject::SetDictionaryElement, which may call back into JS.

Fixes flaky crasher in proxies.js test.

R=mstarzinger@chromium.org
BUG=

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

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

11 years agollprof improvements
jkummerow@chromium.org [Fri, 7 Dec 2012 12:51:33 +0000 (12:51 +0000)]
llprof improvements

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

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

11 years agoFix mozilla test expectations.
yangguo@chromium.org [Fri, 7 Dec 2012 12:49:27 +0000 (12:49 +0000)]
Fix mozilla test expectations.

R=mstarzinger@chromium.org
BUG=

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

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

11 years agoPrepare push to trunk. Now working on version 3.15.11.
rossberg@chromium.org [Fri, 7 Dec 2012 12:38:22 +0000 (12:38 +0000)]
Prepare push to trunk.  Now working on version 3.15.11.

R=jkummerow@chromium.org
BUG=

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

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

11 years agoFix mozilla test failures and expectations.
yangguo@chromium.org [Fri, 7 Dec 2012 12:18:50 +0000 (12:18 +0000)]
Fix mozilla test failures and expectations.

Follow-up for r13160.

R=mstarzinger@chromium.org
BUG=

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

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

11 years agoImprove double to integer truncation on ARM.
ulan@chromium.org [Fri, 7 Dec 2012 11:29:27 +0000 (11:29 +0000)]
Improve double to integer truncation on ARM.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/11412272
Patch from Rodolph Perfetta <rodolph.perfetta@gmail.com>.

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

11 years agoAllow lazy compilation (and thus optimisation) of functions inside eval.
rossberg@chromium.org [Fri, 7 Dec 2012 10:35:50 +0000 (10:35 +0000)]
Allow lazy compilation (and thus optimisation) of functions inside eval.

For strict-mode eval, this requires _disabling_ lazy parsing of inner functions,
because we need to collect their free variables to do allocation for the
eval scope properly.

R=mstarzinger@chromium.org
BUG=v8:2315

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

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

11 years agoFix spec violations in methods of Number.prototype.
yangguo@chromium.org [Fri, 7 Dec 2012 10:20:35 +0000 (10:20 +0000)]
Fix spec violations in methods of Number.prototype.

R=svenpanne@chromium.org
BUG=v8:2443

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

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

11 years agoAdd GCTracer metrics for a scavenger GC for DOM wrappers
mstarzinger@chromium.org [Fri, 7 Dec 2012 09:44:10 +0000 (09:44 +0000)]
Add GCTracer metrics for a scavenger GC for DOM wrappers

This patch adds the following three metrics for the --trace_gc_nvp option.

nodes_died_in_new_space_; // Number of died nodes in the new space.
nodes_copied_in_new_space_; // Number of copied nodes to the new space.
nodes_promoted; // Number of promoted nodes to the old space.

BUG=
TEST=Manually confirmed that the "--trace_gc --trace_gc_nvp" option prints the metrics

Review URL: https://codereview.chromium.org/11365146
Patch from Kentaro Hara <haraken@chromium.org>.

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

11 years agoUse count-based profiling exclusively.
svenpanne@chromium.org [Fri, 7 Dec 2012 08:55:06 +0000 (08:55 +0000)]
Use count-based profiling exclusively.

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

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

11 years agoFix nosse2 tests
danno@chromium.org [Fri, 7 Dec 2012 07:09:57 +0000 (07:09 +0000)]
Fix nosse2 tests

R=jkummerow@chromoum.org

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

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

11 years agoPrepare push to trunk. Now working on version 3.15.10.
mstarzinger@chromium.org [Thu, 6 Dec 2012 17:27:53 +0000 (17:27 +0000)]
Prepare push to trunk.  Now working on version 3.15.10.

R=jkummerow@chromium.org

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

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

11 years agoFix candidate eviction in code flusher.
mstarzinger@chromium.org [Thu, 6 Dec 2012 16:27:32 +0000 (16:27 +0000)]
Fix candidate eviction in code flusher.

This fixes a corner case where a code flushing candidate was evicted
from the candidate list without being revisited by the incremental
marker. An explicit write-barrier makes sure it gets revisited.

R=ulan@chromium.org
BUG=chromium:159140
TEST=cctest/test-heap/Regress159140

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

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

11 years agoLet marking speed depend on the actual incremental write barrier count.
verwaest@chromium.org [Thu, 6 Dec 2012 15:51:42 +0000 (15:51 +0000)]
Let marking speed depend on the actual incremental write barrier count.

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

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

11 years agoIterate through all arguments for side effects in Math.min/max.
yangguo@chromium.org [Thu, 6 Dec 2012 13:13:38 +0000 (13:13 +0000)]
Iterate through all arguments for side effects in Math.min/max.

R=svenpanne@chromium.org
BUG=v8:2444

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

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

11 years agoUpdate test expectations.
yangguo@chromium.org [Thu, 6 Dec 2012 13:13:01 +0000 (13:13 +0000)]
Update test expectations.

Test failure has been fixed in r13050.

R=jkummerow@chromium.org
BUG=

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

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