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

Unified Diff: runtime/vm/intrinsifier_arm.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/intermediate_language_ia32.cc ('k') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_arm.cc
===================================================================
--- runtime/vm/intrinsifier_arm.cc (revision 35558)
+++ runtime/vm/intrinsifier_arm.cc (working copy)
@@ -79,7 +79,7 @@
// R1: new object end address.
// R2: allocation size.
{
- const intptr_t shift = RawObject::kSizeTagBit - kObjectAlignmentLog2;
+ const intptr_t shift = RawObject::kSizeTagPos - kObjectAlignmentLog2;
const Class& cls = Class::Handle(isolate->object_store()->array_class());
__ CompareImmediate(R2, RawObject::SizeTag::kMaxSizeTag);
@@ -499,7 +499,7 @@
{ \
__ CompareImmediate(R2, RawObject::SizeTag::kMaxSizeTag); \
__ mov(R2, ShifterOperand(R2, LSL, \
- RawObject::kSizeTagBit - kObjectAlignmentLog2), LS); \
+ RawObject::kSizeTagPos - kObjectAlignmentLog2), LS); \
__ mov(R2, ShifterOperand(0), HI); \
\
/* Get the class index and insert it into the tags. */ \
@@ -1531,7 +1531,7 @@
// R1: new object end address.
// R2: allocation size.
{
- 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/intermediate_language_ia32.cc ('k') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698