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

Side by Side Diff: src/arm/macro-assembler-arm.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 | « no previous file | src/arm/simulator-arm.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_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 1566
1567 inline MemOperand ContextMemOperand(Register context, int index = 0) { 1567 inline MemOperand ContextMemOperand(Register context, int index = 0) {
1568 return MemOperand(context, Context::SlotOffset(index)); 1568 return MemOperand(context, Context::SlotOffset(index));
1569 } 1569 }
1570 1570
1571 1571
1572 inline MemOperand NativeContextMemOperand() { 1572 inline MemOperand NativeContextMemOperand() {
1573 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); 1573 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX);
1574 } 1574 }
1575 1575
1576
1577 #ifdef GENERATED_CODE_COVERAGE
1578 #define CODE_COVERAGE_STRINGIFY(x) #x
1579 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1580 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1581 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1582 #else
1583 #define ACCESS_MASM(masm) masm-> 1576 #define ACCESS_MASM(masm) masm->
1584 #endif
1585
1586 1577
1587 } // namespace internal 1578 } // namespace internal
1588 } // namespace v8 1579 } // namespace v8
1589 1580
1590 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1581 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/simulator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698