Searched defs:context_index (Results 1 - 25 of 25) sorted by relevance

/external/v8/src/
H A Dcontexts.h372 int context_index; member in struct:v8::internal::ScriptContextTable::LookupResult
397 static int GetContextOffset(int context_index) { argument
398 return kFirstContextOffset + context_index * kPointerSize;
H A Dcode-stubs.h1441 minor_key_ = ContextIndexBits::encode(lookup_result->context_index) |
1447 int context_index() const { return ContextIndexBits::decode(minor_key_); } function in class:v8::ScriptContextFieldStub
1452 return ContextIndexBits::is_valid(lookup_result->context_index) &&
H A Dbootstrapper.cc1092 int context_index) {
1093 Handle<Smi> index(Smi::FromInt(context_index), isolate);
1096 isolate->native_context()->set(context_index, *function);
1100 Handle<String> name, int context_index) {
1113 if (context_index == Context::ERROR_FUNCTION_INDEX) {
1118 InstallWithIntrinsicDefaultProto(isolate, error_fun, context_index);
1130 if (context_index == Context::ERROR_FUNCTION_INDEX) {
1168 int context_index) {
1173 isolate->native_context()->set(context_index, *function);
1090 InstallWithIntrinsicDefaultProto(Isolate* isolate, Handle<JSFunction> function, int context_index) argument
1099 InstallError(Isolate* isolate, Handle<JSObject> global, Handle<String> name, int context_index) argument
1167 InstallMakeError(Isolate* isolate, Handle<Code> code, int context_index) argument
/external/v8/src/snapshot/
H A Dsnapshot-common.cc54 Isolate* isolate, Handle<JSGlobalProxy> global_proxy, size_t context_index,
62 ExtractContextData(blob, static_cast<int>(context_index));
75 context_index, bytes, ms);
53 NewContextFromSnapshot( Isolate* isolate, Handle<JSGlobalProxy> global_proxy, size_t context_index, v8::DeserializeInternalFieldsCallback internal_fields_deserializer) argument
/external/v8/src/compiler/
H A Dlinkage.cc473 // >> context_index = target + receiver + params + new_target + #args
474 int context_index = 1 + 1 + parameter_count + 1 + 1; local
475 return incoming_->GetInputLocation(context_index);
H A Dbytecode-graph-builder.cc2301 int context_index = exception_handlers_.top().context_register_; local
2302 interpreter::Register context_register(context_index);
/external/v8/src/debug/
H A Ddebug-scopes.cc483 for (int context_index = 0; context_index < script_contexts->used();
484 context_index++) {
486 ScriptContextTable::GetContext(script_contexts, context_index);
661 int context_index = ScopeInfo::ContextSlotIndex( local
663 context->set(context_index, *new_value);
745 script_contexts, lookup_result.context_index);
776 int context_index = Context::MIN_CONTEXT_SLOTS + i; local
777 Handle<Object> value = Handle<Object>(context->get(context_index), isolate);
H A Dliveedit.cc1637 int context_index = var->index() - Context::MIN_CONTEXT_SLOTS; local
1638 int location = scope_info_length + context_index * 2;
/external/v8/src/runtime/
H A Druntime-scopes.cc471 int context_index = -1; local
474 context_index = j;
479 DCHECK(context_index >= 0);
483 Smi::FromInt(Context::MIN_CONTEXT_SLOTS + context_index));
/external/brotli/dec/
H A Dstate.h191 uint32_t context_index; member in struct:BrotliDecoderStateStruct
H A Ddecode.c938 s->context_index = 0;
977 uint32_t context_index = s->context_index; local
982 while (context_index < context_map_size || skip_preamble) {
986 s->context_index = context_index;
992 context_map[context_index++] = 0;
996 context_map[context_index++] =
1008 s->context_index = context_index;
[all...]
/external/v8/src/full-codegen/arm/
H A Dfull-codegen-arm.cc2210 __ LoadNativeContextSlot(expr->context_index(), r0);
2731 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2732 __ ldr(dst, ContextMemOperand(cp, context_index));
/external/v8/src/full-codegen/arm64/
H A Dfull-codegen-arm64.cc2177 __ LoadNativeContextSlot(expr->context_index(), x0);
2785 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2786 __ Ldr(dst, ContextMemOperand(cp, context_index));
/external/v8/src/full-codegen/ia32/
H A Dfull-codegen-ia32.cc2132 __ LoadGlobalFunction(expr->context_index(), eax);
2667 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2668 __ mov(dst, ContextOperand(esi, context_index));
/external/v8/src/full-codegen/mips/
H A Dfull-codegen-mips.cc2233 __ LoadNativeContextSlot(expr->context_index(), v0);
2756 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2757 __ lw(dst, ContextMemOperand(cp, context_index));
/external/v8/src/full-codegen/mips64/
H A Dfull-codegen-mips64.cc2234 __ LoadNativeContextSlot(expr->context_index(), v0);
2761 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2762 __ ld(dst, ContextMemOperand(cp, context_index));
/external/v8/src/full-codegen/ppc/
H A Dfull-codegen-ppc.cc2222 __ LoadNativeContextSlot(expr->context_index(), r3);
2740 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2741 __ LoadP(dst, ContextMemOperand(cp, context_index), r0);
/external/v8/src/full-codegen/s390/
H A Dfull-codegen-s390.cc2178 __ LoadNativeContextSlot(expr->context_index(), r2);
2683 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2684 __ LoadP(dst, ContextMemOperand(cp, context_index), r0);
/external/v8/src/full-codegen/x64/
H A Dfull-codegen-x64.cc2120 __ LoadNativeContextSlot(expr->context_index(), rax);
2653 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2654 __ movp(dst, ContextOperand(rsi, context_index));
/external/v8/src/full-codegen/x87/
H A Dfull-codegen-x87.cc2122 __ LoadGlobalFunction(expr->context_index(), eax);
2657 void FullCodeGenerator::LoadContextField(Register dst, int context_index) { argument
2658 __ mov(dst, ContextOperand(esi, context_index));
/external/v8/src/interpreter/
H A Dbytecode-array-builder.cc1088 BytecodeArrayBuilder& BytecodeArrayBuilder::CallJSRuntime(int context_index, argument
1090 OutputCallJSRuntime(context_index, args, args.register_count());
H A Dinterpreter.cc2255 // CallJSRuntime <context_index> <receiver> <arg_count>
2257 // Call the JS runtime function that has the |context_index| with the receiver
2260 Node* context_index = __ BytecodeOperandIdx(0); local
2270 Node* function = __ LoadContextElement(native_context, context_index);
/external/v8/src/parsing/
H A Dparser.cc490 int context_index = local
494 if (context_index == Context::kNotFound) {
500 return factory()->NewCallRuntime(context_index, args, pos);
/external/v8/src/ast/
H A Dast.h2029 int context_index() const { function in class:v8::internal::final
2054 CallRuntime(int context_index, ZoneList<Expression*>* arguments, int pos) argument
2056 context_index_(context_index),
3417 CallRuntime* NewCallRuntime(int context_index, argument
3419 return new (zone_) CallRuntime(context_index, arguments, pos);
/external/v8/src/crankshaft/
H A Dhydrogen.cc3069 HValue* HGraphBuilder::AddLoadJSBuiltin(int context_index) { argument
3071 HObjectAccess function_access = HObjectAccess::ForContextSlot(context_index);
5267 script_contexts, lookup.context_index);
6538 ScriptContextTable::GetContext(script_contexts, lookup.context_index);
10270 current_info()->native_context()->get(expr->context_index())),

Completed in 3040 milliseconds