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

Side by Side Diff: src/assembler.h

Issue 618643002: Replace OStream with std::ostream. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Created 6 years, 2 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/lithium-arm64.cc ('k') | src/assembler.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 571
572 #ifdef DEBUG 572 #ifdef DEBUG
573 // Check whether the given code contains relocation information that 573 // Check whether the given code contains relocation information that
574 // either is position-relative or movable by the garbage collector. 574 // either is position-relative or movable by the garbage collector.
575 static bool RequiresRelocation(const CodeDesc& desc); 575 static bool RequiresRelocation(const CodeDesc& desc);
576 #endif 576 #endif
577 577
578 #ifdef ENABLE_DISASSEMBLER 578 #ifdef ENABLE_DISASSEMBLER
579 // Printing 579 // Printing
580 static const char* RelocModeName(Mode rmode); 580 static const char* RelocModeName(Mode rmode);
581 void Print(Isolate* isolate, OStream& os); // NOLINT 581 void Print(Isolate* isolate, std::ostream& os); // NOLINT
582 #endif // ENABLE_DISASSEMBLER 582 #endif // ENABLE_DISASSEMBLER
583 #ifdef VERIFY_HEAP 583 #ifdef VERIFY_HEAP
584 void Verify(Isolate* isolate); 584 void Verify(Isolate* isolate);
585 #endif 585 #endif
586 586
587 static const int kCodeTargetMask = (1 << (LAST_CODE_ENUM + 1)) - 1; 587 static const int kCodeTargetMask = (1 << (LAST_CODE_ENUM + 1)) - 1;
588 static const int kPositionMask = 1 << POSITION | 1 << STATEMENT_POSITION; 588 static const int kPositionMask = 1 << POSITION | 1 << STATEMENT_POSITION;
589 static const int kDataMask = 589 static const int kDataMask =
590 (1 << CODE_TARGET_WITH_ID) | kPositionMask | (1 << COMMENT); 590 (1 << CODE_TARGET_WITH_ID) | kPositionMask | (1 << COMMENT);
591 static const int kApplyMask; // Modes affected by apply. Depends on arch. 591 static const int kApplyMask; // Modes affected by apply. Depends on arch.
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 NullCallWrapper() { } 1104 NullCallWrapper() { }
1105 virtual ~NullCallWrapper() { } 1105 virtual ~NullCallWrapper() { }
1106 virtual void BeforeCall(int call_size) const { } 1106 virtual void BeforeCall(int call_size) const { }
1107 virtual void AfterCall() const { } 1107 virtual void AfterCall() const { }
1108 }; 1108 };
1109 1109
1110 1110
1111 } } // namespace v8::internal 1111 } } // namespace v8::internal
1112 1112
1113 #endif // V8_ASSEMBLER_H_ 1113 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-arm64.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698