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 50213003: Do deferred migration of maps after deoptimizing once. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
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 5694 matching lines...) Expand 10 before | Expand all | Expand 10 after
5705 STATIC_ASSERT(kDescriptorIndexBitCount + kDescriptorIndexBitCount == 20); 5705 STATIC_ASSERT(kDescriptorIndexBitCount + kDescriptorIndexBitCount == 20);
5706 class IsShared: public BitField<bool, 20, 1> {}; 5706 class IsShared: public BitField<bool, 20, 1> {};
5707 class FunctionWithPrototype: public BitField<bool, 21, 1> {}; 5707 class FunctionWithPrototype: public BitField<bool, 21, 1> {};
5708 class DictionaryMap: public BitField<bool, 22, 1> {}; 5708 class DictionaryMap: public BitField<bool, 22, 1> {};
5709 class OwnsDescriptors: public BitField<bool, 23, 1> {}; 5709 class OwnsDescriptors: public BitField<bool, 23, 1> {};
5710 class HasInstanceCallHandler: public BitField<bool, 24, 1> {}; 5710 class HasInstanceCallHandler: public BitField<bool, 24, 1> {};
5711 class Deprecated: public BitField<bool, 25, 1> {}; 5711 class Deprecated: public BitField<bool, 25, 1> {};
5712 class IsFrozen: public BitField<bool, 26, 1> {}; 5712 class IsFrozen: public BitField<bool, 26, 1> {};
5713 class IsUnstable: public BitField<bool, 27, 1> {}; 5713 class IsUnstable: public BitField<bool, 27, 1> {};
5714 class IsMigrationTarget: public BitField<bool, 28, 1> {}; 5714 class IsMigrationTarget: public BitField<bool, 28, 1> {};
5715 class HasMigrated: public BitField<int, 29, 1> {};
5716
5717 inline void set_has_migrated(bool value);
5718 inline bool has_migrated();
5715 5719
5716 // Tells whether the object in the prototype property will be used 5720 // Tells whether the object in the prototype property will be used
5717 // for instances created from this function. If the prototype 5721 // for instances created from this function. If the prototype
5718 // property is set to a value that is not a JSObject, the prototype 5722 // property is set to a value that is not a JSObject, the prototype
5719 // property will not be used to create instances of the function. 5723 // property will not be used to create instances of the function.
5720 // See ECMA-262, 13.2.2. 5724 // See ECMA-262, 13.2.2.
5721 inline void set_non_instance_prototype(bool value); 5725 inline void set_non_instance_prototype(bool value);
5722 inline bool has_non_instance_prototype(); 5726 inline bool has_non_instance_prototype();
5723 5727
5724 // Tells whether function has special prototype property. If not, prototype 5728 // Tells whether function has special prototype property. If not, prototype
(...skipping 4841 matching lines...) Expand 10 before | Expand all | Expand 10 after
10566 } else { 10570 } else {
10567 value &= ~(1 << bit_position); 10571 value &= ~(1 << bit_position);
10568 } 10572 }
10569 return value; 10573 return value;
10570 } 10574 }
10571 }; 10575 };
10572 10576
10573 } } // namespace v8::internal 10577 } } // namespace v8::internal
10574 10578
10575 #endif // V8_OBJECTS_H_ 10579 #endif // V8_OBJECTS_H_
OLDNEW
« src/hydrogen-instructions.h ('K') | « src/hydrogen-instructions.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698