| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 int recursionLevel() const { return m_recursionLevel; } | 72 int recursionLevel() const { return m_recursionLevel; } |
| 73 int incrementRecursionLevel() { return ++m_recursionLevel; } | 73 int incrementRecursionLevel() { return ++m_recursionLevel; } |
| 74 int decrementRecursionLevel() { return --m_recursionLevel; } | 74 int decrementRecursionLevel() { return --m_recursionLevel; } |
| 75 bool isHandlingRecursionLevelError() const { return m_isHandlingRecursionLev
elError; } | 75 bool isHandlingRecursionLevelError() const { return m_isHandlingRecursionLev
elError; } |
| 76 void setIsHandlingRecursionLevelError(bool value) { m_isHandlingRecursionLev
elError = value; } | 76 void setIsHandlingRecursionLevelError(bool value) { m_isHandlingRecursionLev
elError = value; } |
| 77 | 77 |
| 78 bool performingMicrotaskCheckpoint() const { return m_performingMicrotaskChe
ckpoint; } | 78 bool performingMicrotaskCheckpoint() const { return m_performingMicrotaskChe
ckpoint; } |
| 79 void setPerformingMicrotaskCheckpoint(bool performingMicrotaskCheckpoint) {
m_performingMicrotaskCheckpoint = performingMicrotaskCheckpoint; } | 79 void setPerformingMicrotaskCheckpoint(bool performingMicrotaskCheckpoint) {
m_performingMicrotaskCheckpoint = performingMicrotaskCheckpoint; } |
| 80 | 80 |
| 81 #ifndef NDEBUG | 81 #if ENABLE(ASSERT) |
| 82 int internalScriptRecursionLevel() const { return m_internalScriptRecursionL
evel; } | 82 int internalScriptRecursionLevel() const { return m_internalScriptRecursionL
evel; } |
| 83 int incrementInternalScriptRecursionLevel() { return ++m_internalScriptRecur
sionLevel; } | 83 int incrementInternalScriptRecursionLevel() { return ++m_internalScriptRecur
sionLevel; } |
| 84 int decrementInternalScriptRecursionLevel() { return --m_internalScriptRecur
sionLevel; } | 84 int decrementInternalScriptRecursionLevel() { return --m_internalScriptRecur
sionLevel; } |
| 85 #endif | 85 #endif |
| 86 | 86 |
| 87 GCEventData* gcEventData() { return m_gcEventData.get(); } | 87 GCEventData* gcEventData() { return m_gcEventData.get(); } |
| 88 V8HiddenValue* hiddenValue() { return m_hiddenValue.get(); } | 88 V8HiddenValue* hiddenValue() { return m_hiddenValue.get(); } |
| 89 | 89 |
| 90 v8::Handle<v8::FunctionTemplate> domTemplate(void* domTemplateKey, v8::Funct
ionCallback = 0, v8::Handle<v8::Value> data = v8::Handle<v8::Value>(), v8::Handl
e<v8::Signature> = v8::Handle<v8::Signature>(), int length = 0); | 90 v8::Handle<v8::FunctionTemplate> domTemplate(void* domTemplateKey, v8::Funct
ionCallback = 0, v8::Handle<v8::Value> data = v8::Handle<v8::Value>(), v8::Handl
e<v8::Signature> = v8::Handle<v8::Signature>(), int length = 0); |
| 91 v8::Handle<v8::FunctionTemplate> existingDOMTemplate(void* domTemplateKey); | 91 v8::Handle<v8::FunctionTemplate> existingDOMTemplate(void* domTemplateKey); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 119 RefPtr<ScriptState> m_scriptRegexpScriptState; | 119 RefPtr<ScriptState> m_scriptRegexpScriptState; |
| 120 | 120 |
| 121 const char* m_previousSamplingState; | 121 const char* m_previousSamplingState; |
| 122 | 122 |
| 123 bool m_constructorMode; | 123 bool m_constructorMode; |
| 124 friend class ConstructorMode; | 124 friend class ConstructorMode; |
| 125 | 125 |
| 126 int m_recursionLevel; | 126 int m_recursionLevel; |
| 127 bool m_isHandlingRecursionLevelError; | 127 bool m_isHandlingRecursionLevelError; |
| 128 | 128 |
| 129 #ifndef NDEBUG | 129 #if ENABLE(ASSERT) |
| 130 int m_internalScriptRecursionLevel; | 130 int m_internalScriptRecursionLevel; |
| 131 #endif | 131 #endif |
| 132 OwnPtr<GCEventData> m_gcEventData; | 132 OwnPtr<GCEventData> m_gcEventData; |
| 133 bool m_performingMicrotaskCheckpoint; | 133 bool m_performingMicrotaskCheckpoint; |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 } // namespace WebCore | 136 } // namespace WebCore |
| 137 | 137 |
| 138 #endif // V8PerIsolateData_h | 138 #endif // V8PerIsolateData_h |
| OLD | NEW |