OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2010 Google Inc. All rights reserved. | 2 * Copyright (c) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 29 matching lines...) Expand all Loading... | |
40 class ScriptArguments; | 40 class ScriptArguments; |
41 class ScriptCallStack; | 41 class ScriptCallStack; |
42 | 42 |
43 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac kTrace::StackTraceOptions>( | 43 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac kTrace::StackTraceOptions>( |
44 v8::StackTrace::kLineNumber | 44 v8::StackTrace::kLineNumber |
45 | v8::StackTrace::kColumnOffset | 45 | v8::StackTrace::kColumnOffset |
46 | v8::StackTrace::kScriptId | 46 | v8::StackTrace::kScriptId |
47 | v8::StackTrace::kScriptNameOrSourceURL | 47 | v8::StackTrace::kScriptNameOrSourceURL |
48 | v8::StackTrace::kFunctionName); | 48 | v8::StackTrace::kFunctionName); |
49 | 49 |
50 ScriptCallFrame toScriptCallFrame(v8::Handle<v8::StackFrame>); | |
vsm
2014/06/03 14:24:49
Upstream to multivm?
| |
51 | |
50 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, si ze_t maxStackSize, v8::Isolate*); | 52 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, si ze_t maxStackSize, v8::Isolate*); |
51 PassRefPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSize, bool empt yStackIsAllowed = false); | 53 PassRefPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSize, bool empt yStackIsAllowed = false); |
52 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(size_t maxStackSize = ScriptCallStack::maxCallStackSizeToCapture); | 54 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(size_t maxStackSize = ScriptCallStack::maxCallStackSizeToCapture); |
53 PassRefPtr<ScriptArguments> createScriptArguments(const v8::FunctionCallbackInfo <v8::Value>& v8arguments, unsigned skipArgumentCount); | 55 PassRefPtr<ScriptArguments> createScriptArguments(const v8::FunctionCallbackInfo <v8::Value>& v8arguments, unsigned skipArgumentCount); |
54 | 56 |
55 } // namespace WebCore | 57 } // namespace WebCore |
56 | 58 |
57 #endif // ScriptCallStackFactory_h | 59 #endif // ScriptCallStackFactory_h |
OLD | NEW |