Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2005)

Unified Diff: src/d8.h

Issue 7219003: removed some unnecessary stuff from d8's initialization (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/d8.cc » ('j') | src/d8.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.h
diff --git a/src/d8.h b/src/d8.h
index e62ce3803642a17e9fcc339acbd0bb77dc52e2e4..c246ae264e33dee9bc278374cb9f66187453c144 100644
--- a/src/d8.h
+++ b/src/d8.h
@@ -129,7 +129,7 @@ class Shell: public i::AllStatic {
static void AddHistogramSample(void* histogram, int sample);
static void MapCounters(const char* name);
static Handle<String> ReadFile(const char* name);
- static void Initialize();
+ static void Initialize(bool shell);
Yang 2011/06/21 02:25:55 Adding argument specifying whether to expect inter
static void RenewEvaluationContext();
static void InstallUtilityScript();
static void RunShell();
@@ -202,7 +202,7 @@ class Shell: public i::AllStatic {
static void AddOSMethods(Handle<ObjectTemplate> os_template);
- static Handle<Context> utility_context() { return utility_context_; }
+ static Handle<Context> evaluation_context() { return evaluation_context_; }
static const char* kHistoryFileName;
static const char* kPrompt;
« no previous file with comments | « no previous file | src/d8.cc » ('j') | src/d8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698