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

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

Issue 1271003003: Fix 32-bit build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | 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/compiler.h" 7 #include "vm/compiler.h"
8 #include "vm/isolate.h" 8 #include "vm/isolate.h"
9 #include "vm/longjump.h" 9 #include "vm/longjump.h"
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 491
492 492
493 void Precompiler::AddClass(const Class& cls) { 493 void Precompiler::AddClass(const Class& cls) {
494 if (cls.is_allocated()) return; 494 if (cls.is_allocated()) return;
495 495
496 class_count_++; 496 class_count_++;
497 cls.set_is_allocated(); 497 cls.set_is_allocated();
498 changed_ = true; 498 changed_ = true;
499 499
500 if (FLAG_trace_precompiler) { 500 if (FLAG_trace_precompiler) {
501 OS::Print("Allocation %ld %s\n", class_count_, cls.ToCString()); 501 OS::Print("Allocation %" Pd " %s\n", class_count_, cls.ToCString());
502 } 502 }
503 503
504 const Class& superclass = Class::Handle(cls.SuperClass()); 504 const Class& superclass = Class::Handle(cls.SuperClass());
505 if (!superclass.IsNull()) { 505 if (!superclass.IsNull()) {
506 AddClass(superclass); 506 AddClass(superclass);
507 } 507 }
508 } 508 }
509 509
510 510
511 void Precompiler::CheckForNewDynamicFunctions() { 511 void Precompiler::CheckForNewDynamicFunctions() {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 function = function.ImplicitClosureFunction(); 585 function = function.ImplicitClosureFunction();
586 AddFunction(function); 586 AddFunction(function);
587 } 587 }
588 } 588 }
589 } 589 }
590 } 590 }
591 } 591 }
592 } 592 }
593 593
594 } // namespace dart 594 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698