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

Unified Diff: vm/code_generator.cc

Issue 10592006: Rework leaf calls as just simple C calls with a signature and not the NativeArgumentDescriptor. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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 | « vm/assembler_x64.cc ('k') | vm/runtime_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « vm/assembler_x64.cc ('k') | vm/runtime_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698