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

Unified Diff: runtime/vm/assembler_test.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, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_test.cc
===================================================================
--- runtime/vm/assembler_test.cc (revision 9322)
+++ runtime/vm/assembler_test.cc (working copy)
@@ -28,11 +28,11 @@
const Context& ctx = Context::Handle(Context::New(0));
EXPECT(old_array.raw() == grow_old_array.data());
- EXPECT(!Isolate::Current()->store_buffer()->Contains(
+ EXPECT(!Isolate::Current()->store_buffer_block()->Contains(
reinterpret_cast<uword>(grow_old_array.raw()) +
GrowableObjectArray::data_offset() - kHeapObjectTag));
EXPECT(old_array.raw() == grow_new_array.data());
- EXPECT(!Isolate::Current()->store_buffer()->Contains(
+ EXPECT(!Isolate::Current()->store_buffer_block()->Contains(
reinterpret_cast<uword>(grow_new_array.raw()) +
GrowableObjectArray::data_offset() - kHeapObjectTag));
@@ -41,7 +41,7 @@
smi = Smi::New(i);
test_code(ctx.raw(), smi.raw(), grow_old_array.raw());
EXPECT(reinterpret_cast<RawArray*>(smi.raw()) == grow_old_array.data());
- EXPECT(!Isolate::Current()->store_buffer()->Contains(
+ EXPECT(!Isolate::Current()->store_buffer_block()->Contains(
reinterpret_cast<uword>(grow_old_array.raw()) +
GrowableObjectArray::data_offset() - kHeapObjectTag));
}
@@ -49,28 +49,28 @@
// Store an old object into the old object.
test_code(ctx.raw(), old_array.raw(), grow_old_array.raw());
EXPECT(old_array.raw() == grow_old_array.data());
- EXPECT(!Isolate::Current()->store_buffer()->Contains(
+ EXPECT(!Isolate::Current()->store_buffer_block()->Contains(
reinterpret_cast<uword>(grow_old_array.raw()) +
GrowableObjectArray::data_offset() - kHeapObjectTag));
// Store a new object into the old object.
test_code(ctx.raw(), new_array.raw(), grow_old_array.raw());
EXPECT(new_array.raw() == grow_old_array.data());
- EXPECT(Isolate::Current()->store_buffer()->Contains(
+ EXPECT(Isolate::Current()->store_buffer_block()->Contains(
reinterpret_cast<uword>(grow_old_array.raw()) +
GrowableObjectArray::data_offset() - kHeapObjectTag));
// Store a new object into the new object.
test_code(ctx.raw(), new_array.raw(), grow_new_array.raw());
EXPECT(new_array.raw() == grow_new_array.data());
- EXPECT(!Isolate::Current()->store_buffer()->Contains(
+ EXPECT(!Isolate::Current()->store_buffer_block()->Contains(
reinterpret_cast<uword>(grow_new_array.raw()) +
GrowableObjectArray::data_offset() - kHeapObjectTag));
// Store an old object into the new object.
test_code(ctx.raw(), old_array.raw(), grow_new_array.raw());
EXPECT(old_array.raw() == grow_new_array.data());
- EXPECT(!Isolate::Current()->store_buffer()->Contains(
+ EXPECT(!Isolate::Current()->store_buffer_block()->Contains(
reinterpret_cast<uword>(grow_new_array.raw()) +
GrowableObjectArray::data_offset() - kHeapObjectTag));
}
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698