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

Side by Side Diff: runtime/vm/intermediate_language.h

Issue 1410363005: Make ICData changes thread safe (first compute array, then set it). Install code in the main thread… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comments Created 5 years, 1 month 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 | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 1322
1323 void AddIndirectEntry(IndirectEntryInstr* entry) { 1323 void AddIndirectEntry(IndirectEntryInstr* entry) {
1324 indirect_entries_.Add(entry); 1324 indirect_entries_.Add(entry);
1325 } 1325 }
1326 1326
1327 GrowableArray<Definition*>* initial_definitions() { 1327 GrowableArray<Definition*>* initial_definitions() {
1328 return &initial_definitions_; 1328 return &initial_definitions_;
1329 } 1329 }
1330 ConstantInstr* constant_null(); 1330 ConstantInstr* constant_null();
1331 1331
1332 bool IsCompiledForOsr() const { return osr_id_ != Thread::kNoDeoptId; } 1332 bool IsCompiledForOsr() const;
1333 1333
1334 intptr_t entry_count() const { return entry_count_; } 1334 intptr_t entry_count() const { return entry_count_; }
1335 void set_entry_count(intptr_t count) { entry_count_ = count; } 1335 void set_entry_count(intptr_t count) { entry_count_ = count; }
1336 1336
1337 intptr_t spill_slot_count() const { return spill_slot_count_; } 1337 intptr_t spill_slot_count() const { return spill_slot_count_; }
1338 void set_spill_slot_count(intptr_t count) { 1338 void set_spill_slot_count(intptr_t count) {
1339 ASSERT(count >= 0); 1339 ASSERT(count >= 0);
1340 spill_slot_count_ = count; 1340 spill_slot_count_ = count;
1341 } 1341 }
1342 1342
(...skipping 6768 matching lines...) Expand 10 before | Expand all | Expand 10 after
8111 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ 8111 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \
8112 UNIMPLEMENTED(); \ 8112 UNIMPLEMENTED(); \
8113 return NULL; \ 8113 return NULL; \
8114 } \ 8114 } \
8115 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 8115 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
8116 8116
8117 8117
8118 } // namespace dart 8118 } // namespace dart
8119 8119
8120 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8120 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698