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

Side by Side Diff: src/extensions/ignition-statistics-extension.cc

Issue 2135273002: [interpreter] Reduce dependencies in bytecodes.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix static const Register definitions for bot in roll for Windows. Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « src/compiler/bytecode-graph-builder.h ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/extensions/ignition-statistics-extension.h" 5 #include "src/extensions/ignition-statistics-extension.h"
6 6
7 #include "src/base/logging.h"
7 #include "src/interpreter/bytecodes.h" 8 #include "src/interpreter/bytecodes.h"
8 #include "src/interpreter/interpreter.h" 9 #include "src/interpreter/interpreter.h"
9 #include "src/isolate.h" 10 #include "src/isolate.h"
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 14
14 v8::Local<v8::FunctionTemplate> 15 v8::Local<v8::FunctionTemplate>
15 IgnitionStatisticsExtension::GetNativeFunctionTemplate( 16 IgnitionStatisticsExtension::GetNativeFunctionTemplate(
16 v8::Isolate* isolate, v8::Local<v8::String> name) { 17 v8::Isolate* isolate, v8::Local<v8::String> name) {
(...skipping 10 matching lines...) Expand all
27 const v8::FunctionCallbackInfo<v8::Value>& args) { 28 const v8::FunctionCallbackInfo<v8::Value>& args) {
28 DCHECK_EQ(args.Length(), 0); 29 DCHECK_EQ(args.Length(), 0);
29 DCHECK(FLAG_trace_ignition_dispatches); 30 DCHECK(FLAG_trace_ignition_dispatches);
30 args.GetReturnValue().Set(reinterpret_cast<Isolate*>(args.GetIsolate()) 31 args.GetReturnValue().Set(reinterpret_cast<Isolate*>(args.GetIsolate())
31 ->interpreter() 32 ->interpreter()
32 ->GetDispatchCountersObject()); 33 ->GetDispatchCountersObject());
33 } 34 }
34 35
35 } // namespace internal 36 } // namespace internal
36 } // namespace v8 37 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.h ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698