Go to file
vitalyr@chromium.org 633e615b89 Improve memory usage of receiver type feedback.
Some AST nodes (Property, Call, etc.) store either a list of receiver
types or a monomorphic receiver type. This patch merges the two fields
using a small pointer list. GetMonomorphicReceiverType() is now a
purely convenience function returning the first and only recorded
type.

This saves about 500K (of about 39M) on average when compiling V8
benchmark as measured by a simple patch adding a zone allocation
counter (https://gist.github.com/1149397).

R=kmillikin@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8993 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-08-22 14:23:37 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
build GYP fixes: -Werror, snapshot.log, want_separate_host_toolset detection 2011-08-17 15:56:54 +00:00
include Added forgotten V8EXPORT attributes for v8::Array::CheckCast and v8::Number::CheckCast. 2011-08-22 13:01:25 +00:00
preparser Make GYP build usable for day-to-day work (second attempt) 2011-08-05 09:44:30 +00:00
samples Simplified the sample shell. Resort to D8 shell for tests instead. 2011-08-19 11:13:26 +00:00
src Improve memory usage of receiver type feedback. 2011-08-22 14:23:37 +00:00
test Inserted a missing string encoding check in lastIndexOf. 2011-08-22 13:55:25 +00:00
tools GYP fixes: -Werror, snapshot.log, want_separate_host_toolset detection 2011-08-17 15:56:54 +00:00
.gitignore Update .gitignore to include out/ directory created by Gyp/Make builds 2011-08-12 09:52:41 +00:00
AUTHORS Fixes the build for the shell on illumos and Solaris. -D__C99FEATURES__ was added to mirror how the build is done on the normal platform. The changes in the platform code are a follow up to a prior review and has the Solaris implementation be more similar to the Linux version as opposed to the FreeBSD. 2011-07-01 05:50:14 +00:00
ChangeLog Prepare push to trunk. Working version now 3.5.8. 2011-08-22 10:55:48 +00:00
LICENSE Fix the license info to correctly state Copyright "the V8 project 2011-01-19 09:20:18 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Support OUTDIR variable for tests triggered by Makefile 2011-08-10 11:07:31 +00:00
SConstruct Allow snapshots to be generated without using vfp3 code on arm. 2011-08-10 11:14:32 +00:00