• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/

Lines Matching refs:vm

71         ExecutableBase(VM& vm, Structure* structure, int numParameters)
72 : JSCell(vm, structure)
78 void finishCreation(VM& vm)
80 Base::finishCreation(vm);
105 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue proto) { return Structure::create(vm, globalObject, proto, TypeInfo(CompoundType, StructureFlags), &s_info); }
274 static NativeExecutable* create(VM& vm, MacroAssemblerCodeRef callThunk, NativeFunction function, MacroAssemblerCodeRef constructThunk, NativeFunction constructor, Intrinsic intrinsic)
278 executable = new (NotNull, allocateCell<NativeExecutable>(vm.heap)) NativeExecutable(vm, function, constructor);
279 executable->finishCreation(vm, JITCode(), JITCode(), intrinsic);
281 executable = new (NotNull, allocateCell<NativeExecutable>(vm.heap)) NativeExecutable(vm, function, constructor);
282 executable->finishCreation(vm, JITCode::HostFunction(callThunk), JITCode::HostFunction(constructThunk), intrinsic);
289 static NativeExecutable* create(VM& vm, NativeFunction function, NativeFunction constructor)
291 ASSERT(!vm.canUseJIT());
292 NativeExecutable* executable = new (NotNull, allocateCell<NativeExecutable>(vm.heap)) NativeExecutable(vm, function, constructor);
293 executable->finishCreation(vm);
323 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue proto) { return Structure::create(vm, globalObject, proto, TypeInfo(LeafType, StructureFlags), &s_info); }
331 void finishCreation(VM& vm, JITCode callThunk, JITCode constructThunk, Intrinsic intrinsic)
333 Base::finishCreation(vm);
343 NativeExecutable(VM& vm, NativeFunction function, NativeFunction constructor)
344 : ExecutableBase(vm, vm.nativeExecutableStructure.get(), NUM_PARAMETERS_IS_HOST)
360 ScriptExecutable(Structure* structure, VM& vm, const SourceCode& source, bool isInStrictContext)
361 : ExecutableBase(vm, structure, NUM_PARAMETERS_NOT_COMPILED)
368 : ExecutableBase(exec->vm(), structure, NUM_PARAMETERS_NOT_COMPILED)
408 void finishCreation(VM& vm)
410 Base::finishCreation(vm);
411 vm.heap.addCompiledCode(this); // Balanced by Heap::deleteUnmarkedCompiledCode().
414 if (SamplingTool* sampler = vm.interpreter->sampler())
415 sampler->notifyOfScope(vm, this);
436 RELEASE_ASSERT(exec->vm().dynamicGlobalObject);
460 executable->finishCreation(exec->vm());
470 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue proto)
472 return Structure::create(vm, globalObject, proto, TypeInfo(EvalExecutableType, StructureFlags), &s_info);
503 executable->finishCreation(exec->vm());
514 RELEASE_ASSERT(exec->vm().dynamicGlobalObject);
544 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue proto)
546 return Structure::create(vm, globalObject, proto, TypeInfo(ProgramExecutableType, StructureFlags), &s_info);
579 static FunctionExecutable* create(VM& vm, const SourceCode& source, UnlinkedFunctionExecutable* unlinkedExecutable, unsigned firstLine, unsigned lastLine, unsigned startColumn)
581 FunctionExecutable* executable = new (NotNull, allocateCell<FunctionExecutable>(vm.heap)) FunctionExecutable(vm, source, unlinkedExecutable, firstLine, lastLine, startColumn);
582 executable->finishCreation(vm);
609 RELEASE_ASSERT(exec->vm().dynamicGlobalObject);
637 RELEASE_ASSERT(exec->vm().dynamicGlobalObject);
688 void jettisonOptimizedCodeFor(VM& vm, CodeSpecializationKind kind)
691 jettisonOptimizedCodeForCall(vm);
694 jettisonOptimizedCodeForConstruct(vm);
740 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue proto)
742 return Structure::create(vm, globalObject, proto, TypeInfo(FunctionExecutableType, StructureFlags), &s_info);
782 inline JSFunction::JSFunction(VM& vm, FunctionExecutable* executable, JSScope* scope)
783 : Base(vm, scope->globalObject()->functionStructure())
784 , m_executable(vm, this, executable)
785 , m_scope(vm, this, scope)