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

Side by Side Diff: src/serialize.cc

Issue 265593004: Always initialize the debugger eagerly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/mips/debug-mips.cc ('k') | src/x64/debug-x64.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 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 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "accessors.h" 7 #include "accessors.h"
8 #include "api.h" 8 #include "api.h"
9 #include "bootstrapper.h" 9 #include "bootstrapper.h"
10 #include "deoptimizer.h" 10 #include "deoptimizer.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 ref_table[i].id, 183 ref_table[i].id,
184 ref_table[i].name, 184 ref_table[i].name,
185 isolate); 185 isolate);
186 } 186 }
187 187
188 // Debug addresses 188 // Debug addresses
189 Add(Debug_Address(Debug::k_after_break_target_address).address(isolate), 189 Add(Debug_Address(Debug::k_after_break_target_address).address(isolate),
190 DEBUG_ADDRESS, 190 DEBUG_ADDRESS,
191 Debug::k_after_break_target_address << kDebugIdShift, 191 Debug::k_after_break_target_address << kDebugIdShift,
192 "Debug::after_break_target_address()"); 192 "Debug::after_break_target_address()");
193 Add(Debug_Address(Debug::k_debug_break_slot_address).address(isolate),
194 DEBUG_ADDRESS,
195 Debug::k_debug_break_slot_address << kDebugIdShift,
196 "Debug::debug_break_slot_address()");
197 Add(Debug_Address(Debug::k_debug_break_return_address).address(isolate),
198 DEBUG_ADDRESS,
199 Debug::k_debug_break_return_address << kDebugIdShift,
200 "Debug::debug_break_return_address()");
201 Add(Debug_Address(Debug::k_restarter_frame_function_pointer).address(isolate), 193 Add(Debug_Address(Debug::k_restarter_frame_function_pointer).address(isolate),
202 DEBUG_ADDRESS, 194 DEBUG_ADDRESS,
203 Debug::k_restarter_frame_function_pointer << kDebugIdShift, 195 Debug::k_restarter_frame_function_pointer << kDebugIdShift,
204 "Debug::restarter_frame_function_pointer_address()"); 196 "Debug::restarter_frame_function_pointer_address()");
205 197
206 // Stat counters 198 // Stat counters
207 struct StatsRefTableEntry { 199 struct StatsRefTableEntry {
208 StatsCounter* (Counters::*counter)(); 200 StatsCounter* (Counters::*counter)();
209 uint16_t id; 201 uint16_t id;
210 const char* name; 202 const char* name;
(...skipping 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after
1873 1865
1874 bool SnapshotByteSource::AtEOF() { 1866 bool SnapshotByteSource::AtEOF() {
1875 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; 1867 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false;
1876 for (int x = position_; x < length_; x++) { 1868 for (int x = position_; x < length_; x++) {
1877 if (data_[x] != SerializerDeserializer::nop()) return false; 1869 if (data_[x] != SerializerDeserializer::nop()) return false;
1878 } 1870 }
1879 return true; 1871 return true;
1880 } 1872 }
1881 1873
1882 } } // namespace v8::internal 1874 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/debug-mips.cc ('k') | src/x64/debug-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698