Home
last modified time | relevance | path

Searched refs:CurrentSourcePosition (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/torque/
Dearley-parser.cc45 CurrentSourcePosition::Scope pos_scope(matched_input.pos); in RunAction()
110 CurrentSourcePosition::Scope scope( in RunLexer()
114 UpdateSourcePosition(token_start, pos, &CurrentSourcePosition::Get()); in RunLexer()
125 {token_start, pos, CurrentSourcePosition::Get()}); in RunLexer()
128 UpdateSourcePosition(token_start, pos, &CurrentSourcePosition::Get()); in RunLexer()
130 result.token_contents.push_back({pos, pos, CurrentSourcePosition::Get()}); in RunLexer()
178 CurrentSourcePosition::Scope source_position( in RunEarleyAlgorithm()
202 CurrentSourcePosition::Get() = last_token.pos; in RunEarleyAlgorithm()
Dfile-visitor.cc38 {key, callable, signature, body, CurrentSourcePosition::Get()}); in QueueGenericSpecialization()
43 CurrentSourcePosition::Scope scope(specialization.request_position); in SpecializeGeneric()
Dsource-positions.cc12 DEFINE_CONTEXTUAL_VARIABLE(CurrentSourcePosition)
Ddeclaration-visitor.cc12 CurrentSourcePosition::Scope scope(expr->pos); in Visit()
25 CurrentSourcePosition::Scope scope(stmt->pos); in Visit()
38 CurrentSourcePosition::Scope scope(decl->pos); in Visit()
467 CurrentSourcePosition::Scope scope(block->pos); in Visit()
671 CurrentSourcePosition::Scope pos_scope(generic->declaration()->pos); in Specialize()
Dsource-positions.h28 DECLARE_CONTEXTUAL_VARIABLE(CurrentSourcePosition, SourcePosition) in DECLARE_CONTEXTUAL_VARIABLE()
Dutils.cc76 return PositionAsString(CurrentSourcePosition::Get()); in CurrentPositionAsString()
Dtorque-parser.cc183 new T(CurrentSourcePosition::Get(), std::move(args)...))); in MakeNode()
491 CurrentSourcePosition::Scope current_source_position( in MakeTypeswitchStatement()
523 CurrentSourcePosition::Scope current_source_position(expression->pos); in MakeTypeswitchStatement()
530 CurrentSourcePosition::Scope current_source_position(cases[i].pos); in MakeTypeswitchStatement()
Dimplementation-visitor.cc15 CurrentSourcePosition::Scope scope(expr->pos); in Visit()
28 CurrentSourcePosition::Scope scope(stmt->pos); in Visit()
45 CurrentSourcePosition::Scope scope(decl->pos); in Visit()
934 CurrentSourcePosition::Scope scope(block->pos); in Visit()
968 CurrentSourcePosition::Scope scope((*label_iterator)->pos); in Visit()
/external/v8/src/interpreter/
Dbytecode-array-builder.cc101 BytecodeSourceInfo BytecodeArrayBuilder::CurrentSourcePosition( in CurrentSourcePosition() function in v8::internal::interpreter::BytecodeArrayBuilder
310 builder->CurrentSourcePosition(bytecode), in Make()
656 SetDeferredSourceInfo(CurrentSourcePosition(Bytecode::kLdar)); in LoadAccumulatorWithRegister()
669 SetDeferredSourceInfo(CurrentSourcePosition(Bytecode::kStar)); in StoreAccumulatorInRegister()
683 SetDeferredSourceInfo(CurrentSourcePosition(Bytecode::kMov)); in MoveRegister()
Dbytecode-array-builder.h542 V8_INLINE BytecodeSourceInfo CurrentSourcePosition(Bytecode bytecode);