summaryrefslogtreecommitdiff
path: root/deps/v8/src/builtins/builtins-console.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/builtins/builtins-console.cc')
-rw-r--r--deps/v8/src/builtins/builtins-console.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/deps/v8/src/builtins/builtins-console.cc b/deps/v8/src/builtins/builtins-console.cc
index edfb0a45c7..973f1785d1 100644
--- a/deps/v8/src/builtins/builtins-console.cc
+++ b/deps/v8/src/builtins/builtins-console.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "src/api-inl.h"
+#include "src/api/api-inl.h"
#include "src/builtins/builtins-utils-inl.h"
#include "src/builtins/builtins.h"
-#include "src/counters.h"
#include "src/debug/interface-types.h"
-#include "src/log.h"
-#include "src/objects-inl.h"
+#include "src/logging/counters.h"
+#include "src/logging/log.h"
+#include "src/objects/objects-inl.h"
namespace v8 {
namespace internal {
@@ -67,7 +67,7 @@ void LogTimerEvent(Isolate* isolate, BuiltinArguments args,
HandleScope scope(isolate);
std::unique_ptr<char[]> name;
const char* raw_name = "default";
- if (args.length() > 1 && args[1]->IsString()) {
+ if (args.length() > 1 && args[1].IsString()) {
// Try converting the first argument to a string.
name = args.at<String>(1)->ToCString();
raw_name = name.get();
@@ -119,9 +119,9 @@ void InstallContextFunction(Isolate* isolate, Handle<JSObject> target,
name_string, builtin_id, i::LanguageMode::kSloppy);
Handle<JSFunction> fun = factory->NewFunction(args);
- fun->shared()->set_native(true);
- fun->shared()->DontAdaptArguments();
- fun->shared()->set_length(1);
+ fun->shared().set_native(true);
+ fun->shared().DontAdaptArguments();
+ fun->shared().set_length(1);
JSObject::AddProperty(isolate, fun, factory->console_context_id_symbol(),
handle(Smi::FromInt(context_id), isolate), NONE);