| 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 "src/objects.h" | 5 #include "src/objects.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 #include <iomanip> | 8 #include <iomanip> |
| 9 #include <sstream> | 9 #include <sstream> |
| 10 | 10 |
| (...skipping 13348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13359 switch (state) { | 13359 switch (state) { |
| 13360 case UNINITIALIZED: return "UNINITIALIZED"; | 13360 case UNINITIALIZED: return "UNINITIALIZED"; |
| 13361 case PREMONOMORPHIC: return "PREMONOMORPHIC"; | 13361 case PREMONOMORPHIC: return "PREMONOMORPHIC"; |
| 13362 case MONOMORPHIC: return "MONOMORPHIC"; | 13362 case MONOMORPHIC: return "MONOMORPHIC"; |
| 13363 case PROTOTYPE_FAILURE: | 13363 case PROTOTYPE_FAILURE: |
| 13364 return "PROTOTYPE_FAILURE"; | 13364 return "PROTOTYPE_FAILURE"; |
| 13365 case POLYMORPHIC: return "POLYMORPHIC"; | 13365 case POLYMORPHIC: return "POLYMORPHIC"; |
| 13366 case MEGAMORPHIC: return "MEGAMORPHIC"; | 13366 case MEGAMORPHIC: return "MEGAMORPHIC"; |
| 13367 case GENERIC: return "GENERIC"; | 13367 case GENERIC: return "GENERIC"; |
| 13368 case DEBUG_STUB: return "DEBUG_STUB"; | 13368 case DEBUG_STUB: return "DEBUG_STUB"; |
| 13369 case DEFAULT: | |
| 13370 return "DEFAULT"; | |
| 13371 } | 13369 } |
| 13372 UNREACHABLE(); | 13370 UNREACHABLE(); |
| 13373 return NULL; | 13371 return NULL; |
| 13374 } | 13372 } |
| 13375 | 13373 |
| 13376 | 13374 |
| 13377 const char* Code::StubType2String(StubType type) { | 13375 const char* Code::StubType2String(StubType type) { |
| 13378 switch (type) { | 13376 switch (type) { |
| 13379 case NORMAL: return "NORMAL"; | 13377 case NORMAL: return "NORMAL"; |
| 13380 case FAST: return "FAST"; | 13378 case FAST: return "FAST"; |
| (...skipping 4559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17940 if (cell->value() != *new_value) { | 17938 if (cell->value() != *new_value) { |
| 17941 cell->set_value(*new_value); | 17939 cell->set_value(*new_value); |
| 17942 Isolate* isolate = cell->GetIsolate(); | 17940 Isolate* isolate = cell->GetIsolate(); |
| 17943 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 17941 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
| 17944 isolate, DependentCode::kPropertyCellChangedGroup); | 17942 isolate, DependentCode::kPropertyCellChangedGroup); |
| 17945 } | 17943 } |
| 17946 } | 17944 } |
| 17947 | 17945 |
| 17948 } // namespace internal | 17946 } // namespace internal |
| 17949 } // namespace v8 | 17947 } // namespace v8 |
| OLD | NEW |