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

Side by Side Diff: src/mips/macro-assembler-mips.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 unified diff | Download patch
« no previous file with comments | « src/ia32/macro-assembler-ia32.h ('k') | src/mips/simulator-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 1898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 pop(ra); 1909 pop(ra);
1910 lw(at, MemOperand(at, 6 * v8::internal::Assembler::kInstrSize)); 1910 lw(at, MemOperand(at, 6 * v8::internal::Assembler::kInstrSize));
1911 } 1911 }
1912 jr(at); 1912 jr(at);
1913 nop(); // Branch delay slot nop. 1913 nop(); // Branch delay slot nop.
1914 for (size_t index = 0; index < case_count; ++index) { 1914 for (size_t index = 0; index < case_count; ++index) {
1915 dd(GetLabelFunction(index)); 1915 dd(GetLabelFunction(index));
1916 } 1916 }
1917 } 1917 }
1918 1918
1919 #ifdef GENERATED_CODE_COVERAGE
1920 #define CODE_COVERAGE_STRINGIFY(x) #x
1921 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1922 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1923 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1924 #else
1925 #define ACCESS_MASM(masm) masm-> 1919 #define ACCESS_MASM(masm) masm->
1926 #endif
1927 1920
1928 } // namespace internal 1921 } // namespace internal
1929 } // namespace v8 1922 } // namespace v8
1930 1923
1931 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1924 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.h ('k') | src/mips/simulator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698