Renamed "symbols" to "internalized strings" throughout the code base,
authorrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 28 Feb 2013 17:03:34 +0000 (17:03 +0000)
committerrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 28 Feb 2013 17:03:34 +0000 (17:03 +0000)
commit55f93b5532643e38e9b84aaddca477f60d5b65b2
tree430498303d00529dc87ab172eeed36b29adb9145
parent3b7417a506a5aee9c76c982ddfbddc7d38196153
Renamed "symbols" to "internalized strings" throughout the code base,
in preparation of the introduction of ES6 'symbols' (aka private/unique names).

The SymbolTable became the StringTable. I also made sure to adapt all comments. The only remaining use of the term "symbol" (other than unrelated uses in the parser and such) is now 'NewSymbol' in the API and the 'V8.KeyedLoadGenericSymbol' counter, changing which might break embedders.

The one functional change in this CL is that I removed the former 'empty_string' constant, since it is redundant given the 'empty_symbol' constant that we also had (and both were used inconsistently).

R=yangguo@chromium.org
BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13781 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
94 files changed:
include/v8.h
src/accessors.cc
src/api.cc
src/arm/builtins-arm.cc
src/arm/code-stubs-arm.cc
src/arm/code-stubs-arm.h
src/arm/codegen-arm.cc
src/arm/full-codegen-arm.cc
src/arm/ic-arm.cc
src/arm/lithium-codegen-arm.cc
src/arm/stub-cache-arm.cc
src/ast.cc
src/ast.h
src/bootstrapper.cc
src/code-stubs-hydrogen.cc
src/code-stubs.cc
src/code-stubs.h
src/conversions-inl.h
src/debug.cc
src/execution.cc
src/extensions/externalize-string-extension.cc
src/factory.cc
src/factory.h
src/func-name-inferrer.cc
src/handles.cc
src/heap-inl.h
src/heap-snapshot-generator.cc
src/heap.cc
src/heap.h
src/hydrogen-instructions.cc
src/hydrogen-instructions.h
src/hydrogen.cc
src/ia32/code-stubs-ia32.cc
src/ia32/code-stubs-ia32.h
src/ia32/full-codegen-ia32.cc
src/ia32/ic-ia32.cc
src/ia32/lithium-codegen-ia32.cc
src/ia32/stub-cache-ia32.cc
src/ic.cc
src/ic.h
src/interface.cc
src/isolate.cc
src/json-parser.h
src/json-stringifier.h
src/liveedit.cc
src/log-utils.cc
src/mark-compact.cc
src/mark-compact.h
src/messages.cc
src/mips/code-stubs-mips.cc
src/mips/code-stubs-mips.h
src/mips/stub-cache-mips.cc
src/objects-debug.cc
src/objects-inl.h
src/objects-printer.cc
src/objects.cc
src/objects.h
src/parser.cc
src/preparse-data.cc
src/preparse-data.h
src/prettyprinter.cc
src/property.h
src/rewriter.cc
src/runtime.cc
src/runtime.h
src/scopeinfo.cc
src/scopes.cc
src/serialize.cc
src/serialize.h
src/string-stream.cc
src/stub-cache.cc
src/type-info.cc
src/type-info.h
src/v8-counters.h
src/variables.cc
src/variables.h
src/x64/builtins-x64.cc
src/x64/code-stubs-x64.cc
src/x64/code-stubs-x64.h
src/x64/codegen-x64.cc
src/x64/full-codegen-x64.cc
src/x64/ic-x64.cc
src/x64/lithium-codegen-x64.cc
src/x64/stub-cache-x64.cc
test/cctest/test-alloc.cc
test/cctest/test-api.cc
test/cctest/test-compiler.cc
test/cctest/test-debug.cc
test/cctest/test-heap.cc
test/cctest/test-mark-compact.cc
test/cctest/test-parsing.cc [changed mode: 0755->0644]
test/cctest/test-random.cc
test/cctest/test-serialize.cc
test/cctest/test-weakmaps.cc