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

Unified Diff: crosstest/simple_loop.c

Issue 265703002: Add Om1 lowering with no optimizations (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 8 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
Index: crosstest/simple_loop.c
diff --git a/crosstest/simple_loop.c b/crosstest/simple_loop.c
new file mode 100644
index 0000000000000000000000000000000000000000..af642cc170e47165546b49ac221c7d6dee47714d
--- /dev/null
+++ b/crosstest/simple_loop.c
@@ -0,0 +1,6 @@
+int simple_loop(int *a, int n) {
JF 2014/05/01 00:16:55 Comment explaining test.
Jim Stichnoth 2014/05/05 07:03:55 Done.
+ int sum = 0;
+ for (int i = 0; i < n; ++i)
+ sum += a[i];
+ return sum;
+}

Powered by Google App Engine
This is Rietveld 408576698