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

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

Issue 1489203004: Precompilation: Don't drop an uncompiled function if it has a compiled implicit closure function. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | « no previous file | runtime/vm/precompiler.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 const TypeArguments& other_type_arguments, 1478 const TypeArguments& other_type_arguments,
1479 Error* bound_error, 1479 Error* bound_error,
1480 Heap::Space space); 1480 Heap::Space space);
1481 1481
1482 FINAL_HEAP_OBJECT_IMPLEMENTATION(Class, Object); 1482 FINAL_HEAP_OBJECT_IMPLEMENTATION(Class, Object);
1483 friend class AbstractType; 1483 friend class AbstractType;
1484 friend class Instance; 1484 friend class Instance;
1485 friend class Object; 1485 friend class Object;
1486 friend class Type; 1486 friend class Type;
1487 friend class Intrinsifier; 1487 friend class Intrinsifier;
1488 friend class Precompiler;
1488 }; 1489 };
1489 1490
1490 1491
1491 // Unresolved class is used for storing unresolved names which will be resolved 1492 // Unresolved class is used for storing unresolved names which will be resolved
1492 // to a class after all classes have been loaded and finalized. 1493 // to a class after all classes have been loaded and finalized.
1493 class UnresolvedClass : public Object { 1494 class UnresolvedClass : public Object {
1494 public: 1495 public:
1495 RawLibraryPrefix* library_prefix() const { 1496 RawLibraryPrefix* library_prefix() const {
1496 return raw_ptr()->library_prefix_; 1497 return raw_ptr()->library_prefix_;
1497 } 1498 }
(...skipping 6721 matching lines...) Expand 10 before | Expand all | Expand 10 after
8219 8220
8220 8221
8221 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 8222 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
8222 intptr_t index) { 8223 intptr_t index) {
8223 return array.At((index * kEntryLength) + kTargetFunctionIndex); 8224 return array.At((index * kEntryLength) + kTargetFunctionIndex);
8224 } 8225 }
8225 8226
8226 } // namespace dart 8227 } // namespace dart
8227 8228
8228 #endif // VM_OBJECT_H_ 8229 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/precompiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698