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

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

Issue 2186533002: Remove dead code for generated code coverage. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « src/x64/assembler-x64.cc ('k') | src/x87/assembler-x87.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/macro-assembler-x64.h
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h
index d02c7dc4957377dc14333b39ccb1022263526933..b4475e13a0f447b6d9d22e90ad06e84ae11cec57 100644
--- a/src/x64/macro-assembler-x64.h
+++ b/src/x64/macro-assembler-x64.h
@@ -1776,26 +1776,7 @@ inline Operand StackOperandForReturnAddress(int32_t disp) {
return Operand(rsp, disp);
}
-
-#ifdef GENERATED_CODE_COVERAGE
-extern void LogGeneratedCodeCoverage(const char* file_line);
-#define CODE_COVERAGE_STRINGIFY(x) #x
-#define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
-#define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
-#define ACCESS_MASM(masm) { \
- Address x64_coverage_function = FUNCTION_ADDR(LogGeneratedCodeCoverage); \
- masm->pushfq(); \
- masm->Pushad(); \
- masm->Push(Immediate(reinterpret_cast<int>(&__FILE_LINE__))); \
- masm->Call(x64_coverage_function, RelocInfo::EXTERNAL_REFERENCE); \
- masm->Pop(rax); \
- masm->Popad(); \
- masm->popfq(); \
- } \
- masm->
-#else
#define ACCESS_MASM(masm) masm->
-#endif
} // namespace internal
} // namespace v8
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x87/assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698