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

Side by Side Diff: src/debug/debug.h

Issue 1423723002: Map v8::Function to JSReceiver + IsCallable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 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/api.cc ('k') | src/debug/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 // 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 #ifndef V8_DEBUG_DEBUG_H_ 5 #ifndef V8_DEBUG_DEBUG_H_
6 #define V8_DEBUG_DEBUG_H_ 6 #define V8_DEBUG_DEBUG_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 void OnBeforeCompile(Handle<Script> script); 361 void OnBeforeCompile(Handle<Script> script);
362 void OnAfterCompile(Handle<Script> script); 362 void OnAfterCompile(Handle<Script> script);
363 void OnPromiseEvent(Handle<JSObject> data); 363 void OnPromiseEvent(Handle<JSObject> data);
364 void OnAsyncTaskEvent(Handle<JSObject> data); 364 void OnAsyncTaskEvent(Handle<JSObject> data);
365 365
366 // API facing. 366 // API facing.
367 void SetEventListener(Handle<Object> callback, Handle<Object> data); 367 void SetEventListener(Handle<Object> callback, Handle<Object> data);
368 void SetMessageHandler(v8::Debug::MessageHandler handler); 368 void SetMessageHandler(v8::Debug::MessageHandler handler);
369 void EnqueueCommandMessage(Vector<const uint16_t> command, 369 void EnqueueCommandMessage(Vector<const uint16_t> command,
370 v8::Debug::ClientData* client_data = NULL); 370 v8::Debug::ClientData* client_data = NULL);
371 MUST_USE_RESULT MaybeHandle<Object> Call(Handle<JSFunction> fun, 371 MUST_USE_RESULT MaybeHandle<Object> Call(Handle<Object> fun,
372 Handle<Object> data); 372 Handle<Object> data);
373 Handle<Context> GetDebugContext(); 373 Handle<Context> GetDebugContext();
374 void HandleDebugBreak(); 374 void HandleDebugBreak();
375 void ProcessDebugMessages(bool debug_command_only); 375 void ProcessDebugMessages(bool debug_command_only);
376 376
377 // Internal logic 377 // Internal logic
378 bool Load(); 378 bool Load();
379 void Break(Arguments args, JavaScriptFrame*); 379 void Break(Arguments args, JavaScriptFrame*);
380 void SetAfterBreakTarget(JavaScriptFrame* frame); 380 void SetAfterBreakTarget(JavaScriptFrame* frame);
381 381
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 760
761 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); 761 static void PatchDebugBreakSlot(Address pc, Handle<Code> code);
762 static void ClearDebugBreakSlot(Address pc); 762 static void ClearDebugBreakSlot(Address pc);
763 }; 763 };
764 764
765 765
766 } // namespace internal 766 } // namespace internal
767 } // namespace v8 767 } // namespace v8
768 768
769 #endif // V8_DEBUG_DEBUG_H_ 769 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698