Changeset 230287 in webkit for trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp
- Timestamp:
- Apr 4, 2018, 5:30:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp
r228411 r230287 1 1 /* 2 * Copyright (C) 2011-201 5Apple Inc. All rights reserved.2 * Copyright (C) 2011-2018 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 470 470 if (!mode.isInBounds()) 471 471 break; 472 heap = HeapLocation( 473 indexedPropertyLoc, IndexedInt32Properties, base, index); 472 heap = HeapLocation(indexedPropertyLoc, IndexedInt32Properties, base, index); 474 473 break; 475 474 476 case Array::Double: 475 case Array::Double: { 477 476 if (!mode.isInBounds()) 478 477 break; 479 heap = HeapLocation(480 indexedPropertyLoc, IndexedDoubleProperties, base, index);478 LocationKind kind = mode.isSaneChain() ? IndexedPropertyDoubleSaneChainLoc : IndexedPropertyDoubleLoc; 479 heap = HeapLocation(kind, IndexedDoubleProperties, base, index); 481 480 break; 481 } 482 482 483 483 case Array::Contiguous: 484 484 if (!mode.isInBounds()) 485 485 break; 486 heap = HeapLocation( 487 indexedPropertyLoc, IndexedContiguousProperties, base, index); 486 heap = HeapLocation(indexedPropertyLoc, IndexedContiguousProperties, base, index); 488 487 break; 489 488
Note:
See TracChangeset
for help on using the changeset viewer.