Home | History | Annotate | Download | only in v8

Lines Matching refs:m_isolate

66     v8::Handle<v8::Object> debuggerScript = m_debuggerScript.newLocal(m_isolate);
69 return V8ScriptRunner::callInternalFunction(function, debuggerScript, argc, argv, m_isolate);
76 : m_isolate(isolate)
78 v8::HandleScope scope(m_isolate);
80 v8::Local<v8::Context> context = v8::Context::New(m_isolate);
88 v8::Local<v8::Value> preprocessorFunction = V8ScriptRunner::compileAndRunInternalScript(preprocessor, m_isolate);
98 v8::HandleScope handleScope(m_isolate);
103 v8::Local<v8::Context> context = m_utilityContext.newLocal(m_isolate);
110 v8::Handle<v8::Value> resultValue = V8ScriptRunner::callInternalFunction(m_preprocessorFunction.newLocal(m_isolate), context->Global(), WTF_ARRAY_LENGTH(argv), argv, m_isolate);
127 v8::Isolate* m_isolate;
134 , m_isolate(isolate)
144 v8::HandleScope scope(m_isolate);
155 v8::Handle<v8::Function> setBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v8::String::NewSymbol("setBreakpoint")));
166 v8::HandleScope scope(m_isolate);
173 v8::Handle<v8::Function> removeBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v8::String::NewSymbol("removeBreakpoint")));
180 v8::HandleScope scope(m_isolate);
184 v8::Handle<v8::Function> clearBreakpoints = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v8::String::NewSymbol("clearBreakpoints")));
191 v8::HandleScope scope(m_isolate);
197 v8::Handle<v8::Function> setBreakpointsActivated = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v8::String::NewSymbol("setBreakpointsActivated")));
206 v8::HandleScope scope(m_isolate);
217 v8::HandleScope scope(m_isolate);
229 v8::Debug::DebugBreak(m_isolate);
231 v8::Debug::CancelDebugBreak(m_isolate);
239 // FIXME: Remove this check once m_isolate->GetCurrentContext() does not crash.
243 v8::HandleScope scope(m_isolate);
244 return !m_isolate->GetCurrentContext().IsEmpty();
252 v8::HandleScope scope(m_isolate);
256 m_breakProgramCallbackTemplate.set(m_isolate, templ);
259 m_pausedContext = m_isolate->GetCurrentContext();
260 v8::Handle<v8::Function> breakProgramFunction = m_breakProgramCallbackTemplate.newLocal(m_isolate)->GetFunction();
275 v8::HandleScope handleScope(m_isolate);
276 v8::Handle<v8::Value> argv[] = { m_executionState.newLocal(m_isolate) };
284 v8::HandleScope handleScope(m_isolate);
285 v8::Handle<v8::Value> argv[] = { m_executionState.newLocal(m_isolate) };
293 v8::HandleScope handleScope(m_isolate);
294 v8::Handle<v8::Value> argv[] = { m_executionState.newLocal(m_isolate) };
308 v8::HandleScope scope(m_isolate);
377 m_scriptPreprocessor = adoptPtr(new ScriptPreprocessor(preprocessorBody, m_isolate));
394 v8::HandleScope handleScope(m_isolate);
395 RefPtr<JavaScriptCallFrame> currentCallFrame = wrapCallFrames(m_executionState.newLocal(m_isolate), -1);
445 m_executionState.set(m_isolate, executionState);
503 v8::HandleScope scope(m_isolate);
505 v8::Handle<v8::Object> debuggerScript = m_debuggerScript.newLocal(m_isolate);
515 v8::Handle<v8::Value> script = V8ScriptRunner::callInternalFunction(getScriptSourceFunction, debuggerScript, WTF_ARRAY_LENGTH(argv), argv, m_isolate);
519 v8::Handle<v8::Value> scriptName = V8ScriptRunner::callInternalFunction(getScriptNameFunction, debuggerScript, WTF_ARRAY_LENGTH(argv1), argv1, m_isolate);
523 v8::Handle<v8::Value> argv2[] = { eventDetails.GetEventData(), v8String(patchedScript, m_isolate) };
524 V8ScriptRunner::callInternalFunction(setScriptSourceFunction, debuggerScript, WTF_ARRAY_LENGTH(argv2), argv2, m_isolate);
530 v8::Handle<v8::Value> value = V8ScriptRunner::callInternalFunction(getAfterCompileScript, debuggerScript, WTF_ARRAY_LENGTH(argv), argv, m_isolate);
546 v8::Handle<v8::Value> exception = V8ScriptRunner::callInternalFunction(v8::Handle<v8::Function>::Cast(exceptionGetterValue), eventData, 0, 0, m_isolate);
551 v8::Handle<v8::Value> hitBreakpoints = V8ScriptRunner::callInternalFunction(getBreakpointNumbersFunction, debuggerScript, WTF_ARRAY_LENGTH(argv), argv, m_isolate);
592 v8::HandleScope scope(m_isolate);
594 v8::Handle<v8::String> source = v8String(String(reinterpret_cast<const char*>(DebuggerScriptSource_js), sizeof(DebuggerScriptSource_js)), m_isolate);
595 v8::Local<v8::Value> value = V8ScriptRunner::compileAndRunInternalScript(source, m_isolate);
598 m_debuggerScript.set(m_isolate, v8::Handle<v8::Object>::Cast(value));
612 return v8::Local<v8::Value>::New(m_isolate, v8::Undefined());
641 v8::HandleScope handleScope(m_isolate);
647 v8::Handle<v8::String> source = v8String(expression, m_isolate);
649 v8::Local<v8::Script> script = V8ScriptRunner::compileScript(source, sourceURL, TextPosition(), 0, m_isolate);
672 v8::HandleScope handleScope(m_isolate);
674 v8::Local<v8::Script> script = scriptHandle->newLocal(m_isolate);