platform/upstream/v8.git
10 years agoMIPS: Restructure the IC / Handler compilers
akos.palfi@imgtec.com [Fri, 25 Jul 2014 21:54:12 +0000 (21:54 +0000)]
MIPS: Restructure the IC / Handler compilers

Port r22622 (319e3252)

BUG=
R=paul.lind@imgtec.com

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

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

10 years ago[Auto-roll] Bump up version to 3.28.41.0
machenbach@chromium.org [Fri, 25 Jul 2014 20:04:11 +0000 (20:04 +0000)]
[Auto-roll] Bump up version to 3.28.41.0

TBR=machenbach@chromium.org

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

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

10 years agoChange Has* and Get*Attributes to return Maybe<*>, indicating possible exceptions.
verwaest@chromium.org [Fri, 25 Jul 2014 18:32:11 +0000 (18:32 +0000)]
Change Has* and Get*Attributes to return Maybe<*>, indicating possible exceptions.

BUG=
R=ishell@chromium.org

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

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

10 years agoRestructure the IC / Handler compilers
verwaest@chromium.org [Fri, 25 Jul 2014 17:50:53 +0000 (17:50 +0000)]
Restructure the IC / Handler compilers

BUG=
R=ishell@chromium.org, mvstanton@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.40.0
machenbach@chromium.org [Fri, 25 Jul 2014 15:34:10 +0000 (15:34 +0000)]
[Auto-roll] Bump up version to 3.28.40.0

TBR=machenbach@chromium.org

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

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

10 years agoKraken recover after r20312.
ishell@chromium.org [Fri, 25 Jul 2014 13:00:06 +0000 (13:00 +0000)]
Kraken recover after r20312.

R=verwaest@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.39.0
machenbach@chromium.org [Fri, 25 Jul 2014 12:34:13 +0000 (12:34 +0000)]
[Auto-roll] Bump up version to 3.28.39.0

TBR=machenbach@chromium.org

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

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

10 years agoSmi arrays are only guaranteed to be initialized in non-holey case
verwaest@chromium.org [Fri, 25 Jul 2014 12:27:55 +0000 (12:27 +0000)]
Smi arrays are only guaranteed to be initialized in non-holey case

BUG=
R=ishell@chromium.org

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

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

10 years agoIn GrowMode, force the value to the right representation to avoid deopts between...
verwaest@chromium.org [Fri, 25 Jul 2014 11:48:25 +0000 (11:48 +0000)]
In GrowMode, force the value to the right representation to avoid deopts between storing the length and storing the value.

BUG=16459193
LOG=n
R=danno@chromium.org

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

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

10 years agoAlways trace garbage collection events in GCTracer.
ernstm@chromium.org [Fri, 25 Jul 2014 07:32:28 +0000 (07:32 +0000)]
Always trace garbage collection events in GCTracer.

- always trace events in GCTracer, but only print stats when the command
  line flag is set.
- required to collect statistis that will be used to schedue garbage
  collection.
- we need to watch the perf bots after this lands, as it could regress
  performance.

R=hpayer@chromium.org
BUG=

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

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

10 years ago[Auto-roll] Bump up version to 3.28.37.0
machenbach@chromium.org [Thu, 24 Jul 2014 19:05:05 +0000 (19:05 +0000)]
[Auto-roll] Bump up version to 3.28.37.0

TBR=machenbach@chromium.org

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

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

10 years agoRevert "Tests that the GC doesn't mistake non-pointer constant pool entries as pointers."
machenbach@chromium.org [Thu, 24 Jul 2014 18:59:19 +0000 (18:59 +0000)]
Revert "Tests that the GC doesn't mistake non-pointer constant pool entries as pointers."

This reverts commit r22608 for breaking win and arm64, ConstantPoolExtended and ConstantPoolSmall.

BUG=
TBR=rmcilroy@chromium.org

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

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

10 years agoTests that the GC doesn't mistake non-pointer constant pool entries as pointers.
rmcilroy@chromium.org [Thu, 24 Jul 2014 18:13:16 +0000 (18:13 +0000)]
Tests that the GC doesn't mistake non-pointer constant pool entries as pointers.

Adds a test for ConstantPoolArray to ensure that the GC
doesn't mistake non-pointer entries as pointers and try
to modify them during scavenge operations.

Also adds asserts to ConstantPoolArray::set(int, *Object) to
ensure we don't add new-space pointers in constant pool
array.

