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

Side by Side Diff: src/external-reference-table.cc

Issue 1817033002: [Interpreter] Add dispatch counters for each bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix-abort
Patch Set: Minor code cleanups. Created 4 years, 8 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/d8.cc ('k') | src/flag-definitions.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/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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 "Deoptimizer::New()"); 52 "Deoptimizer::New()");
53 Add(ExternalReference::compute_output_frames_function(isolate).address(), 53 Add(ExternalReference::compute_output_frames_function(isolate).address(),
54 "Deoptimizer::ComputeOutputFrames()"); 54 "Deoptimizer::ComputeOutputFrames()");
55 Add(ExternalReference::address_of_min_int().address(), 55 Add(ExternalReference::address_of_min_int().address(),
56 "LDoubleConstant::min_int"); 56 "LDoubleConstant::min_int");
57 Add(ExternalReference::address_of_one_half().address(), 57 Add(ExternalReference::address_of_one_half().address(),
58 "LDoubleConstant::one_half"); 58 "LDoubleConstant::one_half");
59 Add(ExternalReference::isolate_address(isolate).address(), "isolate"); 59 Add(ExternalReference::isolate_address(isolate).address(), "isolate");
60 Add(ExternalReference::interpreter_dispatch_table_address(isolate).address(), 60 Add(ExternalReference::interpreter_dispatch_table_address(isolate).address(),
61 "Interpreter::dispatch_table_address"); 61 "Interpreter::dispatch_table_address");
62 Add(ExternalReference::interpreter_dispatch_counters(isolate).address(),
63 "Interpreter::interpreter_dispatch_counters");
62 Add(ExternalReference::address_of_negative_infinity().address(), 64 Add(ExternalReference::address_of_negative_infinity().address(),
63 "LDoubleConstant::negative_infinity"); 65 "LDoubleConstant::negative_infinity");
64 Add(ExternalReference::power_double_double_function(isolate).address(), 66 Add(ExternalReference::power_double_double_function(isolate).address(),
65 "power_double_double_function"); 67 "power_double_double_function");
66 Add(ExternalReference::power_double_int_function(isolate).address(), 68 Add(ExternalReference::power_double_int_function(isolate).address(),
67 "power_double_int_function"); 69 "power_double_int_function");
68 Add(ExternalReference::math_log_double_function(isolate).address(), 70 Add(ExternalReference::math_log_double_function(isolate).address(),
69 "std::log"); 71 "std::log");
70 Add(ExternalReference::store_buffer_top(isolate).address(), 72 Add(ExternalReference::store_buffer_top(isolate).address(),
71 "store_buffer_top"); 73 "store_buffer_top");
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) { 347 for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) {
346 Address address = Deoptimizer::GetDeoptimizationEntry( 348 Address address = Deoptimizer::GetDeoptimizationEntry(
347 isolate, entry, Deoptimizer::LAZY, 349 isolate, entry, Deoptimizer::LAZY,
348 Deoptimizer::CALCULATE_ENTRY_ADDRESS); 350 Deoptimizer::CALCULATE_ENTRY_ADDRESS);
349 Add(address, "lazy_deopt"); 351 Add(address, "lazy_deopt");
350 } 352 }
351 } 353 }
352 354
353 } // namespace internal 355 } // namespace internal
354 } // namespace v8 356 } // namespace v8
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698