Deprecate FACTORY helper macro.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Jun 2013 10:30:05 +0000 (10:30 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Jun 2013 10:30:05 +0000 (10:30 +0000)
commitf8db2414f207e21a76981dd5e56b6c486c0e5a95
tree0c7a4a697c46b17fc3fa1ae519120d6f77fe0262
parentd7975dfdab626bd6eec3e9f6e43ccaab316bfbd5
Deprecate FACTORY helper macro.

This removes the FACTORY helper macro to avoid accidental TLS access
when using the factory. Most internal code has access to the Isolate by
now whereas tests which are not performance critical still heavily use
TLS access through explicit Isolate::Current() calls.

R=svenpanne@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14931 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
50 files changed:
src/api.cc
src/api.h
src/arm/code-stubs-arm.cc
src/arm/full-codegen-arm.cc
src/arm/regexp-macro-assembler-arm.cc
src/ast.cc
src/bootstrapper.cc
src/bootstrapper.h
src/compiler.cc
src/d8.cc
src/debug.cc
src/execution.cc
src/heap.cc
src/hydrogen-instructions.cc
src/hydrogen-instructions.h
src/ia32/code-stubs-ia32.cc
src/ia32/full-codegen-ia32.cc
src/ia32/ic-ia32.cc
src/ia32/macro-assembler-ia32.cc
src/isolate.cc
src/isolate.h
src/jsregexp.cc
src/liveedit.cc
src/messages.cc
src/messages.h
src/objects.cc
src/parser.cc
src/runtime.cc
src/scopeinfo.cc
src/string-stream.cc
src/stub-cache.cc
src/type-info.cc
src/x64/code-stubs-x64.cc
src/x64/full-codegen-x64.cc
test/cctest/test-alloc.cc
test/cctest/test-api.cc
test/cctest/test-assembler-arm.cc
test/cctest/test-assembler-ia32.cc
test/cctest/test-compiler.cc
test/cctest/test-debug.cc
test/cctest/test-dictionary.cc
test/cctest/test-disasm-ia32.cc
test/cctest/test-func-name-inference.cc
test/cctest/test-heap.cc
test/cctest/test-mark-compact.cc
test/cctest/test-object-observe.cc
test/cctest/test-parsing.cc
test/cctest/test-random.cc
test/cctest/test-serialize.cc
test/cctest/test-strings.cc