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

Side by Side Diff: src/objects.h

Issue 526223002: Use Chrome compatible naming for compiler specifics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips Created 6 years, 3 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 | « src/mips64/lithium-mips64.h ('k') | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 6324 matching lines...) Expand 10 before | Expand all | Expand 10 after
6335 inline void set_construction_count(int value); 6335 inline void set_construction_count(int value);
6336 inline int construction_count(); 6336 inline int construction_count();
6337 inline void deprecate(); 6337 inline void deprecate();
6338 inline bool is_deprecated(); 6338 inline bool is_deprecated();
6339 inline bool CanBeDeprecated(); 6339 inline bool CanBeDeprecated();
6340 // Returns a non-deprecated version of the input. If the input was not 6340 // Returns a non-deprecated version of the input. If the input was not
6341 // deprecated, it is directly returned. Otherwise, the non-deprecated version 6341 // deprecated, it is directly returned. Otherwise, the non-deprecated version
6342 // is found by re-transitioning from the root of the transition tree using the 6342 // is found by re-transitioning from the root of the transition tree using the
6343 // descriptor array of the map. Returns NULL if no updated map is found. 6343 // descriptor array of the map. Returns NULL if no updated map is found.
6344 // This method also applies any pending migrations along the prototype chain. 6344 // This method also applies any pending migrations along the prototype chain.
6345 static MaybeHandle<Map> TryUpdate(Handle<Map> map) V8_WARN_UNUSED_RESULT; 6345 static MaybeHandle<Map> TryUpdate(Handle<Map> map) WARN_UNUSED_RESULT;
6346 // Same as above, but does not touch the prototype chain. 6346 // Same as above, but does not touch the prototype chain.
6347 static MaybeHandle<Map> TryUpdateInternal(Handle<Map> map) 6347 static MaybeHandle<Map> TryUpdateInternal(Handle<Map> map)
6348 V8_WARN_UNUSED_RESULT; 6348 WARN_UNUSED_RESULT;
6349 6349
6350 // Returns a non-deprecated version of the input. This method may deprecate 6350 // Returns a non-deprecated version of the input. This method may deprecate
6351 // existing maps along the way if encodings conflict. Not for use while 6351 // existing maps along the way if encodings conflict. Not for use while
6352 // gathering type feedback. Use TryUpdate in those cases instead. 6352 // gathering type feedback. Use TryUpdate in those cases instead.
6353 static Handle<Map> Update(Handle<Map> map); 6353 static Handle<Map> Update(Handle<Map> map);
6354 6354
6355 static Handle<Map> CopyDropDescriptors(Handle<Map> map); 6355 static Handle<Map> CopyDropDescriptors(Handle<Map> map);
6356 static Handle<Map> CopyInsertDescriptor(Handle<Map> map, 6356 static Handle<Map> CopyInsertDescriptor(Handle<Map> map,
6357 Descriptor* descriptor, 6357 Descriptor* descriptor,
6358 TransitionFlag flag); 6358 TransitionFlag flag);
(...skipping 4794 matching lines...) Expand 10 before | Expand all | Expand 10 after
11153 } else { 11153 } else {
11154 value &= ~(1 << bit_position); 11154 value &= ~(1 << bit_position);
11155 } 11155 }
11156 return value; 11156 return value;
11157 } 11157 }
11158 }; 11158 };
11159 11159
11160 } } // namespace v8::internal 11160 } } // namespace v8::internal
11161 11161
11162 #endif // V8_OBJECTS_H_ 11162 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips64/lithium-mips64.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698