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

Unified Diff: runtime/vm/intrinsifier_mips.cc

Issue 259393002: Enums cleanup. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/intrinsifier_ia32.cc ('k') | runtime/vm/intrinsifier_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_mips.cc
===================================================================
--- runtime/vm/intrinsifier_mips.cc (revision 35558)
+++ runtime/vm/intrinsifier_mips.cc (working copy)
@@ -79,7 +79,7 @@
// T2: allocation size.
{
Label overflow, done;
- const intptr_t shift = RawObject::kSizeTagBit - kObjectAlignmentLog2;
+ const intptr_t shift = RawObject::kSizeTagPos - kObjectAlignmentLog2;
const Class& cls = Class::Handle(isolate->object_store()->array_class());
__ BranchUnsignedGreater(T2, RawObject::SizeTag::kMaxSizeTag, &overflow);
@@ -506,7 +506,7 @@
&size_tag_overflow); \
__ b(&done); \
__ delay_slot()->sll(T2, T2, \
- RawObject::kSizeTagBit - kObjectAlignmentLog2); \
+ RawObject::kSizeTagPos - kObjectAlignmentLog2); \
\
__ Bind(&size_tag_overflow); \
__ mov(T2, ZR); \
@@ -1604,7 +1604,7 @@
// T2: allocation size.
{
Label overflow, done;
- const intptr_t shift = RawObject::kSizeTagBit - kObjectAlignmentLog2;
+ const intptr_t shift = RawObject::kSizeTagPos - kObjectAlignmentLog2;
const Class& cls =
Class::Handle(isolate->object_store()->one_byte_string_class());
« no previous file with comments | « runtime/vm/intrinsifier_ia32.cc ('k') | runtime/vm/intrinsifier_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698