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

Unified Diff: runtime/vm/stub_code_arm64.cc

Issue 303303002: Address TODOs and remove obsolete ones. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm64.cc
===================================================================
--- runtime/vm/stub_code_arm64.cc (revision 36803)
+++ runtime/vm/stub_code_arm64.cc (working copy)
@@ -201,8 +201,8 @@
ASSERT(retval_offset == 3 * kWordSize);
__ AddImmediate(R3, FP, 2 * kWordSize, kNoPP);
- // TODO(regis): Should we pass the structure by value as in runtime calls?
- // It would require changing Dart API for native functions.
+ // Passing the structure by value as in runtime calls would require changing
+ // Dart API for native functions.
// For now, space is reserved on the stack and we pass a pointer to it.
__ StoreToOffset(R0, SP, isolate_offset, kNoPP);
__ StoreToOffset(R1, SP, argc_tag_offset, kNoPP);
@@ -322,8 +322,8 @@
ASSERT(retval_offset == 3 * kWordSize);
__ AddImmediate(R3, FP, 2 * kWordSize, kNoPP);
- // TODO(regis): Should we pass the structure by value as in runtime calls?
- // It would require changing Dart API for native functions.
+ // Passing the structure by value as in runtime calls would require changing
+ // Dart API for native functions.
// For now, space is reserved on the stack and we pass a pointer to it.
__ StoreToOffset(R0, SP, isolate_offset, kNoPP);
__ StoreToOffset(R1, SP, argc_tag_offset, kNoPP);
« no previous file with comments | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698