Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 9587403cdcf1360246a4cc650b44f38d1c85fbaa..eb06ff17a3e38b139019522152360d478422e55d 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2604,54 +2604,6 @@ |
static_cast<PropertyAttributes>(DONT_ENUM | READ_ONLY)); |
} |
- { // -- C o n s o l e |
- Handle<String> name = factory->InternalizeUtf8String("console"); |
- Handle<JSFunction> cons = factory->NewFunction(name); |
- Handle<JSObject> empty = factory->NewJSObject(isolate->object_function()); |
- JSFunction::SetInstancePrototype(cons, empty); |
- Handle<JSObject> console = factory->NewJSObject(cons, TENURED); |
- DCHECK(console->IsJSObject()); |
- JSObject::AddProperty(global, name, console, DONT_ENUM); |
- SimpleInstallFunction(console, "debug", Builtins::kConsoleDebug, 1, false); |
- SimpleInstallFunction(console, "error", Builtins::kConsoleError, 1, false); |
- SimpleInstallFunction(console, "info", Builtins::kConsoleInfo, 1, false); |
- SimpleInstallFunction(console, "log", Builtins::kConsoleLog, 1, false); |
- SimpleInstallFunction(console, "warn", Builtins::kConsoleWarn, 1, false); |
- SimpleInstallFunction(console, "dir", Builtins::kConsoleDir, 1, false); |
- SimpleInstallFunction(console, "dirxml", Builtins::kConsoleDirXml, 1, |
- false); |
- SimpleInstallFunction(console, "table", Builtins::kConsoleTable, 1, false); |
- SimpleInstallFunction(console, "trace", Builtins::kConsoleTrace, 1, false); |
- SimpleInstallFunction(console, "group", Builtins::kConsoleGroup, 1, false); |
- SimpleInstallFunction(console, "groupCollapsed", |
- Builtins::kConsoleGroupCollapsed, 1, false); |
- SimpleInstallFunction(console, "groupEnd", Builtins::kConsoleGroupEnd, 1, |
- false); |
- SimpleInstallFunction(console, "clear", Builtins::kConsoleClear, 1, false); |
- SimpleInstallFunction(console, "count", Builtins::kConsoleCount, 1, false); |
- SimpleInstallFunction(console, "assert", Builtins::kConsoleAssert, 1, |
- false); |
- SimpleInstallFunction(console, "markTimeline", |
- Builtins::kConsoleMarkTimeline, 1, false); |
- SimpleInstallFunction(console, "profile", Builtins::kConsoleProfile, 1, |
- false); |
- SimpleInstallFunction(console, "profileEnd", Builtins::kConsoleProfileEnd, |
- 1, false); |
- SimpleInstallFunction(console, "timeline", Builtins::kConsoleTimeline, 1, |
- false); |
- SimpleInstallFunction(console, "timelineEnd", Builtins::kConsoleTimelineEnd, |
- 1, false); |
- SimpleInstallFunction(console, "time", Builtins::kConsoleTime, 1, false); |
- SimpleInstallFunction(console, "timeEnd", Builtins::kConsoleTimeEnd, 1, |
- false); |
- SimpleInstallFunction(console, "timeStamp", Builtins::kConsoleTimeStamp, 1, |
- false); |
- JSObject::AddProperty( |
- console, factory->to_string_tag_symbol(), |
- factory->NewStringFromAsciiChecked("Console"), |
- static_cast<PropertyAttributes>(DONT_ENUM | READ_ONLY)); |
- } |
- |
#ifdef V8_I18N_SUPPORT |
{ // -- I n t l |
Handle<String> name = factory->InternalizeUtf8String("Intl"); |