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

Unified Diff: src/builtins/builtins-console.cc

Issue 2790343002: Revert of [inspector] move console to builtins (Closed)
Patch Set: Created 3 years, 9 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 | « src/bootstrapper.cc ('k') | src/builtins/builtins-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-console.cc
diff --git a/src/builtins/builtins-console.cc b/src/builtins/builtins-console.cc
deleted file mode 100644
index b6af3b9e39db41cf209c5ec9625c6b50d0fc8b97..0000000000000000000000000000000000000000
--- a/src/builtins/builtins-console.cc
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2017 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "src/builtins/builtins-utils.h"
-#include "src/builtins/builtins.h"
-#include "src/debug/interface-types.h"
-#include "src/objects-inl.h"
-
-namespace v8 {
-namespace internal {
-
-// -----------------------------------------------------------------------------
-// Console
-
-#define CONSOLE_METHOD_LIST(V) \
- V(Debug) \
- V(Error) \
- V(Info) \
- V(Log) \
- V(Warn) \
- V(Dir) \
- V(DirXml) \
- V(Table) \
- V(Trace) \
- V(Group) \
- V(GroupCollapsed) \
- V(GroupEnd) \
- V(Clear) \
- V(Count) \
- V(Assert) \
- V(MarkTimeline) \
- V(Profile) \
- V(ProfileEnd) \
- V(Timeline) \
- V(TimelineEnd) \
- V(Time) \
- V(TimeEnd) \
- V(TimeStamp)
-
-#define CONSOLE_BUILTIN_IMPLEMENTATION(name) \
- BUILTIN(Console##name) { \
- HandleScope scope(isolate); \
- if (isolate->console_delegate()) { \
- debug::ConsoleCallArguments wrapper(args); \
- isolate->console_delegate()->name(wrapper); \
- } \
- return isolate->heap()->undefined_value(); \
- }
-CONSOLE_METHOD_LIST(CONSOLE_BUILTIN_IMPLEMENTATION)
-#undef CONSOLE_BUILTIN_IMPLEMENTATION
-
-#undef CONSOLE_METHOD_LIST
-
-} // namespace internal
-} // namespace v8
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698