| Index: vm/code_generator.cc
|
| ===================================================================
|
| --- vm/code_generator.cc (revision 8859)
|
| +++ vm/code_generator.cc (working copy)
|
| @@ -1584,12 +1584,10 @@
|
|
|
|
|
| // Adds a pointer to the store buffer.
|
| -// Arg0: the address of a field being stored into
|
| -DEFINE_LEAF_RUNTIME_ENTRY(StoreBuffer, 1) {
|
| - ASSERT(args.Count() == kStoreBufferRuntimeEntry.argument_count());
|
| - uword ptr = reinterpret_cast<uword>(args.At(0));
|
| - isolate->store_buffer()->AddPointer(ptr);
|
| - return Smi::New(0); // Just an arbitrary RawObject* value.
|
| +// ptr: the address of a field being stored into.
|
| +DEFINE_LEAF_RUNTIME_ENTRY(void, StoreBuffer, uword ptr) {
|
| + Isolate::Current()->store_buffer()->AddPointer(ptr);
|
| }
|
| +END_LEAF_RUNTIME_ENTRY
|
|
|
| } // namespace dart
|
|
|