41 class CompilationInfo;
42 class FuncNameInferrer;
59 const char*
message() {
return message_; }
80 : backing_(backing) { }
84 int start_pos() {
return backing_[kStartPositionIndex]; }
85 int end_pos() {
return backing_[kEndPositionIndex]; }
92 return static_cast<LanguageMode>(backing_[kLanguageModeIndex]);
95 bool is_valid() {
return !backing_.is_empty(); }
107 owns_store_(
true) { }
115 virtual const char*
Data();
142 unsigned char* symbol_data_;
143 unsigned char* symbol_data_end_;
147 unsigned Read(
int position);
148 unsigned* ReadAddress(
int position);
150 int ReadNumber(
byte** source);
153 : store_(reinterpret_cast<unsigned*>(const_cast<char*>(backing_store)),
154 length / static_cast<int>(sizeof(unsigned))),
157 reinterpret_cast<intptr_t>(backing_store) %
sizeof(
unsigned)));
161 static const char* ReadString(
unsigned* start,
int* chars);
189 template <
typename T,
int initial_size>
202 list_->
Add(last_, zone);
215 if ((list_ !=
NULL) && (list_->length() > 0))
216 last_ = list_->RemoveLast();
228 if (i == list_->length()) {
243 int length = (list_ ==
NULL) ? 0 : list_->length();
244 return length + ((last_ ==
NULL) ? 0 : 1);
252 list_->
Add(last_, zone);
279 void FlushCharacters();
282 Zone* zone()
const {
return zone_; }
291 enum {ADD_NONE, ADD_CHAR, ADD_TERM, ADD_ASSERT, ADD_ATOM} last_added_;
292 #define LAST(x) last_added_ = x;
355 enum SubexpressionType {
365 RegExpParserState(RegExpParserState* previous_state,
366 SubexpressionType group_type,
367 int disjunction_capture_index,
369 : previous_state_(previous_state),
371 group_type_(group_type),
372 disjunction_capture_index_(disjunction_capture_index) {}
374 RegExpParserState* previous_state() {
return previous_state_; }
375 bool IsSubexpression() {
return previous_state_ !=
NULL; }
377 RegExpBuilder* builder() {
return builder_; }
379 SubexpressionType group_type() {
return group_type_; }
383 int capture_index() {
return disjunction_capture_index_; }
387 RegExpParserState* previous_state_;
389 RegExpBuilder* builder_;
391 SubexpressionType group_type_;
393 int disjunction_capture_index_;
396 Isolate* isolate() {
return isolate_; }
397 Zone* zone()
const {
return zone_; }
399 uc32 current() {
return current_; }
400 bool has_more() {
return has_more_; }
401 bool has_next() {
return next_pos_ < in()->
length(); }
403 FlatStringReader* in() {
return in_; }
404 void ScanForCaptures();
408 Handle<String>* error_;
409 ZoneList<RegExpCapture*>* captures_;
410 FlatStringReader* in_;
418 bool contains_anchor_;
419 bool is_scanned_for_captures_;
427 class SingletonLogger;
436 delete reusable_preparser_;
437 reusable_preparser_ =
NULL;
456 static const int kMaxNumFunctionParameters = 32766;
457 static const int kMaxNumFunctionLocals = 131071;
464 enum VariableDeclarationContext {
472 enum VariableDeclarationProperties {
486 int NextMaterializedLiteralIndex() {
487 return next_materialized_literal_index_++;
489 int materialized_literal_count() {
493 int NextHandlerIndex() {
return next_handler_index_++; }
494 int handler_count() {
return next_handler_index_; }
496 void SetThisPropertyAssignmentInfo(
497 bool only_simple_this_property_assignments,
498 Handle<FixedArray> this_property_assignments) {
499 only_simple_this_property_assignments_ =
500 only_simple_this_property_assignments;
501 this_property_assignments_ = this_property_assignments;
503 bool only_simple_this_property_assignments() {
504 return only_simple_this_property_assignments_;
506 Handle<FixedArray> this_property_assignments() {
507 return this_property_assignments_;
510 void AddProperty() { expected_property_count_++; }
511 int expected_property_count() {
return expected_property_count_; }
513 AstNodeFactory<AstConstructionVisitor>* factory() {
return &factory_; }
519 int next_materialized_literal_index_;
522 int next_handler_index_;
525 int expected_property_count_;
529 bool only_simple_this_property_assignments_;
530 Handle<FixedArray> this_property_assignments_;
535 int saved_ast_node_id_;
536 AstNodeFactory<AstConstructionVisitor> factory_;
541 ParsingModeScope(
Parser* parser, Mode mode)
543 old_mode_(parser->mode()) {
544 parser_->mode_ = mode;
546 ~ParsingModeScope() {
547 parser_->mode_ = old_mode_;
555 FunctionLiteral*
ParseLazy(Utf16CharacterStream* source,
556 ZoneScope* zone_scope);
558 Isolate* isolate() {
return isolate_; }
559 Zone* zone()
const {
return zone_; }
560 CompilationInfo* info()
const {
return info_; }
563 FunctionLiteral* DoParseProgram(CompilationInfo* info,
564 Handle<String> source,
565 ZoneScope* zone_scope);
569 void ReportInvalidPreparseData(Handle<String> name,
bool* ok);
570 void ReportMessage(
const char* message, Vector<const char*> args);
571 void ReportMessage(
const char* message, Vector<Handle<String> > args);
573 bool inside_with()
const {
return top_scope_->
inside_with(); }
574 Scanner& scanner() {
return scanner_; }
575 Mode mode()
const {
return mode_; }
576 ScriptDataImpl* pre_data()
const {
return pre_data_; }
577 bool is_extended_mode() {
587 bool IsEvalOrArguments(Handle<String>
string);
593 void* ParseSourceElements(ZoneList<Statement*>* processor,
int end_token,
594 bool is_eval,
bool is_global,
bool* ok);
596 Statement* ParseModuleDeclaration(
ZoneStringList* names,
bool* ok);
597 Module* ParseModule(
bool* ok);
598 Module* ParseModuleLiteral(
bool* ok);
599 Module* ParseModulePath(
bool* ok);
600 Module* ParseModuleVariable(
bool* ok);
601 Module* ParseModuleUrl(
bool* ok);
602 Module* ParseModuleSpecifier(
bool* ok);
603 Block* ParseImportDeclaration(
bool* ok);
604 Statement* ParseExportDeclaration(
bool* ok);
607 Statement* ParseFunctionDeclaration(
ZoneStringList* names,
bool* ok);
608 Statement* ParseNativeDeclaration(
bool* ok);
610 Block* ParseVariableStatement(VariableDeclarationContext var_context,
613 Block* ParseVariableDeclarations(VariableDeclarationContext var_context,
614 VariableDeclarationProperties* decl_props,
618 Statement* ParseExpressionOrLabelledStatement(
ZoneStringList* labels,
621 Statement* ParseContinueStatement(
bool* ok);
623 Statement* ParseReturnStatement(
bool* ok);
625 CaseClause* ParseCaseClause(
bool* default_seen_ptr,
bool* ok);
626 SwitchStatement* ParseSwitchStatement(
ZoneStringList* labels,
bool* ok);
627 DoWhileStatement* ParseDoWhileStatement(
ZoneStringList* labels,
bool* ok);
628 WhileStatement* ParseWhileStatement(
ZoneStringList* labels,
bool* ok);
630 Statement* ParseThrowStatement(
bool* ok);
631 Expression* MakeCatchContext(Handle<String>
id, VariableProxy* value);
632 TryStatement* ParseTryStatement(
bool* ok);
633 DebuggerStatement* ParseDebuggerStatement(
bool* ok);
638 Expression* ParseExpression(
bool accept_IN,
bool* ok);
639 Expression* ParseAssignmentExpression(
bool accept_IN,
bool* ok);
640 Expression* ParseConditionalExpression(
bool accept_IN,
bool* ok);
641 Expression* ParseBinaryExpression(
int prec,
bool accept_IN,
bool* ok);
642 Expression* ParseUnaryExpression(
bool* ok);
643 Expression* ParsePostfixExpression(
bool* ok);
644 Expression* ParseLeftHandSideExpression(
bool* ok);
645 Expression* ParseNewExpression(
bool* ok);
646 Expression* ParseMemberExpression(
bool* ok);
647 Expression* ParseNewPrefix(PositionStack* stack,
bool* ok);
648 Expression* ParseMemberWithNewPrefixesExpression(PositionStack* stack,
650 Expression* ParsePrimaryExpression(
bool* ok);
651 Expression* ParseArrayLiteral(
bool* ok);
652 Expression* ParseObjectLiteral(
bool* ok);
653 ObjectLiteral::Property* ParseObjectLiteralGetSet(
bool is_getter,
bool* ok);
654 Expression* ParseRegExpLiteral(
bool seen_equal,
bool* ok);
658 void BuildObjectLiteralConstantProperties(
659 ZoneList<ObjectLiteral::Property*>* properties,
660 Handle<FixedArray> constants,
666 void BuildArrayLiteralBoilerplateLiterals(ZoneList<Expression*>* properties,
667 Handle<FixedArray> constants,
672 bool IsBoilerplateProperty(ObjectLiteral::Property* property);
678 Handle<Object> GetBoilerplateValue(Expression* expression);
680 ZoneList<Expression*>* ParseArguments(
bool* ok);
681 FunctionLiteral* ParseFunctionLiteral(Handle<String> var_name,
682 bool name_is_reserved,
683 int function_token_position,
689 Expression* ParseV8Intrinsic(
bool* ok);
692 if (stack_overflow_)
return Token::ILLEGAL;
693 return scanner().
peek();
700 if (stack_overflow_) {
701 return Token::ILLEGAL;
703 if (StackLimitCheck(isolate()).HasOverflowed()) {
707 stack_overflow_ =
true;
709 return scanner().
Next();
712 bool peek_any_identifier();
717 void ExpectSemicolon(
bool* ok);
718 void ExpectContextualKeyword(
const char* keyword,
bool* ok);
721 if (scanner().is_literal_ascii()) {
723 scanner().literal_ascii_string(), tenured);
726 scanner().literal_utf16_string(), tenured);
731 if (scanner().is_next_literal_ascii()) {
733 scanner().next_literal_ascii_string(), tenured);
736 scanner().next_literal_utf16_string(), tenured);
740 Handle<String> GetSymbol(
bool* ok);
743 Literal* GetLiteralUndefined();
744 Literal* GetLiteralTheHole();
746 Handle<String> ParseIdentifier(
bool* ok);
747 Handle<String> ParseIdentifierOrStrictReservedWord(
748 bool* is_strict_reserved,
bool* ok);
749 Handle<String> ParseIdentifierName(
bool* ok);
750 Handle<String> ParseIdentifierNameOrGetOrSet(
bool* is_get,
757 void MarkAsLValue(Expression* expression);
760 void CheckStrictModeLValue(Expression* expression,
765 void CheckOctalLiteral(
int beg_pos,
int end_pos,
bool* ok);
776 void CheckConflictingVarDeclarations(Scope* scope,
bool* ok);
779 VariableProxy* NewUnresolved(Handle<String> name,
782 void Declare(Declaration* declaration,
bool resolve,
bool* ok);
784 bool TargetStackContainsLabel(Handle<String> label);
785 BreakableStatement* LookupBreakTarget(Handle<String> label,
bool* ok);
786 IterationStatement* LookupContinueTarget(Handle<String> label,
bool* ok);
788 void RegisterTargetUse(Label* target, Target* stop);
792 Scope* NewScope(Scope* parent,
ScopeType type);
794 Handle<String> LookupSymbol(
int symbol_id);
796 Handle<String> LookupCachedSymbol(
int symbol_id);
799 Expression* NewThrowReferenceError(Handle<String> type);
804 Expression* NewThrowSyntaxError(Handle<String> type, Handle<Object> first);
808 Expression* NewThrowTypeError(Handle<String> type,
809 Handle<Object> first,
810 Handle<Object> second);
813 Expression* NewThrowError(Handle<String> constructor,
815 Vector< Handle<Object> > arguments);
818 SingletonLogger* logger);
820 AstNodeFactory<AstConstructionVisitor>* factory() {
821 return current_function_state_->factory();
825 ZoneList<Handle<String> > symbol_cache_;
827 Handle<Script> script_;
829 preparser::PreParser* reusable_preparser_;
832 Target* target_stack_;
834 ScriptDataImpl* pre_data_;
835 FuncNameInferrer* fni_;
838 bool allow_natives_syntax_;
841 bool stack_overflow_;
846 bool parenthesized_function_;
849 CompilationInfo* info_;
879 static const int kTypeSlot = 0;
880 static const int kElementsSlot = 1;
887 #endif // V8_PARSER_H_
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 expose natives in global object expose gc extension number of stack frames to capture disable builtin natives files print a stack trace if an assertion failure occurs use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations prepare for turning on always opt minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions automatically set the debug break flag when debugger commands are in the queue always cause a debug break before aborting maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print more details following each garbage collection print amount of external allocated memory after each time it is adjusted flush code that we expect not to use again before full gc do incremental marking steps track object counts and memory usage use caching Perform compaction on every full GC Never perform compaction on full GC testing only Compact code space on full incremental collections Default seed for initializing random allows verbose printing trace parsing and preparsing Check icache flushes in ARM and MIPS simulator Stack alingment in bytes in print stack trace when throwing exceptions randomize hashes to avoid predictable hash Fixed seed to use to hash property activate a timer that switches between V8 threads testing_bool_flag float flag Seed used for threading test randomness A filename with extra code to be included in the Print usage including on console Map counters to a file Enable debugger compile events enable GDBJIT interface(disables compacting GC)") DEFINE_bool(gdbjit_full
Scope * DeclarationScope()
static bool ParseRegExp(FlatStringReader *input, bool multiline, RegExpCompileData *result, Zone *zone)
static ScriptDataImpl * PreParse(Utf16CharacterStream *source, v8::Extension *extension, int flags)
Vector< const char * > BuildArgs()
Parser(CompilationInfo *info, int parsing_flags, v8::Extension *extension, ScriptDataImpl *pre_data)
int GetSymbolIdentifier()
static const uc32 kEndMarker
RegExpTree * ReportError(Vector< const char > message)
bool ParseHexEscape(int length, uc32 *value)
Scanner::Location location()
static Handle< FixedArray > GetElements(Handle< FixedArray > value)
RegExpTree * ParseCharacterClass()
RegExpParser(FlatStringReader *in, Handle< String > *error, bool multiline_mode, Zone *zone)
void AddAtom(RegExpTree *tree)
#define ASSERT(condition)
RegExpTree * ParseGroup()
static bool IsCompileTimeValue(Expression *expression)
static Type GetType(Handle< FixedArray > value)
Vector< const char * > args()
virtual ~ScriptDataImpl()
FunctionLiteral * ParseProgram()
bool ParseBackReferenceIndex(int *index_out)
RegExpTree * ParsePattern()
static bool Parse(CompilationInfo *info, int flags)
static const int kSymbolCountOffset
static const int kVersionOffset
FunctionEntry GetFunctionEntry(int start)
void AddQuantifierToAtom(int min, int max, RegExpQuantifier::Type type)
RegExpTree * ParseDisjunction()
void AddAssertion(RegExpTree *tree)
friend class FunctionState
void Add(T *value, Zone *zone)
void set_contains_anchor()
FunctionLiteral * ParseLazy()
ZoneList< T * > * GetList(Zone *zone)
CharacterRange ParseClassAtom(uc16 *char_class)
Handle< String > NewStringFromTwoByte(Vector< const uc16 > str, PretenureFlag pretenure=NOT_TENURED)
void ReadNextSymbolPosition()
bool IsLexicalVariableMode(VariableMode mode)
activate correct semantics for inheriting readonliness false
#define T(name, string, precedence)
uc32 ParseClassCharacterEscape()
static Handle< FixedArray > GetValue(Expression *expression)
const char * BuildMessage()
ParserMessage(Scanner::Location loc, const char *message, Vector< const char * > args)
static const int kHasErrorOffset
Handle< String > NewStringFromAscii(Vector< const char > str, PretenureFlag pretenure=NOT_TENURED)
void ReportMessageAt(Scanner::Location loc, const char *message, Vector< const char * > args)
LanguageMode language_mode()
virtual const char * Data()
void AddCharacter(uc16 character)
Scanner::Location MessageLocation()
#define ASSERT_EQ(v1, v2)
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 expose natives in global object expose gc extension number of stack frames to capture disable builtin natives files print a stack trace if an assertion failure occurs use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations prepare for turning on always opt minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions automatically set the debug break flag when debugger commands are in the queue always cause a debug break before aborting maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print more details following each garbage collection print amount of external allocated memory after each time it is adjusted flush code that we expect not to use again before full gc do incremental marking steps track object counts and memory usage use caching Perform compaction on every full GC Never perform compaction on full GC testing only Compact code space on full incremental collections Default seed for initializing random allows verbose printing trace parsing and preparsing Check icache flushes in ARM and MIPS simulator Stack alingment in bytes in print stack trace when throwing exceptions randomize hashes to avoid predictable hash Fixed seed to use to hash property activate a timer that switches between V8 threads testing_bool_flag float flag Seed used for threading test randomness A filename with extra code to be included in the Print usage message
Token::Value peek() const
void Add(const T &element, AllocationPolicy allocator=AllocationPolicy())
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
static const int kMaxCaptures
ZoneList< Handle< String > > ZoneStringList
bool ParseIntervalQuantifier(int *min_out, int *max_out)
FunctionEntry(Vector< unsigned > backing)
ScriptDataImpl(Vector< unsigned > store)
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 expose natives in global object expose gc extension number of stack frames to capture disable builtin natives files print a stack trace if an assertion failure occurs use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations prepare for turning on always opt minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions automatically set the debug break flag when debugger commands are in the queue always cause a debug break before aborting maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print more details following each garbage collection print amount of external allocated memory after each time it is adjusted flush code that we expect not to use again before full gc do incremental marking steps track object counts and memory usage use caching Perform compaction on every full GC Never perform compaction on full GC testing only Compact code space on full incremental collections Default seed for initializing random allows verbose printing trace parsing and preparsing Check icache flushes in ARM and MIPS simulator Stack alingment in bytes in print stack trace when throwing exceptions randomize hashes to avoid predictable hash Fixed seed to use to hash property activate a timer that switches between V8 threads testing_bool_flag float flag Seed used for threading test randomness A filename with extra code to be included in the Print usage including flags
static const int kHeaderSize
RegExpBuilder(Zone *zone)
bool is_extended_mode() const
static const int kMagicOffset
static bool ArrayLiteralElementNeedsInitialization(Expression *value)
static const int kLiteralsPrefixSize