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

Side by Side Diff: src/mips64/macro-assembler-mips64.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, 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 unified diff | Download patch
« no previous file with comments | « src/mips/simulator-mips.cc ('k') | src/mips64/simulator-mips64.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/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 2039 matching lines...) Expand 10 before | Expand all | Expand 10 after
2050 pop(ra); 2050 pop(ra);
2051 ld(at, MemOperand(at, 6 * v8::internal::Assembler::kInstrSize)); 2051 ld(at, MemOperand(at, 6 * v8::internal::Assembler::kInstrSize));
2052 } 2052 }
2053 jr(at); 2053 jr(at);
2054 nop(); // Branch delay slot nop. 2054 nop(); // Branch delay slot nop.
2055 for (size_t index = 0; index < case_count; ++index) { 2055 for (size_t index = 0; index < case_count; ++index) {
2056 dd(GetLabelFunction(index)); 2056 dd(GetLabelFunction(index));
2057 } 2057 }
2058 } 2058 }
2059 2059
2060 #ifdef GENERATED_CODE_COVERAGE
2061 #define CODE_COVERAGE_STRINGIFY(x) #x
2062 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2063 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2064 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2065 #else
2066 #define ACCESS_MASM(masm) masm-> 2060 #define ACCESS_MASM(masm) masm->
2067 #endif
2068 2061
2069 } // namespace internal 2062 } // namespace internal
2070 } // namespace v8 2063 } // namespace v8
2071 2064
2072 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 2065 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/simulator-mips.cc ('k') | src/mips64/simulator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698