| Index: src/d8.cc
|
| diff --git a/src/d8.cc b/src/d8.cc
|
| index f1297e1d7b2d10c03921f4fd116227c8d8649d4c..5a162929c247b59e1b1ee65072490c9afd8c3dad 100644
|
| --- a/src/d8.cc
|
| +++ b/src/d8.cc
|
| @@ -668,12 +668,10 @@ Handle<ObjectTemplate> Shell::CreateGlobalTemplate() {
|
| global_template->Set(String::New("load"), FunctionTemplate::New(Load));
|
| global_template->Set(String::New("quit"), FunctionTemplate::New(Quit));
|
| global_template->Set(String::New("version"), FunctionTemplate::New(Version));
|
| - if (i::FLAG_prof) {
|
| - global_template->Set(String::New("enableProfiler"),
|
| - FunctionTemplate::New(EnableProfiler));
|
| - global_template->Set(String::New("disableProfiler"),
|
| - FunctionTemplate::New(DisableProfiler));
|
| - }
|
| + global_template->Set(String::New("enableProfiler"),
|
| + FunctionTemplate::New(EnableProfiler));
|
| + global_template->Set(String::New("disableProfiler"),
|
| + FunctionTemplate::New(DisableProfiler));
|
|
|
| // Bind the handlers for external arrays.
|
| global_template->Set(String::New("Int8Array"),
|
|
|