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

Side by Side Diff: src/debug.cc

Issue 8391045: Handlify the remaining CallStubCompiler functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 2603 matching lines...) Expand 10 before | Expand all | Expand 10 after
2614 } 2614 }
2615 } 2615 }
2616 2616
2617 2617
2618 void Debugger::CallCEventCallback(v8::DebugEvent event, 2618 void Debugger::CallCEventCallback(v8::DebugEvent event,
2619 Handle<Object> exec_state, 2619 Handle<Object> exec_state,
2620 Handle<Object> event_data, 2620 Handle<Object> event_data,
2621 v8::Debug::ClientData* client_data) { 2621 v8::Debug::ClientData* client_data) {
2622 Handle<Foreign> callback_obj(Handle<Foreign>::cast(event_listener_)); 2622 Handle<Foreign> callback_obj(Handle<Foreign>::cast(event_listener_));
2623 v8::Debug::EventCallback2 callback = 2623 v8::Debug::EventCallback2 callback =
2624 FUNCTION_CAST<v8::Debug::EventCallback2>(callback_obj->address()); 2624 FUNCTION_CAST<v8::Debug::EventCallback2>(
2625 callback_obj->foreign_address());
2625 EventDetailsImpl event_details( 2626 EventDetailsImpl event_details(
2626 event, 2627 event,
2627 Handle<JSObject>::cast(exec_state), 2628 Handle<JSObject>::cast(exec_state),
2628 Handle<JSObject>::cast(event_data), 2629 Handle<JSObject>::cast(event_data),
2629 event_listener_data_, 2630 event_listener_data_,
2630 client_data); 2631 client_data);
2631 callback(event_details); 2632 callback(event_details);
2632 } 2633 }
2633 2634
2634 2635
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
3474 { 3475 {
3475 Locker locker; 3476 Locker locker;
3476 Isolate::Current()->debugger()->CallMessageDispatchHandler(); 3477 Isolate::Current()->debugger()->CallMessageDispatchHandler();
3477 } 3478 }
3478 } 3479 }
3479 } 3480 }
3480 3481
3481 #endif // ENABLE_DEBUGGER_SUPPORT 3482 #endif // ENABLE_DEBUGGER_SUPPORT
3482 3483
3483 } } // namespace v8::internal 3484 } } // namespace v8::internal
OLDNEW
« src/arm/stub-cache-arm.cc ('K') | « src/arm/stub-cache-arm.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698