/external/v8/src/ic/ |
D | call-optimization.cc | 17 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/ |
D | types-fuzz.h | 52 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/ |
D | fast-accessor-assembler.cc | 54 Node* object_map = in LoadInternalField() local 60 MachineType::Uint16(), object_map, in LoadInternalField()
|
D | typer.cc | 1850 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()
|
D | js-generic-lowering.cc | 636 Node* object_map = effect = graph()->NewNode( in LowerJSForInPrepare() local 691 machine()->Load(MachineType::AnyTagged()), object_map, in LowerJSForInPrepare()
|
D | js-typed-lowering.cc | 1169 Node* object_map = effect = in ReduceJSInstanceOf() local 1181 object_map, r.left(), loop); in ReduceJSInstanceOf()
|
/external/v8/src/x87/ |
D | code-stubs-x87.cc | 2228 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/ |
D | code-stubs-x64.cc | 2471 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()
|
D | macro-assembler-x64.h | 758 Register object_map,
|
D | macro-assembler-x64.cc | 2436 Register object_map, in JumpIfNotString() argument 2441 CmpObjectType(object, FIRST_NONSTRING_TYPE, object_map); in JumpIfNotString()
|
/external/v8/src/arm64/ |
D | code-stubs-arm64.cc | 1509 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/ |
D | code-stubs-mips.cc | 1429 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/ |
D | code-stubs-ppc.cc | 1380 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/ |
D | code-stubs-ia32.cc | 2516 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/ |
D | code-stubs-arm.cc | 1303 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/ |
D | code-stubs-mips64.cc | 1431 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/ |
D | lithium-codegen-x64.cc | 2532 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/ |
D | lithium-codegen-ia32.cc | 2481 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/ |
D | lithium-codegen-arm64.cc | 2858 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/ |
D | lithium-codegen-mips.cc | 2489 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/ |
D | lithium-codegen-arm.cc | 2578 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/ |
D | lithium-codegen-ppc.cc | 2649 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/ |
D | lithium-codegen-mips64.cc | 2614 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/ |
D | lithium-codegen-x87.cc | 2764 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/ |
D | hydrogen-instructions.cc | 2743 HConstant::HConstant(Unique<Object> object, Unique<Map> object_map, in HConstant() argument 2749 object_map_(object_map), in HConstant()
|