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

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

Issue 2772143002: Reland "VM: Handle null-comparisons in the flow graph type propagation" (Closed)
Patch Set: address comments Created 3 years, 8 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_store.h ('k') | runtime/vm/symbols.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) 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 #include "vm/object_store.h" 5 #include "vm/object_store.h"
6 6
7 #include "vm/exceptions.h" 7 #include "vm/exceptions.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/isolate.h" 9 #include "vm/isolate.h"
10 #include "vm/object.h" 10 #include "vm/object.h"
11 #include "vm/raw_object.h" 11 #include "vm/raw_object.h"
12 #include "vm/resolver.h" 12 #include "vm/resolver.h"
13 #include "vm/symbols.h" 13 #include "vm/symbols.h"
14 #include "vm/visitor.h" 14 #include "vm/visitor.h"
15 15
16 namespace dart { 16 namespace dart {
17 17
18 ObjectStore::ObjectStore() 18 ObjectStore::ObjectStore()
19 : object_class_(Class::null()), 19 : object_class_(Class::null()),
20 object_type_(Type::null()), 20 object_type_(Type::null()),
21 null_class_(Class::null()), 21 null_class_(Class::null()),
22 null_type_(Type::null()), 22 null_type_(Type::null()),
23 function_type_(Type::null()), 23 function_type_(Type::null()),
24 closure_class_(Class::null()), 24 closure_class_(Class::null()),
25 number_type_(Type::null()), 25 number_type_(Type::null()),
26 int_type_(Type::null()), 26 int_type_(Type::null()),
27 integer_implementation_class_(Class::null()), 27 integer_implementation_class_(Class::null()),
28 int64_type_(Type::null()),
28 smi_class_(Class::null()), 29 smi_class_(Class::null()),
29 smi_type_(Type::null()), 30 smi_type_(Type::null()),
30 mint_class_(Class::null()), 31 mint_class_(Class::null()),
31 mint_type_(Type::null()), 32 mint_type_(Type::null()),
32 bigint_class_(Class::null()), 33 bigint_class_(Class::null()),
33 double_class_(Class::null()), 34 double_class_(Class::null()),
34 double_type_(Type::null()), 35 double_type_(Type::null()),
35 float32x4_type_(Type::null()), 36 float32x4_type_(Type::null()),
36 int32x4_type_(Type::null()), 37 int32x4_type_(Type::null()),
37 float64x2_type_(Type::null()), 38 float64x2_type_(Type::null()),
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 simple_instance_of_function_ = 312 simple_instance_of_function_ =
312 PrivateObjectLookup(Symbols::_simpleInstanceOf()); 313 PrivateObjectLookup(Symbols::_simpleInstanceOf());
313 simple_instance_of_true_function_ = 314 simple_instance_of_true_function_ =
314 PrivateObjectLookup(Symbols::_simpleInstanceOfTrue()); 315 PrivateObjectLookup(Symbols::_simpleInstanceOfTrue());
315 simple_instance_of_false_function_ = 316 simple_instance_of_false_function_ =
316 PrivateObjectLookup(Symbols::_simpleInstanceOfFalse()); 317 PrivateObjectLookup(Symbols::_simpleInstanceOfFalse());
317 #endif 318 #endif
318 } 319 }
319 320
320 } // namespace dart 321 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698