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

Unified Diff: test/MC/X86/nacl-autosandbox/scratch-clear.s

Issue 1274223003: Auto-sandboxing: Switch to automatic scratch register invalidation (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 4 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: test/MC/X86/nacl-autosandbox/scratch-clear.s
diff --git a/test/MC/X86/nacl-autosandbox/scratch-clear.s b/test/MC/X86/nacl-autosandbox/scratch-clear.s
new file mode 100644
index 0000000000000000000000000000000000000000..cd1e67c58b4ea7740e635270c357b9bdde6a476d
--- /dev/null
+++ b/test/MC/X86/nacl-autosandbox/scratch-clear.s
@@ -0,0 +1,6 @@
+// RUN: llvm-mc -filetype asm -triple i386-unknown-nacl %s
+
+// Tests a basic .scratch and .scratch_clear sequence, should succeed
+
+.scratch %ecx
+.scratch_clear

Powered by Google App Engine
This is Rietveld 408576698