Home
last modified time | relevance | path

Searched refs:object_map (Results 1 – 25 of 27) sorted by relevance

12

/external/v8/src/ic/
Dcall-optimization.cc17 Handle<Map> object_map, HolderLookup* holder_lookup, in LookupHolderOfExpectedType() argument
20 if (!object_map->IsJSObjectMap()) { in LookupHolderOfExpectedType()
25 expected_receiver_type_->IsTemplateFor(*object_map)) { in LookupHolderOfExpectedType()
30 if (!object_map->prototype()->IsJSObject()) break; in LookupHolderOfExpectedType()
31 Handle<JSObject> prototype(JSObject::cast(object_map->prototype())); in LookupHolderOfExpectedType()
33 object_map = handle(prototype->map()); in LookupHolderOfExpectedType()
34 if (expected_receiver_type_->IsTemplateFor(*object_map)) { in LookupHolderOfExpectedType()
/external/v8/test/cctest/
Dtypes-fuzz.h52 object_map = isolate->factory()->NewMap( in Types()
59 ObjectClass = Type::Class(object_map, region); in Types()
64 maps.push_back(object_map); in Types()
73 object1 = isolate->factory()->NewJSObjectFromMap(object_map); in Types()
74 object2 = isolate->factory()->NewJSObjectFromMap(object_map); in Types()
122 Handle<i::Map> object_map; variable
/external/v8/src/compiler/
Dfast-accessor-assembler.cc54 Node* object_map = in LoadInternalField() local
60 MachineType::Uint16(), object_map, in LoadInternalField()
Dtyper.cc1850 Handle<Map> object_map( in GetStableMapFromObjectType() local
1852 if (object_map->is_stable()) return object_map; in GetStableMapFromObjectType()
1854 Handle<Map> object_map = object_type->AsClass()->Map(); in GetStableMapFromObjectType() local
1855 if (object_map->is_stable()) return object_map; in GetStableMapFromObjectType()
1877 Handle<Map> object_map; in TypeLoadField() local
1878 if (GetStableMapFromObjectType(object).ToHandle(&object_map)) { in TypeLoadField()
1879 if (object_map->CanTransition()) { in TypeLoadField()
1881 dependencies()->AssumeMapStable(object_map); in TypeLoadField()
1886 Type* object_map_type = Type::Constant(object_map, zone()); in TypeLoadField()
Djs-generic-lowering.cc636 Node* object_map = effect = graph()->NewNode( in LowerJSForInPrepare() local
691 machine()->Load(MachineType::AnyTagged()), object_map, in LowerJSForInPrepare()
Djs-typed-lowering.cc1169 Node* object_map = effect = in ReduceJSInstanceOf() local
1181 object_map, r.left(), loop); in ReduceJSInstanceOf()
/external/v8/src/x87/
Dcode-stubs-x87.cc2228 Register const object_map = ecx; // Map of {object}. in Generate() local
2244 __ mov(object_map, FieldOperand(object, HeapObject::kMapOffset)); in Generate()
2247 __ CompareRoot(object_map, scratch, Heap::kInstanceofCacheMapRootIndex); in Generate()
2293 __ StoreRoot(object_map, scratch, Heap::kInstanceofCacheMapRootIndex); in Generate()
2302 __ test_b(FieldOperand(object_map, Map::kBitFieldOffset), in Generate()
2306 __ CmpInstanceType(object_map, JS_PROXY_TYPE); in Generate()
2309 __ mov(object, FieldOperand(object_map, Map::kPrototypeOffset)); in Generate()
2312 __ mov(object_map, FieldOperand(object, HeapObject::kMapOffset)); in Generate()
/external/v8/src/x64/
Dcode-stubs-x64.cc2471 Register const object_map = rcx; // Map of {object}. in Generate() local
2486 __ movp(object_map, FieldOperand(object, HeapObject::kMapOffset)); in Generate()
2489 __ CompareRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
2535 __ StoreRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
2543 __ testb(FieldOperand(object_map, Map::kBitFieldOffset), in Generate()
2546 __ CmpInstanceType(object_map, JS_PROXY_TYPE); in Generate()
2549 __ movp(object, FieldOperand(object_map, Map::kPrototypeOffset)); in Generate()
2553 __ movp(object_map, FieldOperand(object, HeapObject::kMapOffset)); in Generate()
Dmacro-assembler-x64.h758 Register object_map,
Dmacro-assembler-x64.cc2436 Register object_map, in JumpIfNotString() argument
2441 CmpObjectType(object, FIRST_NONSTRING_TYPE, object_map); in JumpIfNotString()
/external/v8/src/arm64/
Dcode-stubs-arm64.cc1509 Register const object_map = x2; // Map of {object}. in Generate() local
1525 __ Ldr(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in Generate()
1528 __ JumpIfNotRoot(object_map, Heap::kInstanceofCacheMapRootIndex, &fast_case); in Generate()
1571 __ StoreRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
1586 __ Ldrb(map_bit_field, FieldMemOperand(object_map, Map::kBitFieldOffset)); in Generate()
1590 __ CompareInstanceType(object_map, object_instance_type, JS_PROXY_TYPE); in Generate()
1593 __ Ldr(object, FieldMemOperand(object_map, Map::kPrototypeOffset)); in Generate()
1597 __ Ldr(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in Generate()
/external/v8/src/mips/
Dcode-stubs-mips.cc1429 Register const object_map = a2; // Map of {object}. in Generate() local
1445 __ lw(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in Generate()
1449 __ Branch(&fast_case, ne, object_map, Operand(at)); in Generate()
1493 __ StoreRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
1508 __ lbu(map_bit_field, FieldMemOperand(object_map, Map::kBitFieldOffset)); in Generate()
1513 FieldMemOperand(object_map, Map::kInstanceTypeOffset)); in Generate()
1517 __ lw(object, FieldMemOperand(object_map, Map::kPrototypeOffset)); in Generate()
1520 __ lw(object_map, in Generate()
/external/v8/src/ppc/
Dcode-stubs-ppc.cc1380 Register const object_map = r5; // Map of {object}. in Generate() local
1396 __ LoadP(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in Generate()
1399 __ CompareRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
1444 __ StoreRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
1459 __ lbz(map_bit_field, FieldMemOperand(object_map, Map::kBitFieldOffset)); in Generate()
1463 __ CompareInstanceType(object_map, object_instance_type, JS_PROXY_TYPE); in Generate()
1466 __ LoadP(object, FieldMemOperand(object_map, Map::kPrototypeOffset)); in Generate()
1470 __ LoadP(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in Generate()
/external/v8/src/ia32/
Dcode-stubs-ia32.cc2516 Register const object_map = ecx; // Map of {object}. in Generate() local
2532 __ mov(object_map, FieldOperand(object, HeapObject::kMapOffset)); in Generate()
2535 __ CompareRoot(object_map, scratch, Heap::kInstanceofCacheMapRootIndex); in Generate()
2581 __ StoreRoot(object_map, scratch, Heap::kInstanceofCacheMapRootIndex); in Generate()
2590 __ test_b(FieldOperand(object_map, Map::kBitFieldOffset), in Generate()
2594 __ CmpInstanceType(object_map, JS_PROXY_TYPE); in Generate()
2597 __ mov(object, FieldOperand(object_map, Map::kPrototypeOffset)); in Generate()
2600 __ mov(object_map, FieldOperand(object, HeapObject::kMapOffset)); in Generate()
/external/v8/src/arm/
Dcode-stubs-arm.cc1303 Register const object_map = r2; // Map of {object}. in Generate() local
1319 __ ldr(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in Generate()
1322 __ CompareRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
1367 __ StoreRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
1382 __ ldrb(map_bit_field, FieldMemOperand(object_map, Map::kBitFieldOffset)); in Generate()
1386 __ CompareInstanceType(object_map, object_instance_type, JS_PROXY_TYPE); in Generate()
1389 __ ldr(object, FieldMemOperand(object_map, Map::kPrototypeOffset)); in Generate()
1393 __ ldr(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in Generate()
/external/v8/src/mips64/
Dcode-stubs-mips64.cc1431 Register const object_map = a2; // Map of {object}. in Generate() local
1447 __ ld(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in Generate()
1451 __ Branch(&fast_case, ne, object_map, Operand(at)); in Generate()
1495 __ StoreRoot(object_map, Heap::kInstanceofCacheMapRootIndex); in Generate()
1510 __ lbu(map_bit_field, FieldMemOperand(object_map, Map::kBitFieldOffset)); in Generate()
1515 FieldMemOperand(object_map, Map::kInstanceTypeOffset)); in Generate()
1519 __ ld(object, FieldMemOperand(object_map, Map::kPrototypeOffset)); in Generate()
1522 __ ld(object_map, in Generate()
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc2532 Register const object_map = kScratchRegister; in DoHasInPrototypeChainAndBranch() local
2533 Register const object_prototype = object_map; in DoHasInPrototypeChainAndBranch()
2545 __ movp(object_map, FieldOperand(object, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
2551 __ testb(FieldOperand(object_map, Map::kBitFieldOffset), in DoHasInPrototypeChainAndBranch()
2555 __ CmpInstanceType(object_map, JS_PROXY_TYPE); in DoHasInPrototypeChainAndBranch()
2558 __ movp(object_prototype, FieldOperand(object_map, Map::kPrototypeOffset)); in DoHasInPrototypeChainAndBranch()
2563 __ movp(object_map, FieldOperand(object_prototype, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc2481 Register const object_map = ToRegister(instr->scratch()); in DoHasInPrototypeChainAndBranch() local
2482 Register const object_prototype = object_map; in DoHasInPrototypeChainAndBranch()
2494 __ mov(object_map, FieldOperand(object, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
2499 __ test_b(FieldOperand(object_map, Map::kBitFieldOffset), in DoHasInPrototypeChainAndBranch()
2503 __ CmpInstanceType(object_map, JS_PROXY_TYPE); in DoHasInPrototypeChainAndBranch()
2506 __ mov(object_prototype, FieldOperand(object_map, Map::kPrototypeOffset)); in DoHasInPrototypeChainAndBranch()
2511 __ mov(object_map, FieldOperand(object_prototype, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc2858 Register const object_map = ToRegister(instr->scratch1()); in DoHasInPrototypeChainAndBranch() local
2860 Register const object_prototype = object_map; in DoHasInPrototypeChainAndBranch()
2871 __ Ldr(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
2877 FieldMemOperand(object_map, Map::kBitFieldOffset)); in DoHasInPrototypeChainAndBranch()
2881 __ CompareInstanceType(object_map, object_instance_type, JS_PROXY_TYPE); in DoHasInPrototypeChainAndBranch()
2884 __ Ldr(object_prototype, FieldMemOperand(object_map, Map::kPrototypeOffset)); in DoHasInPrototypeChainAndBranch()
2889 __ Ldr(object_map, FieldMemOperand(object_prototype, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc2489 Register const object_map = scratch0(); in DoHasInPrototypeChainAndBranch() local
2491 Register const object_prototype = object_map; in DoHasInPrototypeChainAndBranch()
2503 __ lw(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
2509 FieldMemOperand(object_map, Map::kBitFieldOffset)); in DoHasInPrototypeChainAndBranch()
2516 FieldMemOperand(object_map, Map::kInstanceTypeOffset)); in DoHasInPrototypeChainAndBranch()
2520 __ lw(object_prototype, FieldMemOperand(object_map, Map::kPrototypeOffset)); in DoHasInPrototypeChainAndBranch()
2525 __ lw(object_map, FieldMemOperand(object_prototype, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc2578 Register const object_map = scratch0(); in DoHasInPrototypeChainAndBranch() local
2580 Register const object_prototype = object_map; in DoHasInPrototypeChainAndBranch()
2592 __ ldr(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
2598 FieldMemOperand(object_map, Map::kBitFieldOffset)); in DoHasInPrototypeChainAndBranch()
2602 __ CompareInstanceType(object_map, object_instance_type, JS_PROXY_TYPE); in DoHasInPrototypeChainAndBranch()
2605 __ ldr(object_prototype, FieldMemOperand(object_map, Map::kPrototypeOffset)); in DoHasInPrototypeChainAndBranch()
2610 __ ldr(object_map, FieldMemOperand(object_prototype, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc2649 Register const object_map = scratch0(); in DoShiftI() local
2651 Register const object_prototype = object_map; in DoShiftI()
2663 __ LoadP(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in DoShiftI()
2669 FieldMemOperand(object_map, Map::kBitFieldOffset)); in DoShiftI()
2673 __ CompareInstanceType(object_map, object_instance_type, JS_PROXY_TYPE); in DoShiftI()
2676 FieldMemOperand(object_map, Map::kPrototypeOffset)); in DoShiftI()
2681 __ LoadP(object_map, in DoShiftI()
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc2614 Register const object_map = scratch0(); in DoHasInPrototypeChainAndBranch() local
2616 Register const object_prototype = object_map; in DoHasInPrototypeChainAndBranch()
2628 __ ld(object_map, FieldMemOperand(object, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
2634 FieldMemOperand(object_map, Map::kBitFieldOffset)); in DoHasInPrototypeChainAndBranch()
2640 FieldMemOperand(object_map, Map::kInstanceTypeOffset)); in DoHasInPrototypeChainAndBranch()
2644 __ ld(object_prototype, FieldMemOperand(object_map, Map::kPrototypeOffset)); in DoHasInPrototypeChainAndBranch()
2649 __ ld(object_map, FieldMemOperand(object_prototype, in DoHasInPrototypeChainAndBranch()
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc2764 Register const object_map = ToRegister(instr->scratch()); in DoHasInPrototypeChainAndBranch() local
2765 Register const object_prototype = object_map; in DoHasInPrototypeChainAndBranch()
2777 __ mov(object_map, FieldOperand(object, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
2782 __ test_b(FieldOperand(object_map, Map::kBitFieldOffset), in DoHasInPrototypeChainAndBranch()
2786 __ CmpInstanceType(object_map, JS_PROXY_TYPE); in DoHasInPrototypeChainAndBranch()
2789 __ mov(object_prototype, FieldOperand(object_map, Map::kPrototypeOffset)); in DoHasInPrototypeChainAndBranch()
2794 __ mov(object_map, FieldOperand(object_prototype, HeapObject::kMapOffset)); in DoHasInPrototypeChainAndBranch()
/external/v8/src/crankshaft/
Dhydrogen-instructions.cc2743 HConstant::HConstant(Unique<Object> object, Unique<Map> object_map, in HConstant() argument
2749 object_map_(object_map), in HConstant()

12