| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 #include "src/code-stub-assembler.h" | 4 #include "src/code-stub-assembler.h" |
| 5 #include "src/code-factory.h" | 5 #include "src/code-factory.h" |
| 6 #include "src/frames-inl.h" | 6 #include "src/frames-inl.h" |
| 7 #include "src/frames.h" | 7 #include "src/frames.h" |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 4420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4431 Node* CodeStubAssembler::GetNumberOfDeletedElements(Node* dictionary) { | 4431 Node* CodeStubAssembler::GetNumberOfDeletedElements(Node* dictionary) { |
| 4432 return LoadFixedArrayElement(dictionary, | 4432 return LoadFixedArrayElement(dictionary, |
| 4433 Dictionary::kNumberOfDeletedElementsIndex); | 4433 Dictionary::kNumberOfDeletedElementsIndex); |
| 4434 } | 4434 } |
| 4435 | 4435 |
| 4436 template <class Dictionary> | 4436 template <class Dictionary> |
| 4437 Node* CodeStubAssembler::GetCapacity(Node* dictionary) { | 4437 Node* CodeStubAssembler::GetCapacity(Node* dictionary) { |
| 4438 return LoadFixedArrayElement(dictionary, Dictionary::kCapacityIndex); | 4438 return LoadFixedArrayElement(dictionary, Dictionary::kCapacityIndex); |
| 4439 } | 4439 } |
| 4440 | 4440 |
| 4441 template Node* CodeStubAssembler::GetCapacity<NameDictionary>(Node* dictionary); |
| 4442 |
| 4441 template <class Dictionary> | 4443 template <class Dictionary> |
| 4442 Node* CodeStubAssembler::GetNextEnumerationIndex(Node* dictionary) { | 4444 Node* CodeStubAssembler::GetNextEnumerationIndex(Node* dictionary) { |
| 4443 return LoadFixedArrayElement(dictionary, | 4445 return LoadFixedArrayElement(dictionary, |
| 4444 Dictionary::kNextEnumerationIndexIndex); | 4446 Dictionary::kNextEnumerationIndexIndex); |
| 4445 } | 4447 } |
| 4446 | 4448 |
| 4447 template <class Dictionary> | 4449 template <class Dictionary> |
| 4448 void CodeStubAssembler::SetNextEnumerationIndex(Node* dictionary, | 4450 void CodeStubAssembler::SetNextEnumerationIndex(Node* dictionary, |
| 4449 Node* next_enum_index_smi) { | 4451 Node* next_enum_index_smi) { |
| 4450 StoreFixedArrayElement(dictionary, Dictionary::kNextEnumerationIndexIndex, | 4452 StoreFixedArrayElement(dictionary, Dictionary::kNextEnumerationIndexIndex, |
| (...skipping 3869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8320 formatted.c_str(), TENURED); | 8322 formatted.c_str(), TENURED); |
| 8321 CallRuntime(Runtime::kGlobalPrint, NoContextConstant(), | 8323 CallRuntime(Runtime::kGlobalPrint, NoContextConstant(), |
| 8322 HeapConstant(string)); | 8324 HeapConstant(string)); |
| 8323 } | 8325 } |
| 8324 CallRuntime(Runtime::kDebugPrint, NoContextConstant(), tagged_value); | 8326 CallRuntime(Runtime::kDebugPrint, NoContextConstant(), tagged_value); |
| 8325 #endif | 8327 #endif |
| 8326 } | 8328 } |
| 8327 | 8329 |
| 8328 } // namespace internal | 8330 } // namespace internal |
| 8329 } // namespace v8 | 8331 } // namespace v8 |
| OLD | NEW |