| 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" |
| (...skipping 17373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17384 // static | 17384 // static |
| 17385 void PropertyCell::SetValueWithInvalidation(Handle<PropertyCell> cell, | 17385 void PropertyCell::SetValueWithInvalidation(Handle<PropertyCell> cell, |
| 17386 Handle<Object> new_value) { | 17386 Handle<Object> new_value) { |
| 17387 if (cell->value() != *new_value) { | 17387 if (cell->value() != *new_value) { |
| 17388 cell->set_value(*new_value); | 17388 cell->set_value(*new_value); |
| 17389 Isolate* isolate = cell->GetIsolate(); | 17389 Isolate* isolate = cell->GetIsolate(); |
| 17390 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 17390 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
| 17391 isolate, DependentCode::kPropertyCellChangedGroup); | 17391 isolate, DependentCode::kPropertyCellChangedGroup); |
| 17392 } | 17392 } |
| 17393 } | 17393 } |
| 17394 } } // namespace v8::internal | 17394 } // namespace internal |
| 17395 } // namespace v8 |
| OLD | NEW |