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

Unified Diff: src/macro-assembler-arm.h

Issue 88025: * Add code to check coverage of generated code on IA32 port.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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: src/macro-assembler-arm.h
===================================================================
--- src/macro-assembler-arm.h (revision 1748)
+++ src/macro-assembler-arm.h (working copy)
@@ -298,7 +298,16 @@
}
+#ifdef GENERATED_CODE_COVERAGE
+#define CODE_COVERAGE_STRINGIFY(x) #x
+#define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
+#define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
+#define DEFINE_MASM(masm) masm->stop(__FILE_LINE__); masm->
Christian Plesner Hansen 2009/04/21 11:47:32 What is the significance of the name 'DEFINE_MASM'
+#else
+#define DEFINE_MASM(masm) masm->
+#endif
+
} } // namespace v8::internal
#endif // V8_MACRO_ASSEMBLER_ARM_H_
« src/codegen-ia32.cc ('K') | « src/jump-target-ia32.cc ('k') | src/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698