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

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

Issue 2983973002: Revert "Improve hashCode for closure objects" (Closed)
Patch Set: Created 3 years, 5 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 | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.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 (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 #include "vm/precompiler.h" 5 #include "vm/precompiler.h"
6 6
7 #include "vm/aot_optimizer.h" 7 #include "vm/aot_optimizer.h"
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/ast_printer.h" 9 #include "vm/ast_printer.h"
10 #include "vm/branch_optimizer.h" 10 #include "vm/branch_optimizer.h"
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 (cid == kFreeListElement) || (cid == kForwardingCorpse)) { 629 (cid == kFreeListElement) || (cid == kForwardingCorpse)) {
630 continue; 630 continue;
631 } 631 }
632 cls = isolate()->class_table()->At(cid); 632 cls = isolate()->class_table()->At(cid);
633 AddInstantiatedClass(cls); 633 AddInstantiatedClass(cls);
634 } 634 }
635 635
636 Dart_QualifiedFunctionName vm_entry_points[] = { 636 Dart_QualifiedFunctionName vm_entry_points[] = {
637 // Functions 637 // Functions
638 {"dart:core", "::", "_completeDeferredLoads"}, 638 {"dart:core", "::", "_completeDeferredLoads"},
639 {"dart:core", "::", "identityHashCode"},
640 {"dart:core", "AbstractClassInstantiationError", 639 {"dart:core", "AbstractClassInstantiationError",
641 "AbstractClassInstantiationError._create"}, 640 "AbstractClassInstantiationError._create"},
642 {"dart:core", "ArgumentError", "ArgumentError."}, 641 {"dart:core", "ArgumentError", "ArgumentError."},
643 {"dart:core", "ArgumentError", "ArgumentError.value"}, 642 {"dart:core", "ArgumentError", "ArgumentError.value"},
644 {"dart:core", "CyclicInitializationError", "CyclicInitializationError."}, 643 {"dart:core", "CyclicInitializationError", "CyclicInitializationError."},
645 {"dart:core", "FallThroughError", "FallThroughError._create"}, 644 {"dart:core", "FallThroughError", "FallThroughError._create"},
646 {"dart:core", "FormatException", "FormatException."}, 645 {"dart:core", "FormatException", "FormatException."},
647 {"dart:core", "NoSuchMethodError", "NoSuchMethodError._withType"}, 646 {"dart:core", "NoSuchMethodError", "NoSuchMethodError._withType"},
648 {"dart:core", "NullThrownError", "NullThrownError."}, 647 {"dart:core", "NullThrownError", "NullThrownError."},
649 {"dart:core", "OutOfMemoryError", "OutOfMemoryError."}, 648 {"dart:core", "OutOfMemoryError", "OutOfMemoryError."},
(...skipping 2676 matching lines...) Expand 10 before | Expand all | Expand 10 after
3326 3325
3327 ASSERT(FLAG_precompiled_mode); 3326 ASSERT(FLAG_precompiled_mode);
3328 const bool optimized = function.IsOptimizable(); // False for natives. 3327 const bool optimized = function.IsOptimizable(); // False for natives.
3329 DartPrecompilationPipeline pipeline(zone, field_type_map); 3328 DartPrecompilationPipeline pipeline(zone, field_type_map);
3330 return PrecompileFunctionHelper(precompiler, &pipeline, function, optimized); 3329 return PrecompileFunctionHelper(precompiler, &pipeline, function, optimized);
3331 } 3330 }
3332 3331
3333 #endif // DART_PRECOMPILER 3332 #endif // DART_PRECOMPILER
3334 3333
3335 } // namespace dart 3334 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698