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

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

Issue 269253007: - Fix the external_test.dart as it was relying on outdated (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intrinsifier.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/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bigint_operations.h" 7 #include "vm/bigint_operations.h"
8 #include "vm/bit_vector.h" 8 #include "vm/bit_vector.h"
9 #include "vm/cpu.h" 9 #include "vm/cpu.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 void MethodRecognizer::InitializeState() { 544 void MethodRecognizer::InitializeState() {
545 GrowableArray<Library*> libs(3); 545 GrowableArray<Library*> libs(3);
546 libs.Add(&Library::ZoneHandle(Library::CoreLibrary())); 546 libs.Add(&Library::ZoneHandle(Library::CoreLibrary()));
547 libs.Add(&Library::ZoneHandle(Library::MathLibrary())); 547 libs.Add(&Library::ZoneHandle(Library::MathLibrary()));
548 libs.Add(&Library::ZoneHandle(Library::TypedDataLibrary())); 548 libs.Add(&Library::ZoneHandle(Library::TypedDataLibrary()));
549 Function& func = Function::Handle(); 549 Function& func = Function::Handle();
550 550
551 #define SET_IS_RECOGNIZED(class_name, function_name, dest, fp) \ 551 #define SET_IS_RECOGNIZED(class_name, function_name, dest, fp) \
552 func = Library::GetFunction(libs, #class_name, #function_name); \ 552 func = Library::GetFunction(libs, #class_name, #function_name); \
553 ASSERT(!func.IsNull()); \ 553 ASSERT(!func.IsNull()); \
554 ASSERT(func.CheckSourceFingerprint(fp)); \
554 func.set_is_recognized(true); \ 555 func.set_is_recognized(true); \
555 556
556 RECOGNIZED_LIST(SET_IS_RECOGNIZED); 557 RECOGNIZED_LIST(SET_IS_RECOGNIZED);
557 558
558 #undef SET_IS_RECOGNIZED 559 #undef SET_IS_RECOGNIZED
559 } 560 }
560 561
561 // ==== Support for visiting flow graphs. 562 // ==== Support for visiting flow graphs.
562 563
563 #define DEFINE_ACCEPT(ShortName) \ 564 #define DEFINE_ACCEPT(ShortName) \
(...skipping 2996 matching lines...) Expand 10 before | Expand all | Expand 10 after
3560 case Token::kTRUNCDIV: return 0; 3561 case Token::kTRUNCDIV: return 0;
3561 case Token::kMOD: return 1; 3562 case Token::kMOD: return 1;
3562 default: UNIMPLEMENTED(); return -1; 3563 default: UNIMPLEMENTED(); return -1;
3563 } 3564 }
3564 } 3565 }
3565 3566
3566 3567
3567 #undef __ 3568 #undef __
3568 3569
3569 } // namespace dart 3570 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intrinsifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698