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

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

Issue 2052763003: [ic] [stubs] Remove InlineCacheState field from the code flags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing 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/disassembler.cc ('k') | src/globals.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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 }; 232 };
233 233
234 for (unsigned i = 0; i < arraysize(c_builtins); ++i) { 234 for (unsigned i = 0; i < arraysize(c_builtins); ++i) {
235 ExternalReference ref(static_cast<Builtins::CFunctionId>(c_builtins[i].id), 235 ExternalReference ref(static_cast<Builtins::CFunctionId>(c_builtins[i].id),
236 isolate); 236 isolate);
237 Add(ref.address(), c_builtins[i].name); 237 Add(ref.address(), c_builtins[i].name);
238 } 238 }
239 239
240 static const RefTableEntry builtins[] = { 240 static const RefTableEntry builtins[] = {
241 #define DEF_ENTRY_C(name, ignored) {Builtins::k##name, "Builtins::" #name}, 241 #define DEF_ENTRY_C(name, ignored) {Builtins::k##name, "Builtins::" #name},
242 #define DEF_ENTRY_A(name, i1, i2, i3) {Builtins::k##name, "Builtins::" #name}, 242 #define DEF_ENTRY_A(name, i1, i2) {Builtins::k##name, "Builtins::" #name},
243 BUILTIN_LIST_C(DEF_ENTRY_C) BUILTIN_LIST_A(DEF_ENTRY_A) 243 BUILTIN_LIST_C(DEF_ENTRY_C) BUILTIN_LIST_A(DEF_ENTRY_A)
244 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A) 244 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A)
245 #undef DEF_ENTRY_C 245 #undef DEF_ENTRY_C
246 #undef DEF_ENTRY_A 246 #undef DEF_ENTRY_A
247 }; 247 };
248 248
249 for (unsigned i = 0; i < arraysize(builtins); ++i) { 249 for (unsigned i = 0; i < arraysize(builtins); ++i) {
250 ExternalReference ref(static_cast<Builtins::Name>(builtins[i].id), isolate); 250 ExternalReference ref(static_cast<Builtins::Name>(builtins[i].id), isolate);
251 Add(ref.address(), builtins[i].name); 251 Add(ref.address(), builtins[i].name);
252 } 252 }
(...skipping 110 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/disassembler.cc ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698