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

Side by Side Diff: src/objects.h

Issue 34603008: Handlify Map::CopyInstallDescriptors (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: cr changes Created 7 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 | « 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 5965 matching lines...) Expand 10 before | Expand all | Expand 10 after
5976 Handle<Name> name); 5976 Handle<Name> name);
5977 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors( 5977 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors(
5978 DescriptorArray* descriptors, 5978 DescriptorArray* descriptors,
5979 TransitionFlag flag, 5979 TransitionFlag flag,
5980 Name* name = NULL, 5980 Name* name = NULL,
5981 SimpleTransitionFlag simple_flag = FULL_TRANSITION); 5981 SimpleTransitionFlag simple_flag = FULL_TRANSITION);
5982 static Handle<Map> CopyInstallDescriptors( 5982 static Handle<Map> CopyInstallDescriptors(
5983 Handle<Map> map, 5983 Handle<Map> map,
5984 int new_descriptor, 5984 int new_descriptor,
5985 Handle<DescriptorArray> descriptors); 5985 Handle<DescriptorArray> descriptors);
5986 MUST_USE_RESULT MaybeObject* CopyInstallDescriptors(
5987 int new_descriptor,
5988 DescriptorArray* descriptors);
5989 MUST_USE_RESULT MaybeObject* ShareDescriptor(DescriptorArray* descriptors, 5986 MUST_USE_RESULT MaybeObject* ShareDescriptor(DescriptorArray* descriptors,
5990 Descriptor* descriptor); 5987 Descriptor* descriptor);
5991 MUST_USE_RESULT MaybeObject* CopyAddDescriptor(Descriptor* descriptor, 5988 MUST_USE_RESULT MaybeObject* CopyAddDescriptor(Descriptor* descriptor,
5992 TransitionFlag flag); 5989 TransitionFlag flag);
5993 MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor, 5990 MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor,
5994 TransitionFlag flag); 5991 TransitionFlag flag);
5995 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptor( 5992 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptor(
5996 DescriptorArray* descriptors, 5993 DescriptorArray* descriptors,
5997 Descriptor* descriptor, 5994 Descriptor* descriptor,
5998 int index, 5995 int index,
(...skipping 4431 matching lines...) Expand 10 before | Expand all | Expand 10 after
10430 } else { 10427 } else {
10431 value &= ~(1 << bit_position); 10428 value &= ~(1 << bit_position);
10432 } 10429 }
10433 return value; 10430 return value;
10434 } 10431 }
10435 }; 10432 };
10436 10433
10437 } } // namespace v8::internal 10434 } } // namespace v8::internal
10438 10435
10439 #endif // V8_OBJECTS_H_ 10436 #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