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

Unified Diff: tests_lit/reader_tests/branch.ll

Issue 1387963002: Make sure that all globals are internal, except for "start" functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix new tests. Created 5 years, 2 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 | « tests_lit/reader_tests/binops.ll ('k') | tests_lit/reader_tests/call.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/reader_tests/branch.ll
diff --git a/tests_lit/reader_tests/branch.ll b/tests_lit/reader_tests/branch.ll
index b68a016d751544c27be53d28005e060a2ebda7df..0b70223c220605c54695d334a0f2a2018879a2fe 100644
--- a/tests_lit/reader_tests/branch.ll
+++ b/tests_lit/reader_tests/branch.ll
@@ -6,7 +6,7 @@
; RUN: | %if --need=allow_disable_ir_gen --command \
; RUN: FileCheck --check-prefix=NOIR %s
-define void @SimpleBranch() {
+define internal void @SimpleBranch() {
entry:
br label %b3
b1:
@@ -17,7 +17,7 @@ b3:
br label %b1
}
-; CHECK: define void @SimpleBranch() {
+; CHECK: define internal void @SimpleBranch() {
; CHECK-NEXT: entry:
; CHECK-NEXT: br label %b3
; CHECK-NEXT: b1:
@@ -28,7 +28,7 @@ b3:
; CHECK-NEXT: br label %b1
; CHECK-NEXT: }
-define void @CondBranch(i32 %p) {
+define internal void @CondBranch(i32 %p) {
entry:
%test = trunc i32 %p to i1
br i1 %test, label %b1, label %b2
@@ -38,7 +38,7 @@ b2:
br i1 %test, label %b2, label %b1
}
-; CHECK-NEXT: define void @CondBranch(i32 %p) {
+; CHECK-NEXT: define internal void @CondBranch(i32 %p) {
; CHECK-NEXT: entry:
; CHECK-NEXT: %test = trunc i32 %p to i1
; CHECK-NEXT: br i1 %test, label %b1, label %b2
« no previous file with comments | « tests_lit/reader_tests/binops.ll ('k') | tests_lit/reader_tests/call.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698