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

Side by Side Diff: src/gdb-jit.cc

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/frames.cc ('k') | src/hydrogen.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 #ifdef ENABLE_GDB_JIT_INTERFACE 5 #ifdef ENABLE_GDB_JIT_INTERFACE
6 #include "src/v8.h" 6 #include "src/v8.h"
7 7
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 1824 matching lines...) Expand 10 before | Expand all | Expand 10 after
1835 1835
1836 // GDB will inspect contents of this descriptor. 1836 // GDB will inspect contents of this descriptor.
1837 // Static initialization is necessary to prevent GDB from seeing 1837 // Static initialization is necessary to prevent GDB from seeing
1838 // uninitialized descriptor. 1838 // uninitialized descriptor.
1839 JITDescriptor __jit_debug_descriptor = { 1, 0, 0, 0 }; 1839 JITDescriptor __jit_debug_descriptor = { 1, 0, 0, 0 };
1840 1840
1841 #ifdef OBJECT_PRINT 1841 #ifdef OBJECT_PRINT
1842 void __gdb_print_v8_object(Object* object) { 1842 void __gdb_print_v8_object(Object* object) {
1843 OFStream os(stdout); 1843 OFStream os(stdout);
1844 object->Print(os); 1844 object->Print(os);
1845 os << flush; 1845 os << std::flush;
1846 } 1846 }
1847 #endif 1847 #endif
1848 } 1848 }
1849 1849
1850 1850
1851 static JITCodeEntry* CreateCodeEntry(Address symfile_addr, 1851 static JITCodeEntry* CreateCodeEntry(Address symfile_addr,
1852 uintptr_t symfile_size) { 1852 uintptr_t symfile_size) {
1853 JITCodeEntry* entry = static_cast<JITCodeEntry*>( 1853 JITCodeEntry* entry = static_cast<JITCodeEntry*>(
1854 malloc(sizeof(JITCodeEntry) + symfile_size)); 1854 malloc(sizeof(JITCodeEntry) + symfile_size));
1855 1855
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
2195 reinterpret_cast<Address>(event->code_start)); 2195 reinterpret_cast<Address>(event->code_start));
2196 RegisterDetailedLineInfo(code, line_info); 2196 RegisterDetailedLineInfo(code, line_info);
2197 break; 2197 break;
2198 } 2198 }
2199 } 2199 }
2200 } 2200 }
2201 2201
2202 2202
2203 } } // namespace v8::internal 2203 } } // namespace v8::internal
2204 #endif 2204 #endif
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698