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

Side by Side Diff: src/debug.h

Issue 9705018: Debugger: naive implementation of "step into Function.prototype.bind". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch for landing with additional test. Created 8 years, 9 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 | « no previous file | src/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 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 void PreemptionWhileInDebugger(); 232 void PreemptionWhileInDebugger();
233 void Iterate(ObjectVisitor* v); 233 void Iterate(ObjectVisitor* v);
234 234
235 Object* Break(Arguments args); 235 Object* Break(Arguments args);
236 void SetBreakPoint(Handle<SharedFunctionInfo> shared, 236 void SetBreakPoint(Handle<SharedFunctionInfo> shared,
237 Handle<Object> break_point_object, 237 Handle<Object> break_point_object,
238 int* source_position); 238 int* source_position);
239 void ClearBreakPoint(Handle<Object> break_point_object); 239 void ClearBreakPoint(Handle<Object> break_point_object);
240 void ClearAllBreakPoints(); 240 void ClearAllBreakPoints();
241 void FloodWithOneShot(Handle<SharedFunctionInfo> shared); 241 void FloodWithOneShot(Handle<SharedFunctionInfo> shared);
242 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function);
242 void FloodHandlerWithOneShot(); 243 void FloodHandlerWithOneShot();
243 void ChangeBreakOnException(ExceptionBreakType type, bool enable); 244 void ChangeBreakOnException(ExceptionBreakType type, bool enable);
244 bool IsBreakOnException(ExceptionBreakType type); 245 bool IsBreakOnException(ExceptionBreakType type);
245 void PrepareStep(StepAction step_action, int step_count); 246 void PrepareStep(StepAction step_action, int step_count);
246 void ClearStepping(); 247 void ClearStepping();
247 bool StepNextContinue(BreakLocationIterator* break_location_iterator, 248 bool StepNextContinue(BreakLocationIterator* break_location_iterator,
248 JavaScriptFrame* frame); 249 JavaScriptFrame* frame);
249 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 250 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
250 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared); 251 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared);
251 252
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 984
984 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 985 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
985 }; 986 };
986 987
987 988
988 } } // namespace v8::internal 989 } } // namespace v8::internal
989 990
990 #endif // ENABLE_DEBUGGER_SUPPORT 991 #endif // ENABLE_DEBUGGER_SUPPORT
991 992
992 #endif // V8_DEBUG_H_ 993 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698