Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: runtime/vm/code_generator.cc

Issue 10702067: - Separate store buffer data in the isolate into the StoreBufferBlock and (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 } 1525 }
1526 } 1526 }
1527 } 1527 }
1528 } 1528 }
1529 // The cache is null terminated, therefore the loop above should never 1529 // The cache is null terminated, therefore the loop above should never
1530 // terminate by itself. 1530 // terminate by itself.
1531 UNREACHABLE(); 1531 UNREACHABLE();
1532 return Code::null(); 1532 return Code::null();
1533 } 1533 }
1534 1534
1535
1536 // Adds a pointer to the store buffer.
1537 // ptr: the address of a field being stored into.
1538 DEFINE_LEAF_RUNTIME_ENTRY(void, StoreBuffer, uword ptr) {
1539 Isolate::Current()->store_buffer()->AddPointer(ptr);
1540 }
1541 END_LEAF_RUNTIME_ENTRY
1542
1543 } // namespace dart 1535 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/assembler_test.cc ('k') | runtime/vm/hash_set.h » ('j') | runtime/vm/hash_set.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698