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

Unified Diff: vm/intrinsifier_ia32.cc

Issue 9965042: - Add a class index to the classes. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: vm/intrinsifier_ia32.cc
===================================================================
--- vm/intrinsifier_ia32.cc (revision 5947)
+++ vm/intrinsifier_ia32.cc (working copy)
@@ -22,7 +22,7 @@
namespace dart {
-DEFINE_FLAG(bool, intrinsify, true, "Instrinsify when possible");
+DEFINE_FLAG(bool, intrinsify, false, "Instrinsify when possible");
DECLARE_FLAG(bool, enable_type_checks);
// List of intrinsics: (class-name, function-name, intrinsification method).
@@ -137,12 +137,14 @@
__ cmpl(EDI, Immediate(RawObject::SizeTag::kMaxSizeTag));
__ j(ABOVE, &size_tag_overflow, Assembler::kNearJump);
__ shll(EDI, Immediate(RawObject::kSizeTagBit - kObjectAlignmentLog2));
- __ movl(FieldAddress(EAX, Array::tags_offset()), EDI); // Tags.
__ jmp(&done);
__ Bind(&size_tag_overflow);
- __ movl(FieldAddress(EAX, Array::tags_offset()), Immediate(0));
+ __ movl(EDI, Immediate(0));
__ Bind(&done);
+
+ __ Unimplemented("intrinsifier_ia32.cc: 144");
+ __ movl(FieldAddress(EAX, Array::tags_offset()), EDI); // Tags.
}
// Store class value for array.

Powered by Google App Engine
This is Rietveld 408576698