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

Side by Side Diff: src/serialize.cc

Issue 22801003: Patch CEntry stub to swallow exception if liveedit/restart frame needs it. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: follow code review Created 7 years, 3 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/liveedit.cc ('k') | src/x64/code-stubs-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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 Debug::k_after_break_target_address << kDebugIdShift, 199 Debug::k_after_break_target_address << kDebugIdShift,
200 "Debug::after_break_target_address()"); 200 "Debug::after_break_target_address()");
201 Add(Debug_Address(Debug::k_debug_break_slot_address).address(isolate), 201 Add(Debug_Address(Debug::k_debug_break_slot_address).address(isolate),
202 DEBUG_ADDRESS, 202 DEBUG_ADDRESS,
203 Debug::k_debug_break_slot_address << kDebugIdShift, 203 Debug::k_debug_break_slot_address << kDebugIdShift,
204 "Debug::debug_break_slot_address()"); 204 "Debug::debug_break_slot_address()");
205 Add(Debug_Address(Debug::k_debug_break_return_address).address(isolate), 205 Add(Debug_Address(Debug::k_debug_break_return_address).address(isolate),
206 DEBUG_ADDRESS, 206 DEBUG_ADDRESS,
207 Debug::k_debug_break_return_address << kDebugIdShift, 207 Debug::k_debug_break_return_address << kDebugIdShift,
208 "Debug::debug_break_return_address()"); 208 "Debug::debug_break_return_address()");
209 Add(Debug_Address(Debug::k_restarter_frame_function_pointer).address(isolate), 209 Add(Debug_Address(Debug::k_restarter_frame_function_pointer)
210 .address(isolate),
210 DEBUG_ADDRESS, 211 DEBUG_ADDRESS,
211 Debug::k_restarter_frame_function_pointer << kDebugIdShift, 212 Debug::k_restarter_frame_function_pointer << kDebugIdShift,
212 "Debug::restarter_frame_function_pointer_address()"); 213 "Debug::restarter_frame_function_pointer_address()");
214 Add(Debug_Address(Debug::k_c_entry_frame_to_ignore_exception)
215 .address(isolate),
216 DEBUG_ADDRESS,
217 Debug::k_c_entry_frame_to_ignore_exception << kDebugIdShift,
218 "Debug::c_entry_frame_to_ignore_exception_address()");
213 #endif 219 #endif
214 220
215 // Stat counters 221 // Stat counters
216 struct StatsRefTableEntry { 222 struct StatsRefTableEntry {
217 StatsCounter* (Counters::*counter)(); 223 StatsCounter* (Counters::*counter)();
218 uint16_t id; 224 uint16_t id;
219 const char* name; 225 const char* name;
220 }; 226 };
221 227
222 const StatsRefTableEntry stats_ref_table[] = { 228 const StatsRefTableEntry stats_ref_table[] = {
(...skipping 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1856 1862
1857 bool SnapshotByteSource::AtEOF() { 1863 bool SnapshotByteSource::AtEOF() {
1858 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; 1864 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false;
1859 for (int x = position_; x < length_; x++) { 1865 for (int x = position_; x < length_; x++) {
1860 if (data_[x] != SerializerDeserializer::nop()) return false; 1866 if (data_[x] != SerializerDeserializer::nop()) return false;
1861 } 1867 }
1862 return true; 1868 return true;
1863 } 1869 }
1864 1870
1865 } } // namespace v8::internal 1871 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698