R=hpayer@chromium.org

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

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

10 years agoUse result of SetOwnPropertyIgnoreAttributes in accessors
verwaest@chromium.org [Thu, 24 Jul 2014 17:33:34 +0000 (17:33 +0000)]
Use result of SetOwnPropertyIgnoreAttributes in accessors

BUG=
R=ishell@chromium.org

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

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

10 years agoFix issue with setters and their holders in accessors.cc
verwaest@chromium.org [Thu, 24 Jul 2014 16:42:54 +0000 (16:42 +0000)]
Fix issue with setters and their holders in accessors.cc

BUG=3462
LOG=Y
R=verwaest@chromium.org

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

Patch from Erik Arvidsson <arv@chromium.org>.

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

10 years agoAdd event statistics to GCTracer.
ernstm@chromium.org [Thu, 24 Jul 2014 15:23:06 +0000 (15:23 +0000)]
Add event statistics to GCTracer.

- Add method to GCTracer to compute mean and max of the last few
  Scavenger, Mark Compactor and Incremental Marking events.

R=hpayer@chromium.org
BUG=

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

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

10 years agoAdd a histogram timer around low memory notifications from API
jochen@chromium.org [Thu, 24 Jul 2014 14:41:27 +0000 (14:41 +0000)]
Add a histogram timer around low memory notifications from API

BUG=397026
R=hpayer@chromium.org, ernstm@chromium.org
LOG=n

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

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

10 years agoStage for-of
yangguo@chromium.org [Thu, 24 Jul 2014 13:47:47 +0000 (13:47 +0000)]
Stage for-of

R=rossberg@chromium.org
BUG=

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

Patch from Andy Wingo <wingo@igalia.com>.

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

10 years agoFor-of on null or undefined is an error
yangguo@chromium.org [Thu, 24 Jul 2014 13:40:08 +0000 (13:40 +0000)]
For-of on null or undefined is an error

The latest ES6 draft changed the behavior of for-of on null / undefined,
which for once is a simplification.

R=rossberg@chromium.org
BUG=

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

Patch from Andy Wingo <wingo@igalia.com>.

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

10 years agoRevert 22595: "Keep new arrays allocated with 'new Array(N)' in fast mode"
danno@chromium.org [Thu, 24 Jul 2014 13:38:05 +0000 (13:38 +0000)]
Revert 22595: "Keep new arrays allocated with 'new Array(N)' in fast mode"

Due to failures in mjsunit/array-functions-prototype-misc

TBR=verwaest@chromium.org

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

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

10 years agoMove GCTracer to separate files.
ernstm@chromium.org [Thu, 24 Jul 2014 13:06:38 +0000 (13:06 +0000)]
Move GCTracer to separate files.

- No functional changes.

R=hpayer@chromium.org
BUG=

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

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

10 years agoSKIP migration tests to improve unit test time (2x)
danno@chromium.org [Thu, 24 Jul 2014 12:39:01 +0000 (12:39 +0000)]
SKIP migration tests to improve unit test time (2x)

R=ishell@chromium.org

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

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

