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

Side by Side Diff: src/objects.h

Issue 10778011: Remove LookupTransitionOrDescriptor altogether. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: u Created 8 years, 5 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
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 4887 matching lines...) Expand 10 before | Expand all | Expand 10 after
4898 // with the given holder if the name is found. The holder may be 4898 // with the given holder if the name is found. The holder may be
4899 // NULL when this function is used from the compiler. 4899 // NULL when this function is used from the compiler.
4900 void LookupDescriptor(JSObject* holder, 4900 void LookupDescriptor(JSObject* holder,
4901 String* name, 4901 String* name,
4902 LookupResult* result); 4902 LookupResult* result);
4903 4903
4904 void LookupTransition(JSObject* holder, 4904 void LookupTransition(JSObject* holder,
4905 String* name, 4905 String* name,
4906 LookupResult* result); 4906 LookupResult* result);
4907 4907
4908 void LookupTransitionOrDescriptor(JSObject* holder,
4909 String* name,
4910 LookupResult* result);
4911
4912 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); 4908 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size);
4913 MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors(); 4909 MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors();
4914 MUST_USE_RESULT MaybeObject* CopyDropDescriptors(); 4910 MUST_USE_RESULT MaybeObject* CopyDropDescriptors();
4915 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors( 4911 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors(
4916 DescriptorArray* descriptors); 4912 DescriptorArray* descriptors);
4917 4913
4918 MUST_USE_RESULT MaybeObject* CopyNormalized(PropertyNormalizationMode mode, 4914 MUST_USE_RESULT MaybeObject* CopyNormalized(PropertyNormalizationMode mode,
4919 NormalizedMapSharingMode sharing); 4915 NormalizedMapSharingMode sharing);
4920 4916
4921 // Returns a copy of the map, with all transitions dropped from the 4917 // Returns a copy of the map, with all transitions dropped from the
(...skipping 3959 matching lines...) Expand 10 before | Expand all | Expand 10 after
8881 } else { 8877 } else {
8882 value &= ~(1 << bit_position); 8878 value &= ~(1 << bit_position);
8883 } 8879 }
8884 return value; 8880 return value;
8885 } 8881 }
8886 }; 8882 };
8887 8883
8888 } } // namespace v8::internal 8884 } } // namespace v8::internal
8889 8885
8890 #endif // V8_OBJECTS_H_ 8886 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698