| OLD | NEW | 
|---|
| 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 4264 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4275   enum StubType { | 4275   enum StubType { | 
| 4276     NORMAL, | 4276     NORMAL, | 
| 4277     FIELD, | 4277     FIELD, | 
| 4278     CONSTANT_FUNCTION, | 4278     CONSTANT_FUNCTION, | 
| 4279     CALLBACKS, | 4279     CALLBACKS, | 
| 4280     INTERCEPTOR, | 4280     INTERCEPTOR, | 
| 4281     MAP_TRANSITION, | 4281     MAP_TRANSITION, | 
| 4282     NONEXISTENT | 4282     NONEXISTENT | 
| 4283   }; | 4283   }; | 
| 4284 | 4284 | 
|  | 4285   enum IcFragment { | 
|  | 4286     IC_FRAGMENT, | 
|  | 4287     HANDLER_FRAGMENT | 
|  | 4288   }; | 
|  | 4289 | 
| 4285   enum { | 4290   enum { | 
| 4286     NUMBER_OF_KINDS = LAST_IC_KIND + 1 | 4291     NUMBER_OF_KINDS = LAST_IC_KIND + 1 | 
| 4287   }; | 4292   }; | 
| 4288 | 4293 | 
| 4289   typedef int ExtraICState; | 4294   typedef int ExtraICState; | 
| 4290 | 4295 | 
| 4291   static const ExtraICState kNoExtraICState = 0; | 4296   static const ExtraICState kNoExtraICState = 0; | 
| 4292 | 4297 | 
| 4293 #ifdef ENABLE_DISASSEMBLER | 4298 #ifdef ENABLE_DISASSEMBLER | 
| 4294   // Printing | 4299   // Printing | 
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4457 | 4462 | 
| 4458   // Get the safepoint entry for the given pc. | 4463   // Get the safepoint entry for the given pc. | 
| 4459   SafepointEntry GetSafepointEntry(Address pc); | 4464   SafepointEntry GetSafepointEntry(Address pc); | 
| 4460 | 4465 | 
| 4461   // Mark this code object as not having a stack check table.  Assumes kind | 4466   // Mark this code object as not having a stack check table.  Assumes kind | 
| 4462   // is FUNCTION. | 4467   // is FUNCTION. | 
| 4463   void SetNoStackCheckTable(); | 4468   void SetNoStackCheckTable(); | 
| 4464 | 4469 | 
| 4465   // Find the first map in an IC stub. | 4470   // Find the first map in an IC stub. | 
| 4466   Map* FindFirstMap(); | 4471   Map* FindFirstMap(); | 
|  | 4472   void FindAllMaps(MapHandleList* maps); | 
|  | 4473 | 
|  | 4474   // Find the first code in an IC stub. | 
|  | 4475   Code* FindFirstCode(); | 
|  | 4476   void FindAllCode(CodeHandleList* code_list, int length); | 
| 4467 | 4477 | 
| 4468   class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {}; | 4478   class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {}; | 
| 4469   class ExtraICStateKeyedAccessGrowMode: | 4479   class ExtraICStateKeyedAccessGrowMode: | 
| 4470       public BitField<KeyedAccessGrowMode, 1, 1> {};  // NOLINT | 4480       public BitField<KeyedAccessGrowMode, 1, 1> {};  // NOLINT | 
| 4471 | 4481 | 
| 4472   static const int kExtraICStateGrowModeShift = 1; | 4482   static const int kExtraICStateGrowModeShift = 1; | 
| 4473 | 4483 | 
| 4474   static inline StrictModeFlag GetStrictMode(ExtraICState extra_ic_state) { | 4484   static inline StrictModeFlag GetStrictMode(ExtraICState extra_ic_state) { | 
| 4475     return ExtraICStateStrictMode::decode(extra_ic_state); | 4485     return ExtraICStateStrictMode::decode(extra_ic_state); | 
| 4476   } | 4486   } | 
| (...skipping 4606 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 9083     } else { | 9093     } else { | 
| 9084       value &= ~(1 << bit_position); | 9094       value &= ~(1 << bit_position); | 
| 9085     } | 9095     } | 
| 9086     return value; | 9096     return value; | 
| 9087   } | 9097   } | 
| 9088 }; | 9098 }; | 
| 9089 | 9099 | 
| 9090 } }  // namespace v8::internal | 9100 } }  // namespace v8::internal | 
| 9091 | 9101 | 
| 9092 #endif  // V8_OBJECTS_H_ | 9102 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW | 
|---|