10 years agoRevert r22597 (which should have been called: "Tests that the GC doesn't mistake...
rmcilroy@chromium.org [Thu, 24 Jul 2014 12:30:53 +0000 (12:30 +0000)]
Revert r22597 (which should have been called: "Tests that the GC doesn't mistake non-pointer constant pool entries as poitners.")

TBR=yangguo@chromium.org

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

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

10 years agoUse heap iterator in store buffer when page was swept precisely.
rmcilroy@chromium.org [Thu, 24 Jul 2014 12:12:44 +0000 (12:12 +0000)]
Use heap iterator in store buffer when page was swept precisely.

BUG=
R=rmcilroy@chromium.org

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

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

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

10 years agoFlag for serialization when compiling code stubs if --serialize-toplevel.
yangguo@chromium.org [Thu, 24 Jul 2014 12:11:30 +0000 (12:11 +0000)]
Flag for serialization when compiling code stubs if --serialize-toplevel.

R=mvstanton@chromium.org
BUG=v8:3465
LOG=N

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

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

10 years agoKeep new arrays allocated with 'new Array(N)' in fast mode
danno@chromium.org [Thu, 24 Jul 2014 12:08:23 +0000 (12:08 +0000)]
Keep new arrays allocated with 'new Array(N)' in fast mode

Also explicit length setting with a.length = N should remain in fast mode.

R=verwaest@chromium.org

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

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

10 years agoIntroduce NonJSProxyHolder returning Handle<JSObject> and return Handle<JSReceiver...
verwaest@chromium.org [Thu, 24 Jul 2014 11:33:46 +0000 (11:33 +0000)]
Introduce NonJSProxyHolder returning Handle<JSObject> and return Handle<JSReceiver> for GetHolder

BUG=
R=rossberg@chromium.org

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

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

10 years agore-land: Track history of events in GCTracer.
ernstm@chromium.org [Thu, 24 Jul 2014 11:16:01 +0000 (11:16 +0000)]
re-land: Track history of events in GCTracer.

- track incremental marking stats directly on GCTracer.
- add simple ring buffer class.
- track last 10 scavenges and mark-compacts in ring buffers on GCTracer.
- various clean-ups.

This is a re-land of https://codereview.chromium.org/391413006/ with
 - int instead of size_t in ring buffer unit test.
 - git cl format

R=hpayer@chromium.org
BUG=

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

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

10 years agoUse heap iterator in store buffer when page was swept precisely.
hpayer@chromium.org [Thu, 24 Jul 2014 10:45:37 +0000 (10:45 +0000)]
Use heap iterator in store buffer when page was swept precisely.

BUG=
R=rmcilroy@chromium.org

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

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

10 years agoIntroduce more debug events for promises.
yangguo@chromium.org [Thu, 24 Jul 2014 10:43:41 +0000 (10:43 +0000)]
Introduce more debug events for promises.

BUG=v8:3093
LOG=Y
R=yangguo@chromium.org

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

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

10 years agoSkip test on mips.
machenbach@chromium.org [Thu, 24 Jul 2014 10:04:14 +0000 (10:04 +0000)]
Skip test on mips.

PASS/FAIL is not enough as the test result is CRASH.

R=yangguo@chromium.org
TBR=yangguo@chromium.org
BUG=v8:3457
LOG=n

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

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

10 years agoExtend the interceptor setter ASSERT to support the JSGlobalProxy case.
verwaest@chromium.org [Thu, 24 Jul 2014 09:31:45 +0000 (09:31 +0000)]
Extend the interceptor setter ASSERT to support the JSGlobalProxy case.

BUG=v8:3463
LOG=n
R=dcarney@chromium.org

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

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

10 years agoPartially revert "Unflake and speedup JsNative*Sample cpu profile tests"
machenbach@chromium.org [Thu, 24 Jul 2014 09:26:03 +0000 (09:26 +0000)]
Partially revert "Unflake and speedup JsNative*Sample cpu profile tests"

This reverts the test expectations of commit r22345. Several cpu profiler flakes were happening lately.

BUG=v8:2999
LOG=n
R=bmeurer@chromium.org
TBR=bmeurer@chromium.org

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

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

10 years agoX87: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers
verwaest@chromium.org [Thu, 24 Jul 2014 09:13:04 +0000 (09:13 +0000)]
X87: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers

port r22551.

original commit message:
  Always use the LoadStubCompiler for Load handlers, also for keyedload handlers

BUG=
R=verwaest@chromium.org

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

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

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

10 years agoX87: Only to the relevant checks in LoadFunctionPrototype
verwaest@chromium.org [Thu, 24 Jul 2014 09:12:34 +0000 (09:12 +0000)]
X87: Only to the relevant checks in LoadFunctionPrototype

port r22550.

original commit message:
  Only to the relevant checks in LoadFunctionPrototype

BUG=
R=verwaest@chromium.org

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

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

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

10 years agoX87: Move function prototype handling into a special handler rather than IC
verwaest@chromium.org [Thu, 24 Jul 2014 09:11:59 +0000 (09:11 +0000)]
X87: Move function prototype handling into a special handler rather than IC

port r22526.

original commit message:
  Move function prototype handling into a special handler rather than IC

  Adjust hydrogen handling of function.prototype to be based on map feedback.
  Handle non-instance prototype loading using an IC rather than in the hydrogen
  instruction. In the future, remove the special instruction and replace by multiple
  hydrogen instructions.

BUG=
R=verwaest@chromium.org

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

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

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

10 years agoMove gc notifications from V8 to Isolate and make idle hint mandatory
jochen@chromium.org [Thu, 24 Jul 2014 08:28:02 +0000 (08:28 +0000)]
Move gc notifications from V8 to Isolate and make idle hint mandatory

Embedders should use e.g. isolate->IdleNotification(1000) instead
of v8::V8::IdleNotification()

BUG=397026
R=hpayer@chromium.org, ernstm@chromium.org
LOG=y

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

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

10 years agoAdd and move DisallowHeapAllocation scope.
yangguo@chromium.org [Thu, 24 Jul 2014 08:27:06 +0000 (08:27 +0000)]
Add and move DisallowHeapAllocation scope.

The move is necessary since Heap::ReserveSpace called from
DeserializePartial may allocate.

R=mvstanton@chromium.org

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

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

10 years agoIgnore test on mips.
machenbach@chromium.org [Thu, 24 Jul 2014 08:25:22 +0000 (08:25 +0000)]
Ignore test on mips.

R=yangguo@chromium.org
TBR=yangguo@chromium.org
BUG=v8:3457
LOG=n

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

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

10 years agoFix automatic tagging.
machenbach@chromium.org [Thu, 24 Jul 2014 07:36:25 +0000 (07:36 +0000)]
Fix automatic tagging.

BUG=
TBR=jarin@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.36.0
machenbach@chromium.org [Thu, 24 Jul 2014 07:28:52 +0000 (07:28 +0000)]
[Auto-roll] Bump up version to 3.28.36.0

TBR=machenbach@chromium.org

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

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

10 years agoFix ArrayLengthSetter to not throw on non-extensible receivers.
verwaest@chromium.org [Wed, 23 Jul 2014 20:27:32 +0000 (20:27 +0000)]
Fix ArrayLengthSetter to not throw on non-extensible receivers.

BUG=v8:3460
LOG=n
R=ishell@chromium.org

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

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

10 years agoThe accessors should get the value from the holder and not from this.
verwaest@chromium.org [Wed, 23 Jul 2014 20:11:33 +0000 (20:11 +0000)]
The accessors should get the value from the holder and not from this.

These are all data properties and if they get invoked it means that
they should just return the value of the property from the holder.

BUG=v8:3461
LOG=Y
R=verwaest@chromium.org

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

Patch from Erik Arvidsson <arv@chromium.org>.

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

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Wed, 23 Jul 2014 18:58:43 +0000 (18:58 +0000)]
Whitespace change to trigger bots.

