OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 | 4 |
5 #include <iomanip> | 5 #include <iomanip> |
6 #include <sstream> | 6 #include <sstream> |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
11 #include "src/allocation-site-scopes.h" | 11 #include "src/allocation-site-scopes.h" |
12 #include "src/api.h" | 12 #include "src/api.h" |
13 #include "src/arguments.h" | 13 #include "src/arguments.h" |
14 #include "src/base/bits.h" | 14 #include "src/base/bits.h" |
| 15 #include "src/base/utils/random-number-generator.h" |
15 #include "src/bootstrapper.h" | 16 #include "src/bootstrapper.h" |
16 #include "src/code-stubs.h" | 17 #include "src/code-stubs.h" |
17 #include "src/codegen.h" | 18 #include "src/codegen.h" |
18 #include "src/compilation-dependencies.h" | 19 #include "src/compilation-dependencies.h" |
19 #include "src/compiler.h" | 20 #include "src/compiler.h" |
20 #include "src/cpu-profiler.h" | 21 #include "src/cpu-profiler.h" |
21 #include "src/date.h" | 22 #include "src/date.h" |
22 #include "src/debug.h" | 23 #include "src/debug.h" |
23 #include "src/deoptimizer.h" | 24 #include "src/deoptimizer.h" |
24 #include "src/elements.h" | 25 #include "src/elements.h" |
25 #include "src/execution.h" | 26 #include "src/execution.h" |
26 #include "src/field-index-inl.h" | 27 #include "src/field-index-inl.h" |
27 #include "src/field-index.h" | 28 #include "src/field-index.h" |
28 #include "src/full-codegen.h" | 29 #include "src/full-codegen.h" |
29 #include "src/heap/mark-compact.h" | 30 #include "src/heap/mark-compact.h" |
30 #include "src/heap/objects-visiting-inl.h" | 31 #include "src/heap/objects-visiting-inl.h" |
31 #include "src/hydrogen.h" | 32 #include "src/hydrogen.h" |
32 #include "src/ic/ic.h" | 33 #include "src/ic/ic.h" |
33 #include "src/isolate-inl.h" | |
34 #include "src/log.h" | 34 #include "src/log.h" |
35 #include "src/lookup.h" | 35 #include "src/lookup.h" |
36 #include "src/macro-assembler.h" | 36 #include "src/macro-assembler.h" |
37 #include "src/messages.h" | 37 #include "src/messages.h" |
38 #include "src/objects-inl.h" | 38 #include "src/objects-inl.h" |
39 #include "src/prototype.h" | 39 #include "src/prototype.h" |
40 #include "src/safepoint-table.h" | 40 #include "src/safepoint-table.h" |
41 #include "src/string-search.h" | 41 #include "src/string-search.h" |
42 #include "src/string-stream.h" | 42 #include "src/string-stream.h" |
43 #include "src/utils.h" | 43 #include "src/utils.h" |
(...skipping 17047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17091 if (!invalidate && old_type == PropertyCellType::kConstant && | 17091 if (!invalidate && old_type == PropertyCellType::kConstant && |
17092 new_type != PropertyCellType::kConstant) { | 17092 new_type != PropertyCellType::kConstant) { |
17093 auto isolate = dictionary->GetIsolate(); | 17093 auto isolate = dictionary->GetIsolate(); |
17094 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 17094 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
17095 isolate, DependentCode::kPropertyCellChangedGroup); | 17095 isolate, DependentCode::kPropertyCellChangedGroup); |
17096 } | 17096 } |
17097 return value; | 17097 return value; |
17098 } | 17098 } |
17099 | 17099 |
17100 } } // namespace v8::internal | 17100 } } // namespace v8::internal |
OLD | NEW |