| OLD | NEW | 
|     1 // Copyright 2011 the V8 project authors. All rights reserved. |     1 // Copyright 2011 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   178   int id_; |   178   int id_; | 
|   179  |   179  | 
|   180   static Atomic32 highest_thread_id_; |   180   static Atomic32 highest_thread_id_; | 
|   181  |   181  | 
|   182   friend class Isolate; |   182   friend class Isolate; | 
|   183 }; |   183 }; | 
|   184  |   184  | 
|   185  |   185  | 
|   186 class ThreadLocalTop BASE_EMBEDDED { |   186 class ThreadLocalTop BASE_EMBEDDED { | 
|   187  public: |   187  public: | 
 |   188   // Does early low-level initialization that does not depend on the | 
 |   189   // isolate being present. | 
 |   190   ThreadLocalTop(); | 
 |   191  | 
|   188   // Initialize the thread data. |   192   // Initialize the thread data. | 
|   189   void Initialize(); |   193   void Initialize(); | 
|   190  |   194  | 
|   191   // Get the top C++ try catch handler or NULL if none are registered. |   195   // Get the top C++ try catch handler or NULL if none are registered. | 
|   192   // |   196   // | 
|   193   // This method is not guarenteed to return an address that can be |   197   // This method is not guarenteed to return an address that can be | 
|   194   // used for comparison with addresses into the JS stack.  If such an |   198   // used for comparison with addresses into the JS stack.  If such an | 
|   195   // address is needed, use try_catch_handler_address. |   199   // address is needed, use try_catch_handler_address. | 
|   196   v8::TryCatch* TryCatchHandler(); |   200   v8::TryCatch* TryCatchHandler(); | 
|   197  |   201  | 
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   257   StateTag current_vm_state_; |   261   StateTag current_vm_state_; | 
|   258 #endif |   262 #endif | 
|   259  |   263  | 
|   260   // Generated code scratch locations. |   264   // Generated code scratch locations. | 
|   261   int32_t formal_count_; |   265   int32_t formal_count_; | 
|   262  |   266  | 
|   263   // Call back function to report unsafe JS accesses. |   267   // Call back function to report unsafe JS accesses. | 
|   264   v8::FailedAccessCheckCallback failed_access_check_callback_; |   268   v8::FailedAccessCheckCallback failed_access_check_callback_; | 
|   265  |   269  | 
|   266  private: |   270  private: | 
 |   271   void InitializeInternal(); | 
 |   272  | 
|   267   Address try_catch_handler_address_; |   273   Address try_catch_handler_address_; | 
|   268 }; |   274 }; | 
|   269  |   275  | 
|   270 #if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) |   276 #if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) | 
|   271  |   277  | 
|   272 #define ISOLATE_PLATFORM_INIT_LIST(V)                                          \ |   278 #define ISOLATE_PLATFORM_INIT_LIST(V)                                          \ | 
|   273   /* VirtualFrame::SpilledScope state */                                       \ |   279   /* VirtualFrame::SpilledScope state */                                       \ | 
|   274   V(bool, is_virtual_frame_in_spilled_scope, false)                            \ |   280   V(bool, is_virtual_frame_in_spilled_scope, false)                            \ | 
|   275   /* CodeGenerator::EmitNamedStore state */                                    \ |   281   /* CodeGenerator::EmitNamedStore state */                                    \ | 
|   276   V(int, inlined_write_barrier_size, -1) |   282   V(int, inlined_write_barrier_size, -1) | 
| (...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1373  |  1379  | 
|  1374 } }  // namespace v8::internal |  1380 } }  // namespace v8::internal | 
|  1375  |  1381  | 
|  1376 // TODO(isolates): Get rid of these -inl.h includes and place them only where |  1382 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 
|  1377 //                 they're needed. |  1383 //                 they're needed. | 
|  1378 #include "allocation-inl.h" |  1384 #include "allocation-inl.h" | 
|  1379 #include "zone-inl.h" |  1385 #include "zone-inl.h" | 
|  1380 #include "frames-inl.h" |  1386 #include "frames-inl.h" | 
|  1381  |  1387  | 
|  1382 #endif  // V8_ISOLATE_H_ |  1388 #endif  // V8_ISOLATE_H_ | 
| OLD | NEW |