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

Side by Side Diff: src/arm64/simulator-arm64.h

Issue 268353005: ARM64: Fix and improve MacroAssembler::Printf. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reorganise Simulator::DoPrintf as suggested. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/arm64/simulator-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_SIMULATOR_ARM64_H_ 5 #ifndef V8_ARM64_SIMULATOR_ARM64_H_
6 #define V8_ARM64_SIMULATOR_ARM64_H_ 6 #define V8_ARM64_SIMULATOR_ARM64_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 0x7ff000007f801000UL; 750 0x7ff000007f801000UL;
751 // This value is a mix of 32/64-bits NaN and "verbose" immediate. 751 // This value is a mix of 32/64-bits NaN and "verbose" immediate.
752 static const uint64_t kDefaultCPURegisterCorruptionValue = 752 static const uint64_t kDefaultCPURegisterCorruptionValue =
753 0x7ffbad007f8bad00UL; 753 0x7ffbad007f8bad00UL;
754 754
755 void CorruptRegisters(CPURegList* list, 755 void CorruptRegisters(CPURegList* list,
756 uint64_t value = kDefaultCPURegisterCorruptionValue); 756 uint64_t value = kDefaultCPURegisterCorruptionValue);
757 void CorruptAllCallerSavedCPURegisters(); 757 void CorruptAllCallerSavedCPURegisters();
758 #endif 758 #endif
759 759
760 // Pseudo Printf instruction
761 void DoPrintf(Instruction* instr);
762
760 // Processor state --------------------------------------- 763 // Processor state ---------------------------------------
761 764
762 // Output stream. 765 // Output stream.
763 FILE* stream_; 766 FILE* stream_;
764 PrintDisassembler* print_disasm_; 767 PrintDisassembler* print_disasm_;
765 void PRINTF_METHOD_CHECKING TraceSim(const char* format, ...); 768 void PRINTF_METHOD_CHECKING TraceSim(const char* format, ...);
766 769
767 // Instrumentation. 770 // Instrumentation.
768 Instrument* instrument_; 771 Instrument* instrument_;
769 772
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 static void UnregisterCTryCatch() { 880 static void UnregisterCTryCatch() {
878 Simulator::current(Isolate::Current())->PopAddress(); 881 Simulator::current(Isolate::Current())->PopAddress();
879 } 882 }
880 }; 883 };
881 884
882 #endif // !defined(USE_SIMULATOR) 885 #endif // !defined(USE_SIMULATOR)
883 886
884 } } // namespace v8::internal 887 } } // namespace v8::internal
885 888
886 #endif // V8_ARM64_SIMULATOR_ARM64_H_ 889 #endif // V8_ARM64_SIMULATOR_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/arm64/simulator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698