OLD | NEW |
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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 static void MarkCompactPrologue(bool is_compacting); | 258 static void MarkCompactPrologue(bool is_compacting); |
259 static void MarkCompactEpilogue(bool is_compacting); | 259 static void MarkCompactEpilogue(bool is_compacting); |
260 static void MarkCompactPrologue(bool is_compacting, | 260 static void MarkCompactPrologue(bool is_compacting, |
261 char* archived_thread_data); | 261 char* archived_thread_data); |
262 static void MarkCompactEpilogue(bool is_compacting, | 262 static void MarkCompactEpilogue(bool is_compacting, |
263 char* archived_thread_data); | 263 char* archived_thread_data); |
264 static void PrintCurrentStackTrace(FILE* out); | 264 static void PrintCurrentStackTrace(FILE* out); |
265 static void PrintStackTrace(FILE* out, char* thread_data); | 265 static void PrintStackTrace(FILE* out, char* thread_data); |
266 static void PrintStack(StringStream* accumulator); | 266 static void PrintStack(StringStream* accumulator); |
267 static void PrintStack(); | 267 static void PrintStack(); |
268 static Handle<String> StackTrace(); | 268 static Handle<String> StackTraceString(); |
| 269 static Local<StackTrace> CaptureCurrentStackTrace( |
| 270 int frame_limit, |
| 271 StackTrace::StackTraceOptions options); |
269 | 272 |
270 // Returns if the top context may access the given global object. If | 273 // Returns if the top context may access the given global object. If |
271 // the result is false, the pending exception is guaranteed to be | 274 // the result is false, the pending exception is guaranteed to be |
272 // set. | 275 // set. |
273 static bool MayNamedAccess(JSObject* receiver, | 276 static bool MayNamedAccess(JSObject* receiver, |
274 Object* key, | 277 Object* key, |
275 v8::AccessType type); | 278 v8::AccessType type); |
276 static bool MayIndexedAccess(JSObject* receiver, | 279 static bool MayIndexedAccess(JSObject* receiver, |
277 uint32_t index, | 280 uint32_t index, |
278 v8::AccessType type); | 281 v8::AccessType type); |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 | 452 |
450 class ExecutionAccess BASE_EMBEDDED { | 453 class ExecutionAccess BASE_EMBEDDED { |
451 public: | 454 public: |
452 ExecutionAccess(); | 455 ExecutionAccess(); |
453 ~ExecutionAccess(); | 456 ~ExecutionAccess(); |
454 }; | 457 }; |
455 | 458 |
456 } } // namespace v8::internal | 459 } } // namespace v8::internal |
457 | 460 |
458 #endif // V8_TOP_H_ | 461 #endif // V8_TOP_H_ |
OLD | NEW |