Changeset 196490 in webkit for trunk/Source/JavaScriptCore/runtime/SparseArrayValueMap.cpp
- Timestamp:
- Feb 12, 2016, 11:50:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/SparseArrayValueMap.cpp
r188532 r196490 1 1 /* 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.2 * Copyright (C) 2011, 2012, 2016 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 91 91 void SparseArrayValueMap::putEntry(ExecState* exec, JSObject* array, unsigned i, JSValue value, bool shouldThrow) 92 92 { 93 ASSERT(value); 94 93 95 AddResult result = add(array, i); 94 96 SparseArrayEntry& entry = result.iterator->value; … … 109 111 bool SparseArrayValueMap::putDirect(ExecState* exec, JSObject* array, unsigned i, JSValue value, unsigned attributes, PutDirectIndexMode mode) 110 112 { 113 ASSERT(value); 114 111 115 AddResult result = add(array, i); 112 116 SparseArrayEntry& entry = result.iterator->value;
Note:
See TracChangeset
for help on using the changeset viewer.