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

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

Issue 11189141: Move ListImplementation from coreimpl to core, as a private member. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reintroduced type. Created 8 years, 1 month 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/intrinsifier_ia32.cc ('k') | runtime/vm/object.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 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/intrinsifier.h" 8 #include "vm/intrinsifier.h"
9 9
10 #include "vm/assembler.h" 10 #include "vm/assembler.h"
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 __ LoadObject(RAX, bool_true); 1402 __ LoadObject(RAX, bool_true);
1403 __ ret(); 1403 __ ret();
1404 return true; 1404 return true;
1405 } 1405 }
1406 1406
1407 1407
1408 static intptr_t GetOffsetForField(const char* class_name_p, 1408 static intptr_t GetOffsetForField(const char* class_name_p,
1409 const char* field_name_p) { 1409 const char* field_name_p) {
1410 const String& class_name = String::Handle(Symbols::New(class_name_p)); 1410 const String& class_name = String::Handle(Symbols::New(class_name_p));
1411 const String& field_name = String::Handle(Symbols::New(field_name_p)); 1411 const String& field_name = String::Handle(Symbols::New(field_name_p));
1412 const Library& coreimpl_lib = Library::Handle(Library::CoreImplLibrary()); 1412 const Library& core_lib = Library::Handle(Library::CoreLibrary());
1413 const Class& cls = 1413 const Class& cls =
1414 Class::Handle(coreimpl_lib.LookupClassAllowPrivate(class_name)); 1414 Class::Handle(core_lib.LookupClassAllowPrivate(class_name));
1415 ASSERT(!cls.IsNull()); 1415 ASSERT(!cls.IsNull());
1416 const Field& field = Field::ZoneHandle(cls.LookupInstanceField(field_name)); 1416 const Field& field = Field::ZoneHandle(cls.LookupInstanceField(field_name));
1417 ASSERT(!field.IsNull()); 1417 ASSERT(!field.IsNull());
1418 return field.Offset(); 1418 return field.Offset();
1419 } 1419 }
1420 1420
1421 1421
1422 static const char* kFixedSizeArrayIteratorClassName = "_FixedSizeArrayIterator"; 1422 static const char* kFixedSizeArrayIteratorClassName = "_FixedSizeArrayIterator";
1423 1423
1424 // Class 'FixedSizeArrayIterator': 1424 // Class 'FixedSizeArrayIterator':
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 __ LoadObject(RAX, bool_true); 1557 __ LoadObject(RAX, bool_true);
1558 __ ret(); 1558 __ ret();
1559 return true; 1559 return true;
1560 } 1560 }
1561 1561
1562 #undef __ 1562 #undef __
1563 1563
1564 } // namespace dart 1564 } // namespace dart
1565 1565
1566 #endif // defined TARGET_ARCH_X64 1566 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_ia32.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698