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

Side by Side Diff: src/mips64/macro-assembler-mips64.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/mips64/full-codegen-mips64.cc ('k') | src/objects.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/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1782 class CodePatcher { 1782 class CodePatcher {
1783 public: 1783 public:
1784 enum FlushICache { 1784 enum FlushICache {
1785 FLUSH, 1785 FLUSH,
1786 DONT_FLUSH 1786 DONT_FLUSH
1787 }; 1787 };
1788 1788
1789 CodePatcher(byte* address, 1789 CodePatcher(byte* address,
1790 int instructions, 1790 int instructions,
1791 FlushICache flush_cache = FLUSH); 1791 FlushICache flush_cache = FLUSH);
1792 virtual ~CodePatcher(); 1792 ~CodePatcher();
1793 1793
1794 // Macro assembler to emit code. 1794 // Macro assembler to emit code.
1795 MacroAssembler* masm() { return &masm_; } 1795 MacroAssembler* masm() { return &masm_; }
1796 1796
1797 // Emit an instruction directly. 1797 // Emit an instruction directly.
1798 void Emit(Instr instr); 1798 void Emit(Instr instr);
1799 1799
1800 // Emit an address directly. 1800 // Emit an address directly.
1801 void Emit(Address addr); 1801 void Emit(Address addr);
1802 1802
(...skipping 15 matching lines...) Expand all
1818 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1818 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1819 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1819 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1820 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1820 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1821 #else 1821 #else
1822 #define ACCESS_MASM(masm) masm-> 1822 #define ACCESS_MASM(masm) masm->
1823 #endif 1823 #endif
1824 1824
1825 } } // namespace v8::internal 1825 } } // namespace v8::internal
1826 1826
1827 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1827 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698