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

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

Issue 2452403003: Changed statement ZoneList to a ZoneChunkList
Patch Set: Created 4 years, 1 month 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/frames.cc ('k') | src/interpreter/bytecode-generator.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 #include "src/gdb-jit.h" 5 #include "src/gdb-jit.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 } 164 }
165 165
166 DebugObject* debug_object_; 166 DebugObject* debug_object_;
167 uintptr_t position_; 167 uintptr_t position_;
168 uintptr_t capacity_; 168 uintptr_t capacity_;
169 byte* buffer_; 169 byte* buffer_;
170 }; 170 };
171 171
172 class ELFStringTable; 172 class ELFStringTable;
173 173
174 template<typename THeader> 174 template <typename THeader>
175 class DebugSectionBase : public ZoneObject { 175 class DebugSectionBase : public ZoneObject {
176 public: 176 public:
177 virtual ~DebugSectionBase() { } 177 virtual ~DebugSectionBase() { }
178 178
179 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) { 179 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) {
180 uintptr_t start = writer->position(); 180 uintptr_t start = writer->position();
181 if (WriteBodyInternal(writer)) { 181 if (WriteBodyInternal(writer)) {
182 uintptr_t end = writer->position(); 182 uintptr_t end = writer->position();
183 header->offset = static_cast<uint32_t>(start); 183 header->offset = static_cast<uint32_t>(start);
184 #if defined(__MACH_O) 184 #if defined(__MACH_O)
(...skipping 2028 matching lines...) Expand 10 before | Expand all | Expand 10 after
2213 LineInfo* line_info = reinterpret_cast<LineInfo*>(event->user_data); 2213 LineInfo* line_info = reinterpret_cast<LineInfo*>(event->user_data);
2214 PutLineInfo(reinterpret_cast<Address>(event->code_start), line_info); 2214 PutLineInfo(reinterpret_cast<Address>(event->code_start), line_info);
2215 break; 2215 break;
2216 } 2216 }
2217 } 2217 }
2218 } 2218 }
2219 #endif 2219 #endif
2220 } // namespace GDBJITInterface 2220 } // namespace GDBJITInterface
2221 } // namespace internal 2221 } // namespace internal
2222 } // namespace v8 2222 } // namespace v8
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/interpreter/bytecode-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698