| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/code_generator.h" | 5 #include "vm/code_generator.h" |
| 6 | 6 |
| 7 #include "vm/assembler.h" | 7 #include "vm/assembler.h" |
| 8 #include "vm/ast.h" | 8 #include "vm/ast.h" |
| 9 #include "vm/bigint_operations.h" | 9 #include "vm/bigint_operations.h" |
| 10 #include "vm/code_patcher.h" | 10 #include "vm/code_patcher.h" |
| (...skipping 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1526 } | 1526 } |
| 1527 | 1527 |
| 1528 | 1528 |
| 1529 // Update global type feedback recorded for a field recording the assignment | 1529 // Update global type feedback recorded for a field recording the assignment |
| 1530 // of the given value. | 1530 // of the given value. |
| 1531 // Arg0: Field object; | 1531 // Arg0: Field object; |
| 1532 // Arg1: Value that is being stored. | 1532 // Arg1: Value that is being stored. |
| 1533 DEFINE_RUNTIME_ENTRY(UpdateFieldCid, 2) { | 1533 DEFINE_RUNTIME_ENTRY(UpdateFieldCid, 2) { |
| 1534 const Field& field = Field::CheckedHandle(arguments.ArgAt(0)); | 1534 const Field& field = Field::CheckedHandle(arguments.ArgAt(0)); |
| 1535 const Object& value = Object::Handle(arguments.ArgAt(1)); | 1535 const Object& value = Object::Handle(arguments.ArgAt(1)); |
| 1536 field.UpdateGuardedCidAndLength(value); | 1536 field.RecordStore(value); |
| 1537 } | 1537 } |
| 1538 | 1538 |
| 1539 } // namespace dart | 1539 } // namespace dart |
| OLD | NEW |