Home
last modified time | relevance | path

Searched refs:SourceId (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/torque/
Dsource-positions.h14 class SourceId {
16 explicit SourceId(int id) : id_(id) {} in SourceId() function
22 SourceId source;
27 DECLARE_CONTEXTUAL_VARIABLE(CurrentSourceFile, SourceId) in DECLARE_CONTEXTUAL_VARIABLE() argument
33 static const std::string& GetSource(SourceId source) { in DECLARE_CONTEXTUAL_VARIABLE()
37 static SourceId AddSource(std::string path) { in DECLARE_CONTEXTUAL_VARIABLE()
39 return SourceId(static_cast<int>(Get().sources_.size()) - 1); in DECLARE_CONTEXTUAL_VARIABLE()
Dtorque.cc44 SourceId source_id = SourceFileMap::AddSource(path); in WrappedMain()