Changeset 180551 in webkit for trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp
- Timestamp:
- Feb 23, 2015, 11:27:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp
r180547 r180551 146 146 const ClassInfo JSGlobalObject::s_info = { "GlobalObject", &Base::s_info, &globalObjectTable, CREATE_METHOD_TABLE(JSGlobalObject) }; 147 147 148 const GlobalObjectMethodTable JSGlobalObject::s_globalObjectMethodTable = { &allowsAccessFrom, &supportsProfiling, &supportsRichSourceInfo, &shouldInterruptScript, &javaScript RuntimeFlags, 0, &shouldInterruptScriptBeforeTimeout };148 const GlobalObjectMethodTable JSGlobalObject::s_globalObjectMethodTable = { &allowsAccessFrom, &supportsProfiling, &supportsRichSourceInfo, &shouldInterruptScript, &javaScriptExperimentsEnabled, 0, &shouldInterruptScriptBeforeTimeout }; 149 149 150 150 /* Source for JSGlobalObject.lut.h … … 174 174 , m_weakRandom(Options::forceWeakRandomSeed() ? Options::forcedWeakRandomSeed() : static_cast<unsigned>(randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0))) 175 175 , m_evalEnabled(true) 176 , m_ runtimeFlags()176 , m_experimentsEnabled(false) 177 177 , m_consoleClient(nullptr) 178 178 , m_globalObjectMethodTable(globalObjectMethodTable ? globalObjectMethodTable : &s_globalObjectMethodTable) … … 374 374 375 375 FOR_EACH_SIMPLE_BUILTIN_TYPE_WITH_CONSTRUCTOR(PUT_CONSTRUCTOR_FOR_SIMPLE_TYPE) 376 377 if (m_runtimeFlags.isSymbolEnabled()) 378 putDirectWithoutTransition(vm, vm.propertyNames->Symbol, symbolConstructor, DontEnum); 379 376 380 377 #undef PUT_CONSTRUCTOR_FOR_SIMPLE_TYPE 381 378 PrototypeMap& prototypeMap = vm.prototypeMap; … … 440 437 JSConsole* consoleObject = JSConsole::create(vm, m_consoleStructure.get()); 441 438 putDirectWithoutTransition(vm, Identifier(exec, "console"), consoleObject, DontEnum); 442 439 443 440 resetPrototype(vm, prototype()); 444 441 }
Note:
See TracChangeset
for help on using the changeset viewer.