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

Side by Side Diff: src/external-reference-table.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/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/heap/mark-compact.cc » ('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/external-reference-table.h" 5 #include "src/external-reference-table.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/counters.h" 9 #include "src/counters.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 Add(ExternalReference::old_space_allocation_top_address(isolate).address(), 84 Add(ExternalReference::old_space_allocation_top_address(isolate).address(),
85 "Heap::OldSpaceAllocationTopAddress"); 85 "Heap::OldSpaceAllocationTopAddress");
86 Add(ExternalReference::old_space_allocation_limit_address(isolate).address(), 86 Add(ExternalReference::old_space_allocation_limit_address(isolate).address(),
87 "Heap::OldSpaceAllocationLimitAddress"); 87 "Heap::OldSpaceAllocationLimitAddress");
88 Add(ExternalReference::allocation_sites_list_address(isolate).address(), 88 Add(ExternalReference::allocation_sites_list_address(isolate).address(),
89 "Heap::allocation_sites_list_address()"); 89 "Heap::allocation_sites_list_address()");
90 Add(ExternalReference::address_of_uint32_bias().address(), "uint32_bias"); 90 Add(ExternalReference::address_of_uint32_bias().address(), "uint32_bias");
91 Add(ExternalReference::get_mark_code_as_executed_function(isolate).address(), 91 Add(ExternalReference::get_mark_code_as_executed_function(isolate).address(),
92 "Code::MarkCodeAsExecuted"); 92 "Code::MarkCodeAsExecuted");
93 Add(ExternalReference::is_profiling_address(isolate).address(), 93 Add(ExternalReference::is_profiling_address(isolate).address(),
94 "CpuProfiler::is_profiling"); 94 "Isolate::is_profiling");
95 Add(ExternalReference::scheduled_exception_address(isolate).address(), 95 Add(ExternalReference::scheduled_exception_address(isolate).address(),
96 "Isolate::scheduled_exception"); 96 "Isolate::scheduled_exception");
97 Add(ExternalReference::invoke_function_callback(isolate).address(), 97 Add(ExternalReference::invoke_function_callback(isolate).address(),
98 "InvokeFunctionCallback"); 98 "InvokeFunctionCallback");
99 Add(ExternalReference::invoke_accessor_getter_callback(isolate).address(), 99 Add(ExternalReference::invoke_accessor_getter_callback(isolate).address(),
100 "InvokeAccessorGetterCallback"); 100 "InvokeAccessorGetterCallback");
101 Add(ExternalReference::wasm_f32_trunc(isolate).address(), 101 Add(ExternalReference::wasm_f32_trunc(isolate).address(),
102 "wasm::f32_trunc_wrapper"); 102 "wasm::f32_trunc_wrapper");
103 Add(ExternalReference::wasm_f32_floor(isolate).address(), 103 Add(ExternalReference::wasm_f32_floor(isolate).address(),
104 "wasm::f32_floor_wrapper"); 104 "wasm::f32_floor_wrapper");
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) { 363 for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) {
364 Address address = Deoptimizer::GetDeoptimizationEntry( 364 Address address = Deoptimizer::GetDeoptimizationEntry(
365 isolate, entry, Deoptimizer::LAZY, 365 isolate, entry, Deoptimizer::LAZY,
366 Deoptimizer::CALCULATE_ENTRY_ADDRESS); 366 Deoptimizer::CALCULATE_ENTRY_ADDRESS);
367 Add(address, "lazy_deopt"); 367 Add(address, "lazy_deopt");
368 } 368 }
369 } 369 }
370 370
371 } // namespace internal 371 } // namespace internal
372 } // namespace v8 372 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698