This is a new static flag system, designed to have all flags in a central place,...
authordeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Sep 2008 10:19:33 +0000 (10:19 +0000)
committerdeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Sep 2008 10:19:33 +0000 (10:19 +0000)
commit77196c5771e2cef42207daf7115d046bc4c13e7a
treeac6cb2ffbcd245480bd3c86411c4b24c3c6b11be
parentb5d8866ced88e089e05593d58cfcd5646cf0aac2
This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration.  All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc.  The flag variables are always defined.  For example, a debug flag in release mode still exists, but is read only and set to the default value.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@296 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
49 files changed:
src/assembler-arm.cc
src/assembler-ia32.cc
src/bootstrapper.cc
src/builtins-ia32.cc
src/builtins.cc
src/checks.cc
src/checks.h
src/code-stubs.cc
src/codegen-arm.cc
src/codegen-ia32.cc
src/codegen.cc
src/codegen.h
src/compiler.cc
src/contexts.cc
src/debug.cc
src/execution.cc
src/flags-inl.h [deleted file]
src/flags.cc
src/flags.defs [new file with mode: 0755]
src/flags.h
src/frames.cc
src/handles.cc
src/heap-inl.h
src/heap.cc
src/ic-ia32.cc
src/ic.cc
src/log.cc
src/macro-assembler-arm.cc
src/macro-assembler-ia32.cc
src/mark-compact.cc
src/mksnapshot.cc
src/objects.cc
src/parser.cc
src/runtime.cc
src/scopes.cc
src/serialize.cc
src/simulator-arm.cc
src/spaces.cc
src/stub-cache.cc
src/top.cc
src/usage-analyzer.cc
src/v8.cc
src/v8.h
test/cctest/test-api.cc
test/cctest/test-debug.cc
test/cctest/test-flags.cc
test/cctest/test-mark-compact.cc
test/cctest/test-serialize.cc
tools/v8.xcodeproj/project.pbxproj