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

Side by Side Diff: src/ic/ic-compiler.cc

Issue 2040683002: Remove dependencies of V8 on cpu-profiler is_profiling. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use macro for declaring is_profiling Created 4 years, 6 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/heap/scavenger.cc ('k') | src/isolate.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/ic/ic-compiler.h" 5 #include "src/ic/ic-compiler.h"
6 6
7 #include "src/ic/handler-compiler.h" 7 #include "src/ic/handler-compiler.h"
8 #include "src/ic/ic-inl.h" 8 #include "src/ic/ic-inl.h"
9 #include "src/profiler/cpu-profiler.h"
10
11 9
12 namespace v8 { 10 namespace v8 {
13 namespace internal { 11 namespace internal {
14 12
15 13
16 Handle<Code> PropertyICCompiler::ComputeKeyedLoadMonomorphicHandler( 14 Handle<Code> PropertyICCompiler::ComputeKeyedLoadMonomorphicHandler(
17 Handle<Map> receiver_map, ExtraICState extra_ic_state) { 15 Handle<Map> receiver_map, ExtraICState extra_ic_state) {
18 Isolate* isolate = receiver_map->GetIsolate(); 16 Isolate* isolate = receiver_map->GetIsolate();
19 bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE; 17 bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE;
20 ElementsKind elements_kind = receiver_map->elements_kind(); 18 ElementsKind elements_kind = receiver_map->elements_kind();
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 TRACE_HANDLER_STATS(isolate(), KeyedStoreIC_StoreElementStub); 143 TRACE_HANDLER_STATS(isolate(), KeyedStoreIC_StoreElementStub);
146 stub = StoreElementStub(isolate(), elements_kind, store_mode).GetCode(); 144 stub = StoreElementStub(isolate(), elements_kind, store_mode).GetCode();
147 } 145 }
148 return stub; 146 return stub;
149 } 147 }
150 148
151 149
152 #undef __ 150 #undef __
153 } // namespace internal 151 } // namespace internal
154 } // namespace v8 152 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/scavenger.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698