Changeset 227609 in webkit for trunk/Source/JavaScriptCore/bytecode/AccessCase.cpp
- Timestamp:
- Jan 25, 2018, 9:21:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/AccessCase.cpp
r227592 r227609 1 1 /* 2 * Copyright (C) 2017 -2018Apple Inc. All rights reserved.2 * Copyright (C) 2017 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 956 956 957 957 if (allocatingInline) { 958 Allocator allocator = vm.jsValueGigacageAuxiliarySpace.allocatorFor(newSize, AllocatorForMode::AllocatorIfExists); 959 960 jit.emitAllocate(scratchGPR, JITAllocator::constant(allocator), scratchGPR2, scratchGPR3, slowPath); 958 BlockDirectory* allocator = vm.jsValueGigacageAuxiliarySpace.allocatorFor(newSize, AllocatorForMode::AllocatorIfExists); 959 960 if (!allocator) { 961 // Yuck, this case would suck! 962 slowPath.append(jit.jump()); 963 } 964 965 jit.move(CCallHelpers::TrustedImmPtr(allocator), scratchGPR2); 966 jit.emitAllocate(scratchGPR, allocator, scratchGPR2, scratchGPR3, slowPath); 961 967 jit.addPtr(CCallHelpers::TrustedImm32(newSize + sizeof(IndexingHeader)), scratchGPR); 962 968
Note:
See TracChangeset
for help on using the changeset viewer.