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

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

Issue 2646073005: Precompiler: Rehash types after reassigning class ids. (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 RUNTIME_VM_PRECOMPILER_H_ 5 #ifndef RUNTIME_VM_PRECOMPILER_H_
6 #define RUNTIME_VM_PRECOMPILER_H_ 6 #define RUNTIME_VM_PRECOMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/hash_map.h" 9 #include "vm/hash_map.h"
10 #include "vm/hash_table.h" 10 #include "vm/hash_table.h"
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 void ResetPrecompilerState(); 466 void ResetPrecompilerState();
467 467
468 void CollectDynamicFunctionNames(); 468 void CollectDynamicFunctionNames();
469 469
470 void PrecompileStaticInitializers(); 470 void PrecompileStaticInitializers();
471 void PrecompileConstructors(); 471 void PrecompileConstructors();
472 472
473 void FinalizeAllClasses(); 473 void FinalizeAllClasses();
474 void SortClasses(); 474 void SortClasses();
475 void RemapClassIds(intptr_t* old_to_new_cid); 475 void RemapClassIds(intptr_t* old_to_new_cid);
476 void RehashTypes();
476 void VerifyJITFeedback(); 477 void VerifyJITFeedback();
477 RawScript* LookupScript(const char* uri); 478 RawScript* LookupScript(const char* uri);
478 intptr_t MapCid(intptr_t feedback_cid); 479 intptr_t MapCid(intptr_t feedback_cid);
479 480
480 Thread* thread() const { return thread_; } 481 Thread* thread() const { return thread_; }
481 Zone* zone() const { return zone_; } 482 Zone* zone() const { return zone_; }
482 Isolate* isolate() const { return isolate_; } 483 Isolate* isolate() const { return isolate_; }
483 484
484 Thread* thread_; 485 Thread* thread_;
485 Zone* zone_; 486 Zone* zone_;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 } 543 }
543 static RawObject* NewKey(const Function& function) { return function.raw(); } 544 static RawObject* NewKey(const Function& function) { return function.raw(); }
544 }; 545 };
545 546
546 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; 547 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet;
547 548
548 549
549 } // namespace dart 550 } // namespace dart
550 551
551 #endif // RUNTIME_VM_PRECOMPILER_H_ 552 #endif // RUNTIME_VM_PRECOMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/precompiler.cc » ('j') | runtime/vm/precompiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698