TBR=machenbach@chromium.org

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

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

10 years agoMinor clarifications and simplifications as well as additional checks.
neis@chromium.org [Wed, 23 Jul 2014 17:17:48 +0000 (17:17 +0000)]
Minor clarifications and simplifications as well as additional checks.

R=rossberg@chromium.org
BUG=

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

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

10 years agoRevert "Track history of events in GCTracer."
machenbach@chromium.org [Wed, 23 Jul 2014 16:12:02 +0000 (16:12 +0000)]
Revert "Track history of events in GCTracer."

This reverts commit 22567 for breaking win64 compile.

BUG=
TBR=ernstm@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.34.0
machenbach@chromium.org [Wed, 23 Jul 2014 15:56:57 +0000 (15:56 +0000)]
[Auto-roll] Bump up version to 3.28.34.0

TBR=machenbach@chromium.org

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

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

10 years agoMIPS: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers.
balazs.kilvady@imgtec.com [Wed, 23 Jul 2014 15:53:00 +0000 (15:53 +0000)]
MIPS: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers.

Port r22551 (0cc23b1)

BUG=
R=paul.lind@imgtec.com

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

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

10 years agoRevert "Minor clarifications and simplifications as well as additional checks."
neis@chromium.org [Wed, 23 Jul 2014 15:39:08 +0000 (15:39 +0000)]
Revert "Minor clarifications and simplifications as well as additional checks."

This reverts commit d32eacbdea3fc0c119da06abe95b07a83c67aa48.

TBR=rossberg@chromium.org
BUG=

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

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

10 years agoMinor clarifications and simplifications as well as additional checks.
neis@chromium.org [Wed, 23 Jul 2014 15:30:34 +0000 (15:30 +0000)]
Minor clarifications and simplifications as well as additional checks.

R=rossberg@chromium.org
BUG=

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

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

10 years agoTrack history of events in GCTracer.
ernstm@chromium.org [Wed, 23 Jul 2014 15:16:53 +0000 (15:16 +0000)]
Track history of events in GCTracer.

