40 #if defined(BUILDING_V8_SHARED) && defined(USING_V8_SHARED)
41 #error both BUILDING_V8_SHARED and USING_V8_SHARED are set - please check the\
42 build configuration to ensure that at most one of these is set
45 #ifdef BUILDING_V8_SHARED
46 #define V8EXPORT __declspec(dllexport)
48 #define V8EXPORT __declspec(dllimport)
51 #endif // BUILDING_V8_SHARED
58 #if defined(__GNUC__) && ((__GNUC__ >= 4) || \
59 (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(V8_SHARED)
60 #define V8EXPORT __attribute__ ((visibility("default")))
75 : data_(data), size_(size) { }
85 size_t size()
const {
return size_; }
88 const uint8_t*
data()
const {
return data_; }
91 const uint8_t*
const data_;
114 size_t max_stack_size);
118 #endif // PREPARSER_H
const uint8_t * data() const
PreParserData V8EXPORT Preparse(UnicodeInputStream *input, size_t max_stack_size)
activate correct semantics for inheriting readonliness enable harmony semantics for typeof enable harmony enable harmony proxies enable all harmony harmony_scoping harmony_proxies harmony_scoping tracks arrays with only smi values automatically unbox arrays of doubles use crankshaft use hydrogen range analysis use hydrogen global value numbering use function inlining maximum number of AST nodes considered for a single inlining loop invariant code motion print statistics for hydrogen trace generated IR for specified phases trace register allocator trace range analysis trace representation types environment for every instruction put a break point before deoptimizing polymorphic inlining perform array bounds checks elimination use dead code elimination trace on stack replacement optimize closures cache optimized code for closures functions with arguments object loop weight for representation inference allow uint32 values on optimize frames if they are used only in safe operations track parallel recompilation enable all profiler experiments number of stack frames inspected by the profiler call recompile stub directly when self optimizing trigger profiler ticks based on counting instead of timing weight back edges by jump distance for interrupt triggering percentage of ICs that must have type info to allow optimization watch_ic_patching retry_self_opt interrupt_at_exit extra verbose compilation tracing generate extra emit comments in code disassembly enable use of SSE3 instructions if available enable use of CMOV instruction if available enable use of SAHF instruction if enable use of VFP3 instructions if available this implies enabling ARMv7 and VFP2 enable use of VFP2 instructions if available enable use of SDIV and UDIV instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of MIPS FPU instructions if NULL
PreParserData(size_t size, const uint8_t *data)
static PreParserData StackOverflow()