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

Unified Diff: runtime/vm/exceptions_test.cc

Issue 11293290: Fix native argument handling (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/dart_api_impl.cc ('k') | runtime/vm/native_arguments.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/exceptions_test.cc
===================================================================
--- runtime/vm/exceptions_test.cc (revision 14922)
+++ runtime/vm/exceptions_test.cc (working copy)
@@ -18,8 +18,8 @@
void FUNCTION_NAME(Unhandled_equals)(Dart_NativeArguments args) {
NativeArguments* arguments = reinterpret_cast<NativeArguments*>(args);
- const Instance& expected = Instance::CheckedHandle(arguments->At(0));
- const Instance& actual = Instance::CheckedHandle(arguments->At(1));
+ const Instance& expected = Instance::CheckedHandle(arguments->NativeArgAt(0));
+ const Instance& actual = Instance::CheckedHandle(arguments->NativeArgAt(1));
if (!expected.Equals(actual)) {
OS::Print("expected: '%s' actual: '%s'\n",
expected.ToCString(), actual.ToCString());
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/native_arguments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698