Home
last modified time | relevance | path

Searched refs:ScriptContextTable (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/
Dcontexts-inl.h23 ScriptContextTable* ScriptContextTable::cast(Object* context) { in cast()
25 return reinterpret_cast<ScriptContextTable*>(context); in cast()
28 int ScriptContextTable::used() const { return Smi::ToInt(get(kUsedSlotIndex)); } in used()
30 void ScriptContextTable::set_used(int used) { in set_used()
36 Handle<Context> ScriptContextTable::GetContext(Isolate* isolate, in GetContext()
37 Handle<ScriptContextTable> table, in GetContext()
Dcontexts.cc17 Handle<ScriptContextTable> ScriptContextTable::Extend( in Extend()
18 Handle<ScriptContextTable> table, Handle<Context> script_context) { in Extend()
19 Handle<ScriptContextTable> result; in Extend()
29 result = Handle<ScriptContextTable>::cast(copy); in Extend()
40 bool ScriptContextTable::Lookup(Isolate* isolate, in Lookup()
41 Handle<ScriptContextTable> table, in Lookup()
220 Handle<ScriptContextTable> script_contexts( in Lookup()
223 ScriptContextTable::LookupResult r; in Lookup()
224 if (ScriptContextTable::Lookup(isolate, script_contexts, name, &r)) { in Lookup()
226 Handle<Context> c = ScriptContextTable::GetContext( in Lookup()
[all …]
Dcontexts.h284 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \
362 class ScriptContextTable : public FixedArray {
365 static inline ScriptContextTable* cast(Object* context);
379 Handle<ScriptContextTable> table,
387 static bool Lookup(Isolate* isolate, Handle<ScriptContextTable> table,
391 static Handle<ScriptContextTable> Extend(Handle<ScriptContextTable> table,
398 DISALLOW_IMPLICIT_CONSTRUCTORS(ScriptContextTable);
Dbootstrapper.cc1194 Handle<ScriptContextTable> script_contexts( in InstallGlobalThisBinding()
1205 Handle<ScriptContextTable> new_script_contexts = in InstallGlobalThisBinding()
1206 ScriptContextTable::Extend(script_contexts, context); in InstallGlobalThisBinding()
1447 Handle<ScriptContextTable> script_context_table = in InitializeGlobal()
Dobjects.h873 V(ScriptContextTable) \
1009 V(ScriptContextTable, SCRIPT_CONTEXT_TABLE_TYPE) \
Dapi.cc9757 i::Handle<i::ScriptContextTable> table( in GlobalLexicalScopeNames()
9762 i::ScriptContextTable::GetContext(isolate, table, i); in GlobalLexicalScopeNames()
Dcode-stub-assembler.cc9293 TNode<ScriptContextTable> script_context_table = CAST( in LoadScriptContext()
9298 ScriptContextTable::kFirstContextSlotIndex * kPointerSize)); in LoadScriptContext()
/external/v8/src/runtime/
Druntime-scopes.cc51 Handle<ScriptContextTable> script_contexts( in DeclareGlobal()
53 ScriptContextTable::LookupResult lookup; in DeclareGlobal()
54 if (ScriptContextTable::Lookup(isolate, script_contexts, name, &lookup) && in DeclareGlobal()
631 Handle<ScriptContextTable> script_context) { in FindNameClash()
635 ScriptContextTable::LookupResult lookup; in FindNameClash()
636 if (ScriptContextTable::Lookup(isolate, script_context, name, &lookup)) { in FindNameClash()
677 Handle<ScriptContextTable> script_context_table( in RUNTIME_FUNCTION()
690 Handle<ScriptContextTable> new_script_context_table = in RUNTIME_FUNCTION()
691 ScriptContextTable::Extend(script_context_table, result); in RUNTIME_FUNCTION()
/external/v8/src/debug/
Ddebug-scopes.cc543 Handle<ScriptContextTable> script_contexts( in VisitScriptScope()
549 Handle<Context> context = ScriptContextTable::GetContext( in VisitScriptScope()
893 Handle<ScriptContextTable> script_contexts( in SetScriptVariableValue()
896 ScriptContextTable::LookupResult lookup_result; in SetScriptVariableValue()
897 if (ScriptContextTable::Lookup(isolate_, script_contexts, variable_name, in SetScriptVariableValue()
899 Handle<Context> script_context = ScriptContextTable::GetContext( in SetScriptVariableValue()
/external/v8/src/ic/
Dic.cc488 Handle<ScriptContextTable> script_contexts( in Load()
491 ScriptContextTable::LookupResult lookup_result; in Load()
492 if (ScriptContextTable::Lookup(isolate(), script_contexts, str_name, in Load()
495 *ScriptContextTable::GetContext(isolate(), script_contexts, in Load()
1342 Handle<ScriptContextTable> script_contexts( in Store()
1345 ScriptContextTable::LookupResult lookup_result; in Store()
1346 if (ScriptContextTable::Lookup(isolate(), script_contexts, str_name, in Store()
1348 Handle<Context> script_context = ScriptContextTable::GetContext( in Store()
2216 Handle<ScriptContextTable> script_contexts( in RUNTIME_FUNCTION()
2219 ScriptContextTable::LookupResult lookup_result; in RUNTIME_FUNCTION()
[all …]
/external/v8/src/compiler/
Djs-heap-broker.cc292 Handle<ScriptContextTable> object_, in ScriptContextTableData()
762 ScriptContextTable::LookupResult lookup_result; in lookup()
763 auto table = object<ScriptContextTable>(); in lookup()
764 if (!ScriptContextTable::Lookup(broker()->isolate(), table, in lookup()
768 Handle<Context> script_context = ScriptContextTable::GetContext( in lookup()
Djs-heap-broker.h82 V(ScriptContextTable) \
244 V(ScriptContextTable, script_context_table)
/external/v8/src/heap/
Dfactory.h58 class ScriptContextTable; variable
372 Handle<ScriptContextTable> NewScriptContextTable();
Dfactory.cc1379 Handle<ScriptContextTable> Factory::NewScriptContextTable() { in NewScriptContextTable()
1380 Handle<ScriptContextTable> context_table = in NewScriptContextTable()
1381 NewFixedArrayWithMap<ScriptContextTable>( in NewScriptContextTable()
1383 ScriptContextTable::kMinLength); in NewScriptContextTable()