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

Side by Side Diff: src/debug.h

Issue 14892: Merge changes from bleeding_edge into experimental toiger branch.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 12 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/d8.js ('k') | 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 // Getter for the debug_context. 199 // Getter for the debug_context.
200 inline static Handle<Context> debug_context() { return debug_context_; } 200 inline static Handle<Context> debug_context() { return debug_context_; }
201 201
202 // Check whether a global object is the debug global object. 202 // Check whether a global object is the debug global object.
203 static bool IsDebugGlobal(GlobalObject* global); 203 static bool IsDebugGlobal(GlobalObject* global);
204 204
205 // Fast check to see if any break points are active. 205 // Fast check to see if any break points are active.
206 inline static bool has_break_points() { return has_break_points_; } 206 inline static bool has_break_points() { return has_break_points_; }
207 207
208 static bool StepInActive() { return thread_local_.step_into_fp_ != 0; } 208 static bool StepInActive() { return thread_local_.step_into_fp_ != 0; }
209 static void HandleStepIn(Handle<JSFunction> function,
210 Address fp,
211 bool is_constructor);
209 static Address step_in_fp() { return thread_local_.step_into_fp_; } 212 static Address step_in_fp() { return thread_local_.step_into_fp_; }
210 static Address* step_in_fp_addr() { return &thread_local_.step_into_fp_; } 213 static Address* step_in_fp_addr() { return &thread_local_.step_into_fp_; }
211 214
212 // Getter and setter for the disable break state. 215 // Getter and setter for the disable break state.
213 static bool disable_break() { return disable_break_; } 216 static bool disable_break() { return disable_break_; }
214 static void set_disable_break(bool disable_break) { 217 static void set_disable_break(bool disable_break) {
215 disable_break_ = disable_break; 218 disable_break_ = disable_break;
216 } 219 }
217 220
218 // Getters for the current exception break state. 221 // Getters for the current exception break state.
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 } 592 }
590 private: 593 private:
591 Debug::AddressId id_; 594 Debug::AddressId id_;
592 int reg_; 595 int reg_;
593 }; 596 };
594 597
595 598
596 } } // namespace v8::internal 599 } } // namespace v8::internal
597 600
598 #endif // V8_V8_DEBUG_H_ 601 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/d8.js ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698