/external/v8/src/ |
D | compiler.h | 55 bool is_classic_mode() const { return language_mode() == CLASSIC_MODE; } in is_classic_mode() 56 bool is_extended_mode() const { return language_mode() == EXTENDED_MODE; } in is_extended_mode() 57 LanguageMode language_mode() const { in language_mode() function 81 void SetLanguageMode(LanguageMode language_mode) { in SetLanguageMode() argument 82 ASSERT(this->language_mode() == CLASSIC_MODE || in SetLanguageMode() 83 this->language_mode() == language_mode || in SetLanguageMode() 84 language_mode == EXTENDED_MODE); in SetLanguageMode() 85 flags_ = LanguageModeField::update(flags_, language_mode); in SetLanguageMode() 196 ASSERT(language_mode() == CLASSIC_MODE); in Initialize() 197 SetLanguageMode(shared_info_->language_mode()); in Initialize() [all …]
|
D | preparser.h | 454 (prev_ != NULL) ? prev_->language_mode() : i::CLASSIC_MODE) { in Scope() 467 i::LanguageMode language_mode() { in language_mode() function 470 void set_language_mode(i::LanguageMode language_mode) { in set_language_mode() argument 471 language_mode_ = language_mode; in set_language_mode() 601 void set_language_mode(i::LanguageMode language_mode) { in set_language_mode() argument 602 scope_->set_language_mode(language_mode); in set_language_mode() 606 return scope_->language_mode() == i::CLASSIC_MODE; in is_classic_mode() 610 return scope_->language_mode() == i::EXTENDED_MODE; in is_extended_mode() 613 i::LanguageMode language_mode() { return scope_->language_mode(); } in language_mode() function
|
D | scopes.h | 229 void SetLanguageMode(LanguageMode language_mode) { in SetLanguageMode() argument 230 language_mode_ = language_mode; in SetLanguageMode() 279 return language_mode() == CLASSIC_MODE; in is_classic_mode() 282 return language_mode() == EXTENDED_MODE; in is_extended_mode() 309 LanguageMode language_mode() const { return language_mode_; } in language_mode() function
|
D | compiler.cc | 548 LanguageMode language_mode, in CompileEval() argument 565 language_mode, in CompileEval() 574 info.SetLanguageMode(language_mode); in CompileEval() 585 ASSERT(language_mode != STRICT_MODE || !result->is_classic_mode()); in CompileEval() 588 ASSERT(language_mode != EXTENDED_MODE || in CompileEval() 625 LanguageMode language_mode = info->function()->language_mode(); in CompileLazy() local 626 info->SetLanguageMode(language_mode); in CompileLazy() 627 shared->set_language_mode(language_mode); in CompileLazy() 711 info.SetLanguageMode(literal->scope()->language_mode()); in BuildFunctionInfo() 777 function_info->set_language_mode(lit->language_mode()); in SetFunctionInfo()
|
D | preparse-data.h | 52 LanguageMode language_mode) = 0; 92 LanguageMode language_mode) { in LogFunction() argument 97 function_store_.Add(language_mode); in LogFunction()
|
D | compilation-cache.cc | 254 LanguageMode language_mode, in Lookup() argument 265 *source, *context, language_mode, scope_position); in Lookup() 399 LanguageMode language_mode, in LookupEval() argument 408 source, context, language_mode, scope_position); in LookupEval() 412 source, context, language_mode, scope_position); in LookupEval()
|
D | compilation-cache.h | 144 LanguageMode language_mode, 215 LanguageMode language_mode,
|
D | full-codegen.h | 557 return language_mode() == CLASSIC_MODE; in is_classic_mode() 559 LanguageMode language_mode() { in language_mode() function 560 return function()->language_mode(); in language_mode()
|
D | scopeinfo.cc | 82 LanguageModeField::encode(scope->language_mode()) | in Create() 166 LanguageMode ScopeInfo::language_mode() { in language_mode() function in v8::internal::ScopeInfo
|
D | parser.cc | 612 if (!scope->is_global_scope() || info->language_mode() != CLASSIC_MODE) { in DoParseProgram() 619 top_scope_->SetLanguageMode(info->language_mode()); in DoParseProgram() 713 ASSERT(scope->language_mode() != STRICT_MODE || !info->is_classic_mode()); in ParseLazy() 714 ASSERT(scope->language_mode() != EXTENDED_MODE || in ParseLazy() 716 ASSERT(info->language_mode() == shared_info->language_mode()); in ParseLazy() 717 scope->SetLanguageMode(shared_info->language_mode()); in ParseLazy() 2089 switch (top_scope_->language_mode()) { in ParseVariableDeclarations() 2295 LanguageMode language_mode = initialization_scope->language_mode(); in ParseVariableDeclarations() local 2296 arguments->Add(factory()->NewNumberLiteral(language_mode)); in ParseVariableDeclarations() 3921 ObjectLiteralPropertyChecker(Parser* parser, LanguageMode language_mode) : in ObjectLiteralPropertyChecker() argument [all …]
|
D | factory.h | 299 LanguageMode language_mode); 494 LanguageMode language_mode);
|
D | factory.cc | 1140 LanguageMode language_mode) { in NewFunctionWithoutPrototypeHelper() argument 1142 Handle<Map> map = (language_mode == CLASSIC_MODE) in NewFunctionWithoutPrototypeHelper() 1156 LanguageMode language_mode) { in NewFunctionWithoutPrototype() argument 1158 NewFunctionWithoutPrototypeHelper(name, language_mode); in NewFunctionWithoutPrototype()
|
D | code-stubs.h | 327 explicit FastNewClosureStub(LanguageMode language_mode) in FastNewClosureStub() argument 328 : language_mode_(language_mode) { } in FastNewClosureStub()
|
D | ast.cc | 169 LanguageMode FunctionLiteral::language_mode() const { in language_mode() function in v8::internal::FunctionLiteral 170 return scope()->language_mode(); in language_mode()
|
D | scopes.cc | 198 language_mode_ = scope_info->language_mode(); in SetDefaults() 822 switch (language_mode()) { in Print()
|
D | objects-inl.h | 3672 LanguageMode SharedFunctionInfo::language_mode() { in language_mode() function 3683 void SharedFunctionInfo::set_language_mode(LanguageMode language_mode) { in set_language_mode() argument 3687 ASSERT(this->language_mode() == CLASSIC_MODE || in set_language_mode() 3688 this->language_mode() == language_mode || in set_language_mode() 3689 language_mode == EXTENDED_MODE); in set_language_mode() 3692 hints, kStrictModeFunction, language_mode != CLASSIC_MODE); in set_language_mode() 3694 hints, kExtendedModeFunction, language_mode == EXTENDED_MODE); in set_language_mode()
|
D | full-codegen.cc | 667 ASSERT(DeclareGlobalsLanguageMode::is_valid(language_mode())); in DeclareGlobalsFlags() 670 DeclareGlobalsLanguageMode::encode(language_mode()); in DeclareGlobalsFlags()
|
D | parser.h | 88 LanguageMode language_mode() { in language_mode() function
|
D | preparser.cc | 392 switch (language_mode()) { in ParseVariableDeclarations() 1445 language_mode()); in ParseLazyFunctionLiteralBody()
|
D | objects.cc | 10501 LanguageMode language_mode, in StringSharedKey() argument 10505 language_mode_(language_mode), in StringSharedKey() 10517 LanguageMode language_mode = static_cast<LanguageMode>(language_unchecked); in IsMatch() local 10518 if (language_mode != language_mode_) return false; in IsMatch() 10527 LanguageMode language_mode, in StringSharedHashHelper() argument 10538 if (language_mode == STRICT_MODE) hash ^= 0x8000; in StringSharedHashHelper() 10539 if (language_mode == EXTENDED_MODE) hash ^= 0x0080; in StringSharedHashHelper() 10558 LanguageMode language_mode = static_cast<LanguageMode>(language_unchecked); in HashForObject() local 10561 source, shared, language_mode, scope_position); in HashForObject() 11789 LanguageMode language_mode, in LookupEval() argument [all …]
|
/external/v8/test/cctest/ |
D | test-parsing.cc | 827 i::LanguageMode language_mode; in TEST() member 1022 info.SetLanguageMode(source_data[i].language_mode); in TEST()
|
/external/v8/src/arm/ |
D | full-codegen-arm.cc | 1172 FastNewClosureStub stub(info->language_mode()); in EmitNewClosure() 2029 __ mov(r0, Operand(Smi::FromInt(language_mode()))); in EmitVariableAssignment() 2077 __ mov(r0, Operand(Smi::FromInt(language_mode()))); in EmitVariableAssignment() 2298 __ mov(r1, Operand(Smi::FromInt(language_mode()))); in EmitResolvePossiblyDirectEval() 3775 StrictModeFlag strict_mode_flag = (language_mode() == CLASSIC_MODE) in VisitUnaryOperation() 3785 ASSERT(language_mode() == CLASSIC_MODE || var->is_this()); in VisitUnaryOperation()
|
/external/v8/src/x64/ |
D | full-codegen-x64.cc | 1080 FastNewClosureStub stub(info->language_mode()); in EmitNewClosure() 1898 __ Push(Smi::FromInt(language_mode())); in EmitVariableAssignment() 1941 __ Push(Smi::FromInt(language_mode())); in EmitVariableAssignment() 2142 __ Push(Smi::FromInt(language_mode())); in EmitResolvePossiblyDirectEval() 3664 StrictModeFlag strict_mode_flag = (language_mode() == CLASSIC_MODE) in VisitUnaryOperation() 3673 ASSERT(language_mode() == CLASSIC_MODE || var->is_this()); in VisitUnaryOperation()
|
/external/v8/src/mips/ |
D | full-codegen-mips.cc | 1181 FastNewClosureStub stub(info->language_mode()); in EmitNewClosure() 2046 __ li(a0, Operand(Smi::FromInt(language_mode()))); in EmitVariableAssignment() 2094 __ li(a0, Operand(Smi::FromInt(language_mode()))); in EmitVariableAssignment() 2323 __ li(a1, Operand(Smi::FromInt(language_mode()))); in EmitResolvePossiblyDirectEval() 3816 StrictModeFlag strict_mode_flag = (language_mode() == CLASSIC_MODE) in VisitUnaryOperation() 3826 ASSERT(language_mode() == CLASSIC_MODE || var->is_this()); in VisitUnaryOperation()
|
/external/v8/src/ia32/ |
D | full-codegen-ia32.cc | 1126 FastNewClosureStub stub(info->language_mode()); in EmitNewClosure() 1983 __ push(Immediate(Smi::FromInt(language_mode()))); in EmitVariableAssignment() 2026 __ push(Immediate(Smi::FromInt(language_mode()))); in EmitVariableAssignment() 2246 __ push(Immediate(Smi::FromInt(language_mode()))); in EmitResolvePossiblyDirectEval() 3751 StrictModeFlag strict_mode_flag = (language_mode() == CLASSIC_MODE) in VisitUnaryOperation() 3760 ASSERT(language_mode() == CLASSIC_MODE || var->is_this()); in VisitUnaryOperation()
|