- track incremental marking stats directly on GCTracer.
- add simple ring buffer class.
- track last 10 scavenges and mark-compacts in ring buffers on GCTracer.
- various clean-ups.

R=hpayer@chromium.org
BUG=

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

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

10 years agoMIPS: Only to the relevant checks in LoadFunctionPrototype.
balazs.kilvady@imgtec.com [Wed, 23 Jul 2014 15:12:40 +0000 (15:12 +0000)]
MIPS: Only to the relevant checks in LoadFunctionPrototype.

Port r22550 (c5209a6)

BUG=
R=paul.lind@imgtec.com

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

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

10 years agoFix cross-compilation in Makefile.
paul.lind@imgtec.com [Wed, 23 Jul 2014 14:54:12 +0000 (14:54 +0000)]
Fix cross-compilation in Makefile.

Fix r22531, I dropped a necessary pair of parens.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoFix Handle-related bug in RangeType constructor.
neis@chromium.org [Wed, 23 Jul 2014 14:11:30 +0000 (14:11 +0000)]
Fix Handle-related bug in RangeType constructor.

R=rossberg@chromium.org
BUG=

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

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

10 years agoMark mjsunit/deserialize-reference as PASS, FAIL on arm64.
yangguo@chromium.org [Wed, 23 Jul 2014 13:40:01 +0000 (13:40 +0000)]
Mark mjsunit/deserialize-reference as PASS, FAIL on arm64.

R=svenpanne@chromium.org
BUG=v8:3457
LOG=N

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

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

10 years agoFix checks to bit flags of PreParserExpression
svenpanne@chromium.org [Wed, 23 Jul 2014 13:29:24 +0000 (13:29 +0000)]
Fix checks to bit flags of PreParserExpression

This fixes checks on the "code_" member of PreParserExpression, in order
to make methods IsThis(), IsThisProperty(), IsProperty(), IsCall() and
IsValidReferenceExpression() work correctly.

BUG=v8:3456
LOG=
R=svenpanne@chromium.org

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

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

10 years agoAdd tsan support to v8's gyp and test driver.
machenbach@chromium.org [Wed, 23 Jul 2014 13:14:26 +0000 (13:14 +0000)]
Add tsan support to v8's gyp and test driver.

Tests only the default variant for now.

BUG=
R=jochen@chromium.org

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

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

10 years agoTest landmines.
machenbach@chromium.org [Wed, 23 Jul 2014 13:12:00 +0000 (13:12 +0000)]
Test landmines.

BUG=
R=jochen@chromium.org
TBR=jochen@chromium.org

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

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

10 years agoExpress LoadIC extra ic state with LoadIC::State
mvstanton@chromium.org [Wed, 23 Jul 2014 12:24:11 +0000 (12:24 +0000)]
Express LoadIC extra ic state with LoadIC::State

Soon we will create code stubs that need to match LoadIC state. It's easier to
express if the state is encapsulated in a single class rather than multiple bit
fields.

R=verwaest@chromium.org

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

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

10 years agoRevert r22544: "Rebaseline/update the intl tests with ICU 52"
jochen@chromium.org [Wed, 23 Jul 2014 11:39:46 +0000 (11:39 +0000)]
Revert r22544: "Rebaseline/update the intl tests with ICU 52"

The intl tests still fail locally.

BUG=v8:3454
LOG=N
R=verwaest@chromium.org

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

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

10 years agoMake landmines work on the first landmine.
machenbach@chromium.org [Wed, 23 Jul 2014 11:33:29 +0000 (11:33 +0000)]
Make landmines work on the first landmine.

With the original script, landmines don't work if the initial commit of the landmine script and the first landmine are in the same build. In this case, the landmine file wouldn't exist yet and no landmine would be triggered. But the updated landmine content would have still been written, omitting the landmine.

Now, the script will initialize an empty landmine file if none exists. This will make sure that a landmine is set on the branch builders after the next branch point.

This also adds some debugging output to better trace when landmines are set/deleted.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoAvoid redundent redefinition of __STDC_FORMAT_MACROS when building with clang
rmcilroy@chromium.org [Wed, 23 Jul 2014 11:24:12 +0000 (11:24 +0000)]
Avoid redundent redefinition of __STDC_FORMAT_MACROS when building with clang

R=jochen@chromium.org, paul.lind@imgtec.com

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

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

