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

Side by Side Diff: src/objects.h

Issue 14847008: Update deprecated maps before generating optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Calculate slack based on the correct descriptor array Created 7 years, 7 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') | src/stub-cache.cc » ('J')
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 5326 matching lines...) Expand 10 before | Expand all | Expand 10 after
5337 } 5337 }
5338 5338
5339 inline bool CanTrackAllocationSite(); 5339 inline bool CanTrackAllocationSite();
5340 inline bool owns_descriptors(); 5340 inline bool owns_descriptors();
5341 inline void set_owns_descriptors(bool is_shared); 5341 inline void set_owns_descriptors(bool is_shared);
5342 inline bool is_observed(); 5342 inline bool is_observed();
5343 inline void set_is_observed(bool is_observed); 5343 inline void set_is_observed(bool is_observed);
5344 inline void deprecate(); 5344 inline void deprecate();
5345 inline bool is_deprecated(); 5345 inline bool is_deprecated();
5346 inline bool CanBeDeprecated(); 5346 inline bool CanBeDeprecated();
5347 static inline Handle<Map> Update(Handle<Map> map);
danno 2013/05/02 14:29:30 Not sure I like the name. "Update" what?
Toon Verwaest 2013/05/02 15:22:40 Done.
5347 5348
5348 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); 5349 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size);
5349 MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors(); 5350 MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors();
5350 MUST_USE_RESULT MaybeObject* CopyDropDescriptors(); 5351 MUST_USE_RESULT MaybeObject* CopyDropDescriptors();
5351 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors( 5352 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors(
5352 DescriptorArray* descriptors, 5353 DescriptorArray* descriptors,
5353 Name* name, 5354 Name* name,
5354 TransitionFlag flag, 5355 TransitionFlag flag,
5355 int descriptor_index); 5356 int descriptor_index);
5356 MUST_USE_RESULT MaybeObject* CopyInstallDescriptors( 5357 MUST_USE_RESULT MaybeObject* CopyInstallDescriptors(
(...skipping 4168 matching lines...) Expand 10 before | Expand all | Expand 10 after
9525 } else { 9526 } else {
9526 value &= ~(1 << bit_position); 9527 value &= ~(1 << bit_position);
9527 } 9528 }
9528 return value; 9529 return value;
9529 } 9530 }
9530 }; 9531 };
9531 9532
9532 } } // namespace v8::internal 9533 } } // namespace v8::internal
9533 9534
9534 #endif // V8_OBJECTS_H_ 9535 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | src/stub-cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698