Reviewers: dvyukov, fschneider, jbates,
Description:
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.
BUG=1859
Please review this at http://codereview.chromium.org/9455088/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/arm/assembler-arm.h
M src/arm/assembler-arm.cc
M src/arm/code-stubs-arm.cc
M src/assembler.h
M src/assembler.cc
M src/builtins.cc
M src/d8.cc
M src/flag-definitions.h
M src/flags.cc
M src/frames.cc
M src/gdb-jit.h
M src/gdb-jit.cc
M src/hashmap.h
M src/hashmap.cc
M src/heap.cc
M src/ia32/assembler-ia32.h
M src/ia32/code-stubs-ia32.cc
M src/isolate.h
M src/isolate.cc
M src/lithium-allocator.cc
M src/lithium.h
M src/log.h
M src/log.cc
M src/platform-cygwin.cc
M src/platform-freebsd.cc
M src/platform-linux.cc
M src/platform-macos.cc
M src/platform-openbsd.cc
M src/platform-posix.cc
M src/platform-solaris.cc
M src/platform-win32.cc
M src/platform.h
M src/runtime-profiler.h
M src/runtime-profiler.cc
M src/scopes.cc
M src/v8.h
M src/v8.cc
M src/x64/assembler-x64.h
M src/x64/code-stubs-x64.cc
M src/x64/disasm-x64.cc
M src/x64/macro-assembler-x64.h
M src/x64/macro-assembler-x64.cc
M tools/gyp/v8.gyp
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev