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

Side by Side Diff: src/objects.h

Issue 169363002: Handlify DescriptorArray::Merge(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address nit. Created 6 years, 10 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 | « no previous file | src/objects.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3371 matching lines...) Expand 10 before | Expand all | Expand 10 after
3382 void CopyFrom(int dst_index, 3382 void CopyFrom(int dst_index,
3383 DescriptorArray* src, 3383 DescriptorArray* src,
3384 int src_index, 3384 int src_index,
3385 const WhitenessWitness&); 3385 const WhitenessWitness&);
3386 static Handle<DescriptorArray> Merge(Handle<DescriptorArray> desc, 3386 static Handle<DescriptorArray> Merge(Handle<DescriptorArray> desc,
3387 int verbatim, 3387 int verbatim,
3388 int valid, 3388 int valid,
3389 int new_size, 3389 int new_size,
3390 int modify_index, 3390 int modify_index,
3391 StoreMode store_mode, 3391 StoreMode store_mode,
3392 Handle<DescriptorArray> other); 3392 Handle<DescriptorArray> other)
3393 MUST_USE_RESULT MaybeObject* Merge(int verbatim, 3393 V8_WARN_UNUSED_RESULT;
3394 int valid,
3395 int new_size,
3396 int modify_index,
3397 StoreMode store_mode,
3398 DescriptorArray* other);
3399 3394
3400 bool IsMoreGeneralThan(int verbatim, 3395 bool IsMoreGeneralThan(int verbatim,
3401 int valid, 3396 int valid,
3402 int new_size, 3397 int new_size,
3403 DescriptorArray* other); 3398 DescriptorArray* other);
3404 3399
3405 MUST_USE_RESULT MaybeObject* CopyUpTo(int enumeration_index) { 3400 MUST_USE_RESULT MaybeObject* CopyUpTo(int enumeration_index) {
3406 return CopyUpToAddAttributes(enumeration_index, NONE); 3401 return CopyUpToAddAttributes(enumeration_index, NONE);
3407 } 3402 }
3408 3403
(...skipping 7362 matching lines...) Expand 10 before | Expand all | Expand 10 after
10771 } else { 10766 } else {
10772 value &= ~(1 << bit_position); 10767 value &= ~(1 << bit_position);
10773 } 10768 }
10774 return value; 10769 return value;
10775 } 10770 }
10776 }; 10771 };
10777 10772
10778 } } // namespace v8::internal 10773 } } // namespace v8::internal
10779 10774
10780 #endif // V8_OBJECTS_H_ 10775 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698