Home
last modified time | relevance | path

Searched refs:kNoSourcePosition (Results 1 – 25 of 35) sorted by relevance

12

/external/v8/src/parsing/
Dpattern-rewriter.cc58 initializer_position_(kNoSourcePosition), in PatternRewriter()
59 value_beg_position_(kNoSourcePosition), in PatternRewriter()
224 DCHECK_NE(initializer_position_, kNoSourcePosition); in VisitVariableProxy()
273 if (pos == kNoSourcePosition) { in VisitVariableProxy()
287 kNoSourcePosition); in CreateTempVar()
290 factory()->NewExpressionStatement(assignment, kNoSourcePosition), in CreateTempVar()
398 rest_runtime_callargs, kNoSourcePosition); in VisitObjectLiteral()
416 Runtime::kToName, args, kNoSourcePosition)); in VisitObjectLiteral()
428 kNoSourcePosition); in VisitObjectLiteral()
452 kNoSourcePosition), in VisitArrayLiteral()
[all …]
Dparser.cc299 AstSymbol::kHomeObjectSymbol, kNoSourcePosition); in NewSuperPropertyReference()
582 BuildInitialYield(kNoSourcePosition, kGeneratorFunction); in DoParseProgram()
584 factory()->NewExpressionStatement(initial_yield, kNoSourcePosition), in DoParseProgram()
680 kNoSourcePosition, FunctionLiteral::kWrapped, LanguageMode::kSloppy, in ParseWrapped()
684 function_literal, kNoSourcePosition, kNoSourcePosition); in ParseWrapped()
874 kNoSourcePosition, function_type, info->language_mode(), in DoParseFunction()
913 return factory()->NewEmptyStatement(kNoSourcePosition); in ParseModuleItem()
1207 Token::INIT, decl->proxy(), value, kNoSourcePosition); in ParseExportDefault()
1209 factory()->NewExpressionStatement(assignment, kNoSourcePosition)); in ParseExportDefault()
1386 var_end_pos != kNoSourcePosition in Declare()
[all …]
Drewriter.cc58 kNoSourcePosition); in SetResult()
115 Expression* undef = factory()->NewUndefinedLiteral(kNoSourcePosition); in AssignUndefinedBefore()
119 factory()->NewExpressionStatement(assignment, kNoSourcePosition), zone()); in AssignUndefinedBefore()
258 Token::ASSIGN, backup_proxy, result_proxy, kNoSourcePosition); in VisitTryFinallyStatement()
260 Token::ASSIGN, result_proxy, backup_proxy, kNoSourcePosition); in VisitTryFinallyStatement()
262 0, factory()->NewExpressionStatement(save, kNoSourcePosition), zone()); in VisitTryFinallyStatement()
264 factory()->NewExpressionStatement(restore, kNoSourcePosition), zone()); in VisitTryFinallyStatement()
394 int pos = kNoSourcePosition; in DECLARATION_NODE_LIST()
429 Expression* undef = node_factory->NewUndefinedLiteral(kNoSourcePosition); in Rewrite()
Dpreparser.h348 int position() const { return kNoSourcePosition; } in position()
716 int continuation_pos = kNoSourcePosition) {
721 int continuation_pos = kNoSourcePosition) {
776 int continuation_pos = kNoSourcePosition) {
782 int continuation_pos = kNoSourcePosition) {
1414 int next_result_pos = kNoSourcePosition) {
1560 V8_INLINE PreParserExpression ThisExpression(int pos = kNoSourcePosition) {
Dparser-base.h105 DCHECK_NE(range_->start, kNoSourcePosition); in scanner_()
114 DCHECK_NE(range_->end, kNoSourcePosition); in Finalize()
532 int value_beg_position = kNoSourcePosition;
568 position(kNoSourcePosition), in ForInfo()
1427 int end_pos = kNoSourcePosition) {
1429 expr = factory()->NewUndefinedLiteral(kNoSourcePosition);
1433 expr = factory()->NewAwait(expr, kNoSourcePosition);
2440 : kNoSourcePosition, in ParseClassPropertyDefinition()
2472 : kNoSourcePosition, in ParseClassPropertyDefinition()
2523 initializer = factory()->NewUndefinedLiteral(kNoSourcePosition); in ParseClassFieldInitializer()
[all …]
Dparser.h371 int next_result_pos = kNoSourcePosition);
425 int var_end_pos = kNoSourcePosition);
843 V8_INLINE Expression* ThisExpression(int pos = kNoSourcePosition) {
973 return parameters_end_pos_ != kNoSourcePosition;
Dparse-info.cc31 parameters_end_pos_(kNoSourcePosition), in ParseInfo()
Dpreparser.cc324 int pos = function_token_pos == kNoSourcePosition ? peek_position() in ParseFunctionLiteral()
/external/v8/src/debug/
Ddebug-coverage.cc52 if (start == kNoSourcePosition) start = info->StartPosition(); in StartPosition()
64 DCHECK_NE(kNoSourcePosition, a.start); in CompareCoverageBlock()
65 DCHECK_NE(kNoSourcePosition, b.start); in CompareCoverageBlock()
89 DCHECK_NE(kNoSourcePosition, start_pos); in GetSortedBlockData()
156 block.end == kNoSourcePosition); in Next()
157 DCHECK_NE(block.start, kNoSourcePosition); in Next()
249 DCHECK_EQ(kNoSourcePosition, block.end); // Singleton range. in MergeDuplicateSingletons()
264 DCHECK_NE(kNoSourcePosition, block.end); // Non-singleton range. in MergeDuplicateRanges()
282 DCHECK_EQ(block.end, kNoSourcePosition); in RewritePositionSingletonsToRanges()
284 } else if (block.end == kNoSourcePosition) { in RewritePositionSingletonsToRanges()
[all …]
Ddebug-coverage.h21 CoverageBlock() : CoverageBlock(kNoSourcePosition, kNoSourcePosition, 0) {} in CoverageBlock()
Dliveedit.cc581 new_end_position(kNoSourcePosition), in FunctionLiteralChange()
617 ? kNoSourcePosition in CalculateFunctionLiteralChanges()
627 inside_diff ? kNoSourcePosition in CalculateFunctionLiteralChanges()
683 DCHECK(literal->start_position() != kNoSourcePosition); in MapLiterals()
684 DCHECK(literal->end_position() != kNoSourcePosition); in MapLiterals()
Ddebug-evaluate.cc138 kNoSourcePosition, kNoSourcePosition, in Evaluate()
139 kNoSourcePosition), in Evaluate()
Ddebug.cc338 thread_local_.last_statement_position_ = kNoSourcePosition; in ThreadInit()
1029 thread_local_.last_statement_position_ = kNoSourcePosition; in PrepareStep()
1113 thread_local_.last_statement_position_ = kNoSourcePosition; in ClearStepping()
1363 current_start_position_(kNoSourcePosition), in SharedFunctionInfoFinder()
1369 if (start_position == kNoSourcePosition) { in NewCandidate()
/external/v8/src/
Dsource-position.h39 static SourcePosition Unknown() { return SourcePosition(kNoSourcePosition); } in Unknown()
41 return ScriptOffset() != kNoSourcePosition || InliningId() != kNotInlined; in IsKnown()
58 DCHECK_GE(script_offset, kNoSourcePosition); in SetScriptOffset()
68 STATIC_ASSERT(kNoSourcePosition == -1);
Dcompilation-cache.cc289 DCHECK_NE(position, kNoSourcePosition); in LookupEval()
335 DCHECK_NE(position, kNoSourcePosition); in PutEval()
/external/v8/src/ast/
Dast-source-ranges.h17 SourceRange() : SourceRange(kNoSourcePosition, kNoSourcePosition) {} in SourceRange()
19 bool IsEmpty() const { return start == kNoSourcePosition; } in IsEmpty()
22 return SourceRange(start, kNoSourcePosition); in OpenEnded()
Dscopes.cc342 start_position_ = kNoSourcePosition; in SetDefaults()
343 end_position_ = kNoSourcePosition; in SetDefaults()
597 delegate->scope()->NewUnresolved(factory, name), kNoSourcePosition); in HoistSloppyBlockFunctions()
600 factory->NewExpressionStatement(assignment, kNoSourcePosition); in HoistSloppyBlockFunctions()
614 factory->NewVariableDeclaration(proxy, kNoSourcePosition); in HoistSloppyBlockFunctions()
1806 DCHECK_NE(kNoSourcePosition, start_position()); in CheckScopePositions()
1807 DCHECK_NE(kNoSourcePosition, end_position()); in CheckScopePositions()
2003 DCHECK_NE(var->initializer_position(), kNoSourcePosition); in UpdateNeedsHoleCheck()
2004 DCHECK_NE(proxy->position(), kNoSourcePosition); in UpdateNeedsHoleCheck()
Dast.h334 : BreakableStatement(TARGET_FOR_NAMED_ONLY, kNoSourcePosition, kBlock), in Block()
1009 : Statement(kNoSourcePosition, kSloppyBlockFunctionStatement), in SloppyBlockFunctionStatement()
2372 function_token_position_(kNoSourcePosition), in Expression()
2907 int end_position = kNoSourcePosition) {
2913 Expression* expression, int pos, int end_position = kNoSourcePosition) {
2976 SloppyBlockFunctionStatement(NewEmptyStatement(kNoSourcePosition)); in NewSloppyBlockFunctionStatement()
3016 return new (zone_) Literal(Literal::kTheHole, kNoSourcePosition); in NewTheHoleLiteral()
3055 int start_position = kNoSourcePosition) {
3061 int start_position = kNoSourcePosition) {
3081 int pos = kNoSourcePosition) {
Dvariables.h29 initializer_position_(kNoSourcePosition), in scope_()
/external/v8/src/interpreter/
Dbytecode-array-builder.h478 if (stmt->position() == kNoSourcePosition) return; in SetStatementPosition()
487 if (position == kNoSourcePosition) return; in SetExpressionPosition()
496 if (expr->position() == kNoSourcePosition) return; in SetExpressionAsStatementPosition()
501 if (source_position != kNoSourcePosition) { in SetReturnPosition()
503 } else if (literal->return_position() != kNoSourcePosition) { in SetReturnPosition()
Dbytecode-generator.h138 void BuildReturn(int source_position = kNoSourcePosition);
139 void BuildAsyncReturn(int source_position = kNoSourcePosition);
/external/v8/src/builtins/
Dbuiltins-global.cc99 NO_PARSE_RESTRICTION, kNoSourcePosition)); in BUILTIN()
Dbuiltins-function.cc39 int parameters_end_pos = kNoSourcePosition; in CreateDynamicFunction()
/external/v8/src/objects/
Dshared-function-info-inl.h146 return kNoSourcePosition; in function_token_position()
299 return kNoSourcePosition; in StartPosition()
316 return kNoSourcePosition; in EndPosition()
/external/v8/src/runtime/
Druntime-compiler.cc323 restriction, kNoSourcePosition, in CompileGlobalEval()

12