R=svenpanne@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/
11416135
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13031
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
V8::SetAddHistogramSampleFunction(AddHistogramSample);
}
#endif // V8_SHARED
- if (options.test_shell) return;
+}
+
+void Shell::InitializeDebugger(Isolate* isolate) {
+ if (options.test_shell) return;
#ifndef V8_SHARED
Locker lock;
HandleScope scope;
int result = 0;
Isolate* isolate = Isolate::GetCurrent();
{
- Symbols symbols(isolate);
Initialize(isolate);
+ Symbols symbols(isolate);
+ InitializeDebugger(isolate);
if (options.stress_opt || options.stress_deopt) {
Testing::SetStressRunType(options.stress_opt
static void InstallUtilityScript();
#endif // V8_SHARED
static void Initialize(Isolate* isolate);
+ static void InitializeDebugger(Isolate* isolate);
static void RunShell(Isolate* isolate);
static bool SetOptions(int argc, char* argv[]);
static Handle<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate);