v8/tools
fschneider@chromium.org 1f7d42efc9 Landing for pliard@chromium.org: Remove static initializers in v8.
This change includes two CLs by pliard@chromium.org:

1. http://codereview.chromium.org/9447052/ (Add CallOnce() and simple LazyInstance implementation):

Note that this implementation of LazyInstance does not handle global destructors (i.e. the lazy instances are never deleted).

This CL was initially reviewed on codereview.appspot.com:
http://codereview.appspot.com/5687064/



2.  http://codereview.chromium.org/9455088/ (Remove static initializers in v8):
This CL depends on CL 9447052 (adding CallOnce and LazyInstance).
It is based on a patch sent by Digit.

With this patch applied, we have only one static initializer left (in atomicops_internals_x86_gcc.cc). This static initializer populates a structure used by x86 atomic operations. It seems that we can hardly remove it. If possible, it will be removed in a next CL. 

This CL also modifies the presubmit script to check the number of static initializers.


BUG=v8:1859
Review URL: https://chromiumcodereview.appspot.com/9666052

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11010 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-03-12 13:56:56 +00:00
..
gcmole In gcmole assume that methods exiting VM can cause GC. 2012-02-17 11:34:50 +00:00
gyp Landing for pliard@chromium.org: Remove static initializers in v8. 2012-03-12 13:56:56 +00:00
oom_dump Update oom_dump README to indicate that people should build the correct V8 version. 2011-07-26 06:03:36 +00:00
v8.xcodeproj Add support for building Xcode project files from GYP files 2011-06-09 09:07:17 +00:00
visual_studio Remove the Visual Studio project files 2011-05-02 13:43:13 +00:00
bash-completion.sh Bash completion for d8: fix directory name completion 2012-02-08 17:20:35 +00:00
check-static-initializers.sh Landing for pliard@chromium.org: Remove static initializers in v8. 2012-03-12 13:56:56 +00:00
codemap.js Eliminate the need for code delete events in CPU profiler. 2011-09-14 11:47:03 +00:00
common-includes.sh Refactored push-to-trunk.sh and merge-to-branch.sh. 2012-03-09 10:16:00 +00:00
consarray.js TickProcessor script reimplemented in JavaScript. 2009-04-27 13:50:42 +00:00
csvparser.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
disasm.py MIPS: Enabled mips in tools/disasm.py. 2012-02-15 08:18:06 +00:00
freebsd-tick-processor * Fix build errors on FreeBSD 8.2 2011-03-16 11:15:43 +00:00
gc-nvp-trace-processor.py Align tools/gc-nvp-trace-processor.py with --trace-gc-nvp output. 2011-12-15 09:41:28 +00:00
gdb-v8-support.py Added check for trailing whitespaces and corrected existing violations. 2011-09-01 11:28:10 +00:00
gen-postmortem-metadata.py Add Code-related fields to postmortem metadata 2012-03-09 12:34:42 +00:00
generate-ten-powers.scm Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
grokdump.py Fixed AccessorPair handling 2012-01-10 16:12:16 +00:00
js2c.py Fix JS2C, so that macros with multiple parameters actually WORK. 2012-01-24 14:29:02 +00:00
jsmin.py Fix minifier to distinguish regexps from divisions (to some extent). 2012-03-08 16:38:44 +00:00
linux-tick-processor Adapt linux-tick-processor to GYP build. 2011-09-26 14:09:30 +00:00
ll_prof.py Skip disassembling ld.so.cache in ll_prof.py. 2012-01-13 10:23:19 +00:00
logreader.js Fixing presubmit. 2011-09-15 13:20:42 +00:00
mac-nm Fix mac-nm script to support filenames w/spaces 2009-08-13 14:03:12 +00:00
mac-tick-processor Implement shared libraries logging on Mac OS X, added required support in Tick Processor. 2009-07-14 05:01:06 +00:00
merge-to-branch.sh Refactored push-to-trunk.sh and merge-to-branch.sh. 2012-03-09 10:16:00 +00:00
presubmit.py Parallelize cpplint in presubmit and fix usage of DISALLOW_* macros. 2012-01-20 16:17:08 +00:00
process-heap-prof.py Added check for trailing whitespaces and corrected existing violations. 2011-09-01 11:28:10 +00:00
profile_view.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
profile.js Revert accidental r9229 and r9230 2011-09-12 10:50:40 +00:00
push-to-trunk.sh Refactored push-to-trunk.sh and merge-to-branch.sh. 2012-03-09 10:16:00 +00:00
run-valgrind.py Changed valgrind script to match changed output format 2009-09-17 12:13:08 +00:00
splaytree.js Remove support for logging into a memory buffer. 2011-07-13 11:31:22 +00:00
stats-viewer.py tools/stats-viewer: Update chromium stats table layout. 2011-05-25 16:47:54 +00:00
test-wrapper-gypbuild.py Implement --download-data for test harness. 2012-03-07 12:51:31 +00:00
test.py Implement --download-data for test harness. 2012-03-07 12:51:31 +00:00
tickprocessor-driver.js Add --call-graph-size option to tickprocessor. 2012-02-13 10:07:57 +00:00
tickprocessor.js Add --call-graph-size option to tickprocessor. 2012-02-13 10:07:57 +00:00
utils.py Adding NetBSD support for scons build. 2011-11-16 14:35:47 +00:00
windows-tick-processor.bat Make windows-tick-processor respect D8_PATH. 2010-10-25 15:04:08 +00:00