webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Functions
jsc.cpp File Reference
#include "config.h"
#include "ArrayBuffer.h"
#include "ArrayPrototype.h"
#include "BuiltinExecutableCreator.h"
#include "BuiltinNames.h"
#include "ButterflyInlines.h"
#include "CodeBlock.h"
#include "Completion.h"
#include "ConfigFile.h"
#include "DOMJITGetterSetter.h"
#include "DOMJITPatchpoint.h"
#include "DOMJITPatchpointParams.h"
#include "Disassembler.h"
#include "Exception.h"
#include "ExceptionHelpers.h"
#include "GetterSetter.h"
#include "HeapProfiler.h"
#include "HeapSnapshotBuilder.h"
#include "InitializeThreading.h"
#include "Interpreter.h"
#include "JIT.h"
#include "JSArray.h"
#include "JSArrayBuffer.h"
#include "JSCInlines.h"
#include "JSFunction.h"
#include "JSInternalPromise.h"
#include "JSInternalPromiseDeferred.h"
#include "JSLock.h"
#include "JSModuleLoader.h"
#include "JSNativeStdFunction.h"
#include "JSONObject.h"
#include "JSProxy.h"
#include "JSSourceCode.h"
#include "JSString.h"
#include "JSTypedArrays.h"
#include "JSWebAssemblyCallee.h"
#include "LLIntData.h"
#include "LLIntThunks.h"
#include "ObjectConstructor.h"
#include "ParserError.h"
#include "ProfilerDatabase.h"
#include "ProtoCallFrame.h"
#include "ReleaseHeapAccessScope.h"
#include "SamplingProfiler.h"
#include "ShadowChicken.h"
#include "StackVisitor.h"
#include "StructureInlines.h"
#include "StructureRareDataInlines.h"
#include "SuperSampler.h"
#include "TestRunnerUtils.h"
#include "TypeProfilerLog.h"
#include "WasmFaultSignalHandler.h"
#include "WasmPlan.h"
#include "WasmMemory.h"
#include <locale.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <thread>
#include <type_traits>
#include <wtf/CommaPrinter.h>
#include <wtf/CurrentTime.h>
#include <wtf/MainThread.h>
#include <wtf/NeverDestroyed.h>
#include <wtf/StringPrintStream.h>
#include <wtf/text/StringBuilder.h>
#include <unistd.h>

Classes

class  Message
 
interface  Worker
 
class  Workers
 
struct  Script
 
struct  CommandLine
 
class  StopWatch
 
class  GlobalObject
 
struct  DirectoryName
 
struct  ModuleName
 
class  FunctionJSCStackFunctor
 

Macros

#define PATH_MAX   4096
 
#define FOR_EACH_OPTION(type_, name_, defaultValue_, availability_, description_)   addOption(exec->vm(), optionsObject, Identifier::fromString(exec, #name_), Options::name_());
 
#define TRY
 
#define EXCEPT(x)
 
#define CHECK_EXCEPTION()
 
#define RUNNING_FROM_XCODE   0
 

Functions

template<typename Func >
int runJSC (CommandLine, const Func &)
 
template<typename ValueType >
std::enable_if<!std::is_fundamental< ValueType >::value >::type addOption (VM &, JSObject *, Identifier, ValueType)
 
template<typename ValueType >
std::enable_if< std::is_fundamental< ValueType >::value >::type addOption (VM &vm, JSObject *optionsObject, Identifier identifier, ValueType value)
 
int jscmain (int argc, char **argv)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ CHECK_EXCEPTION

#define CHECK_EXCEPTION ( )
Value:
do { \
if (scope.exception()) { \
scope.clearException(); \
return; \
} \
} while (false)

◆ EXCEPT

#define EXCEPT (   x)

◆ FOR_EACH_OPTION

#define FOR_EACH_OPTION (   type_,
  name_,
  defaultValue_,
  availability_,
  description_ 
)    addOption(exec->vm(), optionsObject, Identifier::fromString(exec, #name_), Options::name_());

◆ PATH_MAX

#define PATH_MAX   4096

◆ RUNNING_FROM_XCODE

#define RUNNING_FROM_XCODE   0

◆ TRY

#define TRY

Function Documentation

◆ addOption() [1/2]

template<typename ValueType >
std::enable_if<!std::is_fundamental<ValueType>::value>::type addOption ( VM ,
JSObject ,
Identifier  ,
ValueType   
)

◆ addOption() [2/2]

template<typename ValueType >
std::enable_if<std::is_fundamental<ValueType>::value>::type addOption ( VM vm,
JSObject optionsObject,
Identifier  identifier,
ValueType  value 
)

◆ jscmain()

int jscmain ( int  argc,
char **  argv 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ runJSC()

template<typename Func >
int runJSC ( CommandLine  options,
const Func &  func 
)