OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_macros.h" | 7 #include "vm/assembler_macros.h" |
8 #include "vm/ast.h" | 8 #include "vm/ast.h" |
9 #include "vm/code_patcher.h" | 9 #include "vm/code_patcher.h" |
10 #include "vm/compiler.h" | 10 #include "vm/compiler.h" |
(...skipping 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1521 } | 1521 } |
1522 } | 1522 } |
1523 } | 1523 } |
1524 } | 1524 } |
1525 // The cache is null terminated, therefore the loop above should never | 1525 // The cache is null terminated, therefore the loop above should never |
1526 // terminate by itself. | 1526 // terminate by itself. |
1527 UNREACHABLE(); | 1527 UNREACHABLE(); |
1528 return Code::null(); | 1528 return Code::null(); |
1529 } | 1529 } |
1530 | 1530 |
1531 | |
1532 // Adds a pointer to the store buffer. | |
1533 // ptr: the address of a field being stored into. | |
1534 DEFINE_LEAF_RUNTIME_ENTRY(void, StoreBuffer, uword ptr) { | |
1535 Isolate::Current()->store_buffer()->AddPointer(ptr); | |
1536 } | |
1537 END_LEAF_RUNTIME_ENTRY | |
1538 | |
1539 } // namespace dart | 1531 } // namespace dart |
OLD | NEW |