10 years agoAdd bailout checks to Message::Get{Start,End}Column()
dcarney@chromium.org [Wed, 23 Jul 2014 11:21:19 +0000 (11:21 +0000)]
Add bailout checks to Message::Get{Start,End}Column()

Also add an initial ON_BAILOUT() check to these two 'bailout enabled'
accessors.

(The need for these was encountered via http://crbug.com/393273)

R=dcarney@chromium.org

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

Patch from Sigbjorn Finne <sof@opera.com>.

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

10 years agoAdd debugging output to RangeType test.
neis@chromium.org [Wed, 23 Jul 2014 11:17:14 +0000 (11:17 +0000)]
Add debugging output to RangeType test.
R=rossberg@chromium.org
BUG=

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

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

10 years agoAlways use the LoadStubCompiler for Load handlers, also for keyedload handlers.
verwaest@chromium.org [Wed, 23 Jul 2014 11:16:29 +0000 (11:16 +0000)]
Always use the LoadStubCompiler for Load handlers, also for keyedload handlers.

BUG=
R=mvstanton@chromium.org

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

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

10 years agoOnly to the relevant checks in LoadFunctionPrototype
verwaest@chromium.org [Wed, 23 Jul 2014 11:12:11 +0000 (11:12 +0000)]
Only to the relevant checks in LoadFunctionPrototype

BUG=
R=mvstanton@chromium.org

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

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

10 years agotools: more post-mortem constants
danno@chromium.org [Wed, 23 Jul 2014 10:48:16 +0000 (10:48 +0000)]
tools: more post-mortem constants

Expose more info about post-mortem constants

Useful for node.js and/or other tools.

BUG=
R=danno@chromium.org

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

Patch from Fedor Indutny <fedor.indutny@gmail.com>.

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

10 years agoDo not reverse lookup code stubs dictionary.
yangguo@chromium.org [Wed, 23 Jul 2014 09:49:00 +0000 (09:49 +0000)]
Do not reverse lookup code stubs dictionary.

R=jkummerow@chromium.org

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

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

10 years agoPropagate serialization flag to inner functions.
yangguo@chromium.org [Wed, 23 Jul 2014 09:35:06 +0000 (09:35 +0000)]
Propagate serialization flag to inner functions.

R=mvstanton@chromium.org

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

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

10 years agoFix version check in push-to-trunk.
machenbach@chromium.org [Wed, 23 Jul 2014 09:25:36 +0000 (09:25 +0000)]
Fix version check in push-to-trunk.

The local master branch is not kept up-to-date by the script.

BUG=
TBR=jarin@chromium.org

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

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

10 years agoWait for sweeper threads when a scan on scavenge page is not swept.
hpayer@chromium.org [Wed, 23 Jul 2014 09:17:21 +0000 (09:17 +0000)]
Wait for sweeper threads when a scan on scavenge page is not swept.

BUG=
R=jarin@chromium.org

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

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

10 years agoRebaseline/update the intl tests with ICU 52
jochen@chromium.org [Wed, 23 Jul 2014 09:00:43 +0000 (09:00 +0000)]
Rebaseline/update the intl tests with ICU 52

Update the following 4 intl tests after ICU 52 roll.

date-format/parse-MMMdy.js
date-format/parse-mdyhms.js
number-format/parse-decimal.js
number-format/parse-percent.js

BUG=v8:3454
TEST=intl/* tests pass.
LOG=Y
R=jochen@chromium.org

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

Patch from Jungshik Shin <jshin@chromium.org>.

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

10 years agoFix debugger-related issues in the code serializer.
yangguo@chromium.org [Wed, 23 Jul 2014 08:27:04 +0000 (08:27 +0000)]
Fix debugger-related issues in the code serializer.

R=mvstanton@chromium.org

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

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

10 years agoX87: Introduce FLAG_vector_ics.
mvstanton@chromium.org [Wed, 23 Jul 2014 07:48:19 +0000 (07:48 +0000)]
X87: Introduce FLAG_vector_ics.

port r22500.

original commit message:

  Introduce FLAG_vector_ics.

  When FLAG_vector_ics is true, then AST nodes that use Load and KeyedLoad ICs
  will allocate a type vector slot to store feedback information. Full codegen
  will emit a load of the slot into a register if the flag is on.

  Support is incomplete, right now the IC doesn't know how to use the feedback
  slot.

BUG=
R=mvstanton@chromium.org

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

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

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

10 years agoExpose the content of Sets and WeakSets through SetMirror.
yangguo@chromium.org [Wed, 23 Jul 2014 07:33:47 +0000 (07:33 +0000)]
Expose the content of Sets and WeakSets through SetMirror.

BUG=v8:3093
LOG=Y
R=aandrey@chromium.org, arv@chromium.org, yangguo@chromium.org

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

Patch from Alexandra Mikhaylova <amikhaylova@google.com>.

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

10 years agoCorrectly hook up back references to internalized strings in code deserializer.
yangguo@chromium.org [Wed, 23 Jul 2014 07:16:32 +0000 (07:16 +0000)]
Correctly hook up back references to internalized strings in code deserializer.

R=mvstanton@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.33.0
machenbach@chromium.org [Wed, 23 Jul 2014 06:30:45 +0000 (06:30 +0000)]
[Auto-roll] Bump up version to 3.28.33.0

TBR=machenbach@chromium.org

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

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

10 years agoDisable mjsunit/stack-traces-overflow test for gc stress builders.
hpayer@chromium.org [Tue, 22 Jul 2014 20:30:08 +0000 (20:30 +0000)]
Disable mjsunit/stack-traces-overflow test for gc stress builders.

BUG=

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

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

10 years agoAdd constructor for range types.
neis@chromium.org [Tue, 22 Jul 2014 17:33:22 +0000 (17:33 +0000)]
Add constructor for range types.

R=rossberg@chromium.org
BUG=

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

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

10 years agoMIPS: Move function prototype handling into a special handler rather than IC.
balazs.kilvady@imgtec.com [Tue, 22 Jul 2014 17:14:27 +0000 (17:14 +0000)]
MIPS: Move function prototype handling into a special handler rather than IC.

Port r22526 (d4c953e)

Original commit message:
Adjust hydrogen handling of function.prototype to be based on map feedback. Handle non-instance prototype loading using an IC rather than in the hydrogen instruction. In the future, remove the special instruction and replace by multiple hydrogen instructions.

BUG=
R=paul.lind@imgtec.com

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

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

10 years agoFix webkit test status file.
hpayer@chromium.org [Tue, 22 Jul 2014 16:45:08 +0000 (16:45 +0000)]
Fix webkit test status file.

BUG=

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

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

10 years agoSet the state of a swept page after being done with sweeping.
hpayer@chromium.org [Tue, 22 Jul 2014 16:30:23 +0000 (16:30 +0000)]
Set the state of a swept page after being done with sweeping.

BUG=
R=machenbach@chromium.org

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

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

10 years agoFix remaining CXX cross-compilation builds in Makefile.
paul.lind@imgtec.com [Tue, 22 Jul 2014 15:29:22 +0000 (15:29 +0000)]
Fix remaining CXX cross-compilation builds in Makefile.

r22509 fixed arm and mips (big-endian) cross-compilation builds.

It did not fix mipsel, mips64el, or arm64 builds, since the
toolchain prefix did not match the v8_target_arch.

For mips, the toolchain is typically named mips-linux-gnu-g++,
but it can compile for mipsel or mips64el via flags. (There can
also be mipsel-linux-gnu-g++ toolchains, and this patch will
work for mipsel build in that case).

For arm64, the toolchains seem to be named aarch64-linux-gnu-g++.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoLandmine after ICU52 roll.
machenbach@chromium.org [Tue, 22 Jul 2014 15:09:58 +0000 (15:09 +0000)]
Landmine after ICU52 roll.

BUG=
TBR=jochen@chromium.org

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

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

10 years agoAdd landmines support.
machenbach@chromium.org [Tue, 22 Jul 2014 15:06:18 +0000 (15:06 +0000)]
Add landmines support.

The scripts are copied from chromium/src/build and simplified.

BUG=
R=jkummerow@chromium.org, jochen@chromium.org

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

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

10 years agoAvoid bash-ism in Makefile
jochen@chromium.org [Tue, 22 Jul 2014 14:53:29 +0000 (14:53 +0000)]
Avoid bash-ism in Makefile

BUG=none
TBR=machenbach@chromium.org
LOG=n

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

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

10 years agoMIPS: Never record safepoint with doubles.
balazs.kilvady@imgtec.com [Tue, 22 Jul 2014 14:34:55 +0000 (14:34 +0000)]
MIPS: Never record safepoint with doubles.

Port r22496 (f9dde0f) and r22498 (7a16d69)

BUG=
R=dusan.milosavljevic@imgtec.com

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

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

10 years agoMove function prototype handling into a special handler rather than IC
verwaest@chromium.org [Tue, 22 Jul 2014 14:27:53 +0000 (14:27 +0000)]
Move function prototype handling into a special handler rather than IC
Adjust hydrogen handling of function.prototype to be based on map feedback. Handle non-instance prototype loading using an IC rather than in the hydrogen instruction. In the future, remove the special instruction and replace by multiple hydrogen instructions.

BUG=
R=mvstanton@chromium.org

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

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

10 years agoSkip test262 tests failing on Mac
jochen@chromium.org [Tue, 22 Jul 2014 12:56:53 +0000 (12:56 +0000)]
Skip test262 tests failing on Mac

BUG=none
TBR=machenbach@chromium.org
LOG=n

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

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

10 years agoUpdate ICU to 5.2 (matching chromium)
jochen@chromium.org [Tue, 22 Jul 2014 12:27:59 +0000 (12:27 +0000)]
Update ICU to 5.2 (matching chromium)

BUG=v8:3452
R=svenpanne@chromium.org
LOG=y

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

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

10 years agoSlotRef::GetValue INT32 case needs to be 64bit big endian aware
jkummerow@chromium.org [Tue, 22 Jul 2014 11:35:49 +0000 (11:35 +0000)]
SlotRef::GetValue INT32 case needs to be 64bit big endian aware

On 64bit big endian systems fetch the correct 32bits from the slot

BUG=v8:3449
LOG=N
R=jkummerow@chromium.org

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

Patch from Andrew Low <andrew_low@ca.ibm.com>.

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

10 years agoAdd profiling to code serializer.
yangguo@chromium.org [Tue, 22 Jul 2014 10:35:38 +0000 (10:35 +0000)]
Add profiling to code serializer.

R=jochen@chromium.org

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

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

10 years agoUpdate test and rebaseline
verwaest@chromium.org [Tue, 22 Jul 2014 09:44:56 +0000 (09:44 +0000)]
Update test and rebaseline

BUG=
R=ishell@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.32.0
machenbach@chromium.org [Tue, 22 Jul 2014 09:19:05 +0000 (09:19 +0000)]
[Auto-roll] Bump up version to 3.28.32.0

TBR=machenbach@chromium.org

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

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

10 years agoSupport setting named properties on non-JSObjects.
verwaest@chromium.org [Tue, 22 Jul 2014 08:28:49 +0000 (08:28 +0000)]
Support setting named properties on non-JSObjects.

BUG=
R=ishell@chromium.org

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

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

10 years agoRevert "Set the state of a swept page after being done with sweeping."
svenpanne@chromium.org [Tue, 22 Jul 2014 07:19:46 +0000 (07:19 +0000)]
Revert "Set the state of a swept page after being done with sweeping."

This reverts commit r22514, it broke the GC stress builder.

TBR=machenbach@chromium.org

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

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

10 years agoSet the state of a swept page after being done with sweeping.
hpayer@chromium.org [Mon, 21 Jul 2014 19:24:02 +0000 (19:24 +0000)]
Set the state of a swept page after being done with sweeping.

BUG=
R=titzer@chromium.org

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

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

10 years agoMIPS: Introduce FLAG_vector_ics.
paul.lind@imgtec.com [Mon, 21 Jul 2014 19:09:56 +0000 (19:09 +0000)]
MIPS: Introduce FLAG_vector_ics.

Port r22500 (8fd2751)

Original commit message:
When FLAG_vector_ics is true, then AST nodes that use Load and KeyedLoad ICs
will allocate a type vector slot to store feedback information. Full codegen
will emit a load of the slot into a register if the flag is on.

Support is incomplete, right now the IC doesn't know how to use the feedback
slot.

BUG=
R=paul.lind@imgtec.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

10 years ago[Arm]: Assert that movw/movt is only emitted for Armv7 targets
rmcilroy@chromium.org [Mon, 21 Jul 2014 16:20:19 +0000 (16:20 +0000)]
[Arm]: Assert that movw/movt is only emitted for Armv7 targets

R=jochen@chromium.org

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

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

10 years agoReduce usage of StoreMode.
verwaest@chromium.org [Mon, 21 Jul 2014 16:01:50 +0000 (16:01 +0000)]
Reduce usage of StoreMode.

BUG=
R=ishell@chromium.org

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

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