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

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 1234833003: Debugger: use debug break slots to break at function exit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix for arm Created 5 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/mips/full-codegen-mips.cc ('k') | src/mips64/assembler-mips64.h » ('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 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1696 class CodePatcher { 1696 class CodePatcher {
1697 public: 1697 public:
1698 enum FlushICache { 1698 enum FlushICache {
1699 FLUSH, 1699 FLUSH,
1700 DONT_FLUSH 1700 DONT_FLUSH
1701 }; 1701 };
1702 1702
1703 CodePatcher(byte* address, 1703 CodePatcher(byte* address,
1704 int instructions, 1704 int instructions,
1705 FlushICache flush_cache = FLUSH); 1705 FlushICache flush_cache = FLUSH);
1706 virtual ~CodePatcher(); 1706 ~CodePatcher();
1707 1707
1708 // Macro assembler to emit code. 1708 // Macro assembler to emit code.
1709 MacroAssembler* masm() { return &masm_; } 1709 MacroAssembler* masm() { return &masm_; }
1710 1710
1711 // Emit an instruction directly. 1711 // Emit an instruction directly.
1712 void Emit(Instr instr); 1712 void Emit(Instr instr);
1713 1713
1714 // Emit an address directly. 1714 // Emit an address directly.
1715 void Emit(Address addr); 1715 void Emit(Address addr);
1716 1716
(...skipping 15 matching lines...) Expand all
1732 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1732 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1733 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1733 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1734 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1734 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1735 #else 1735 #else
1736 #define ACCESS_MASM(masm) masm-> 1736 #define ACCESS_MASM(masm) masm->
1737 #endif 1737 #endif
1738 1738
1739 } } // namespace v8::internal 1739 } } // namespace v8::internal
1740 1740
1741 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1741 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | src/mips64/assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698