Commit b8461498 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Attempt to fix GC mole failures.

TBR=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24370 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c1e462cd
...@@ -2830,10 +2830,14 @@ void Heap::CreateInitialObjects() { ...@@ -2830,10 +2830,14 @@ void Heap::CreateInitialObjects() {
set_instanceof_cache_map(Smi::FromInt(0)); set_instanceof_cache_map(Smi::FromInt(0));
set_instanceof_cache_answer(Smi::FromInt(0)); set_instanceof_cache_answer(Smi::FromInt(0));
#define SYMBOL_INIT(name) \ {
roots_[k##name##RootIndex] = *factory->NewPrivateOwnSymbol(); HandleScope scope(isolate());
PRIVATE_SYMBOL_LIST(SYMBOL_INIT) #define SYMBOL_INIT(name) \
Handle<Symbol> name = factory->NewPrivateOwnSymbol(); \
roots_[k##name##RootIndex] = *name;
PRIVATE_SYMBOL_LIST(SYMBOL_INIT)
#undef SYMBOL_INIT #undef SYMBOL_INIT
}
CreateFixedStubs(); CreateFixedStubs();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment