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

Side by Side Diff: src/ppc/macro-assembler-ppc.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/mips64/simulator-mips64.cc ('k') | src/ppc/simulator-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 1646 matching lines...) Expand 10 before | Expand all | Expand 10 after
1657 1657
1658 inline MemOperand ContextMemOperand(Register context, int index = 0) { 1658 inline MemOperand ContextMemOperand(Register context, int index = 0) {
1659 return MemOperand(context, Context::SlotOffset(index)); 1659 return MemOperand(context, Context::SlotOffset(index));
1660 } 1660 }
1661 1661
1662 1662
1663 inline MemOperand NativeContextMemOperand() { 1663 inline MemOperand NativeContextMemOperand() {
1664 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); 1664 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX);
1665 } 1665 }
1666 1666
1667 #define ACCESS_MASM(masm) masm->
1667 1668
1668 #ifdef GENERATED_CODE_COVERAGE
1669 #define CODE_COVERAGE_STRINGIFY(x) #x
1670 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1671 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1672 #define ACCESS_MASM(masm) \
1673 masm->stop(__FILE_LINE__); \
1674 masm->
1675 #else
1676 #define ACCESS_MASM(masm) masm->
1677 #endif
1678 } // namespace internal 1669 } // namespace internal
1679 } // namespace v8 1670 } // namespace v8
1680 1671
1681 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1672 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/mips64/simulator-mips64.cc ('k') | src/ppc/simulator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698