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

Side by Side Diff: src/objects.h

Issue 10387231: ClearNonLiveTransitions indepedent of ContentArray (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 8 years, 6 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/objects-inl.h » ('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 2433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2444 // Initialize or change the enum cache, 2444 // Initialize or change the enum cache,
2445 // using the supplied storage for the small "bridge". 2445 // using the supplied storage for the small "bridge".
2446 void SetEnumCache(FixedArray* bridge_storage, 2446 void SetEnumCache(FixedArray* bridge_storage,
2447 FixedArray* new_cache, 2447 FixedArray* new_cache,
2448 Object* new_index_cache); 2448 Object* new_index_cache);
2449 2449
2450 // Accessors for fetching instance descriptor at descriptor number. 2450 // Accessors for fetching instance descriptor at descriptor number.
2451 inline String* GetKey(int descriptor_number); 2451 inline String* GetKey(int descriptor_number);
2452 inline Object* GetValue(int descriptor_number); 2452 inline Object* GetValue(int descriptor_number);
2453 inline Object** GetValueSlot(int descriptor_number); 2453 inline Object** GetValueSlot(int descriptor_number);
2454 inline void SetNullValueUnchecked(int descriptor_number, Heap* heap);
2454 inline PropertyDetails GetDetails(int descriptor_number); 2455 inline PropertyDetails GetDetails(int descriptor_number);
2456 inline void SetDetailsUnchecked(int descriptor_number, Smi* value);
2455 inline PropertyType GetType(int descriptor_number); 2457 inline PropertyType GetType(int descriptor_number);
2456 inline int GetFieldIndex(int descriptor_number); 2458 inline int GetFieldIndex(int descriptor_number);
2457 inline JSFunction* GetConstantFunction(int descriptor_number); 2459 inline JSFunction* GetConstantFunction(int descriptor_number);
2458 inline Object* GetCallbacksObject(int descriptor_number); 2460 inline Object* GetCallbacksObject(int descriptor_number);
2459 inline AccessorDescriptor* GetCallbacks(int descriptor_number); 2461 inline AccessorDescriptor* GetCallbacks(int descriptor_number);
2460 inline bool IsProperty(int descriptor_number); 2462 inline bool IsProperty(int descriptor_number);
2461 inline bool IsTransitionOnly(int descriptor_number); 2463 inline bool IsTransitionOnly(int descriptor_number);
2462 inline bool IsNullDescriptor(int descriptor_number); 2464 inline bool IsNullDescriptor(int descriptor_number);
2463 2465
2464 // WhitenessWitness is used to prove that a specific descriptor array is white 2466 // WhitenessWitness is used to prove that a specific descriptor array is white
(...skipping 6196 matching lines...) Expand 10 before | Expand all | Expand 10 after
8661 } else { 8663 } else {
8662 value &= ~(1 << bit_position); 8664 value &= ~(1 << bit_position);
8663 } 8665 }
8664 return value; 8666 return value;
8665 } 8667 }
8666 }; 8668 };
8667 8669
8668 } } // namespace v8::internal 8670 } } // namespace v8::internal
8669 8671
8670 #endif // V8_OBJECTS_H_ 8672 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | src/objects-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698