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

Side by Side Diff: src/isolate.cc

Issue 96773002: Handle captured objects in OptimizedFrame::Summarize. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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/isolate.h ('k') | test/cctest/test-debug.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 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 Script::cast(thread_local_top_.pending_message_script_)); 1316 Script::cast(thread_local_top_.pending_message_script_));
1317 int start_pos = thread_local_top_.pending_message_start_pos_; 1317 int start_pos = thread_local_top_.pending_message_start_pos_;
1318 int end_pos = thread_local_top_.pending_message_end_pos_; 1318 int end_pos = thread_local_top_.pending_message_end_pos_;
1319 return MessageLocation(script, start_pos, end_pos); 1319 return MessageLocation(script, start_pos, end_pos);
1320 } 1320 }
1321 1321
1322 return MessageLocation(); 1322 return MessageLocation();
1323 } 1323 }
1324 1324
1325 1325
1326 void Isolate::TraceException(bool flag) {
1327 FLAG_trace_exception = flag; // TODO(isolates): This is an unfortunate use.
1328 }
1329
1330
1331 bool Isolate::OptionalRescheduleException(bool is_bottom_call) { 1326 bool Isolate::OptionalRescheduleException(bool is_bottom_call) {
1332 ASSERT(has_pending_exception()); 1327 ASSERT(has_pending_exception());
1333 PropagatePendingExceptionToExternalTryCatch(); 1328 PropagatePendingExceptionToExternalTryCatch();
1334 1329
1335 // Always reschedule out of memory exceptions. 1330 // Always reschedule out of memory exceptions.
1336 if (!is_out_of_memory()) { 1331 if (!is_out_of_memory()) {
1337 bool is_termination_exception = 1332 bool is_termination_exception =
1338 pending_exception() == heap_.termination_exception(); 1333 pending_exception() == heap_.termination_exception();
1339 1334
1340 // Do not reschedule the exception if this is the bottom call. 1335 // Do not reschedule the exception if this is the bottom call.
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
2303 2298
2304 #ifdef DEBUG 2299 #ifdef DEBUG
2305 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2300 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2306 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2301 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2307 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2302 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2308 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2303 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2309 #undef ISOLATE_FIELD_OFFSET 2304 #undef ISOLATE_FIELD_OFFSET
2310 #endif 2305 #endif
2311 2306
2312 } } // namespace v8::internal 2307 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698