| 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 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 friend class SweeperThread; | 1376 friend class SweeperThread; |
| 1377 friend class ThreadManager; | 1377 friend class ThreadManager; |
| 1378 friend class Simulator; | 1378 friend class Simulator; |
| 1379 friend class StackGuard; | 1379 friend class StackGuard; |
| 1380 friend class ThreadId; | 1380 friend class ThreadId; |
| 1381 friend class TestMemoryAllocatorScope; | 1381 friend class TestMemoryAllocatorScope; |
| 1382 friend class TestCodeRangeScope; | 1382 friend class TestCodeRangeScope; |
| 1383 friend class v8::Isolate; | 1383 friend class v8::Isolate; |
| 1384 friend class v8::Locker; | 1384 friend class v8::Locker; |
| 1385 friend class v8::Unlocker; | 1385 friend class v8::Unlocker; |
| 1386 friend class V8; | |
| 1387 | 1386 |
| 1388 DISALLOW_COPY_AND_ASSIGN(Isolate); | 1387 DISALLOW_COPY_AND_ASSIGN(Isolate); |
| 1389 }; | 1388 }; |
| 1390 | 1389 |
| 1391 | 1390 |
| 1392 // If the GCC version is 4.1.x or 4.2.x an additional field is added to the | 1391 // If the GCC version is 4.1.x or 4.2.x an additional field is added to the |
| 1393 // class as a work around for a bug in the generated code found with these | 1392 // class as a work around for a bug in the generated code found with these |
| 1394 // versions of GCC. See V8 issue 122 for details. | 1393 // versions of GCC. See V8 issue 122 for details. |
| 1395 class SaveContext BASE_EMBEDDED { | 1394 class SaveContext BASE_EMBEDDED { |
| 1396 public: | 1395 public: |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1526 | 1525 |
| 1527 // Mark the native context with out of memory. | 1526 // Mark the native context with out of memory. |
| 1528 inline void Context::mark_out_of_memory() { | 1527 inline void Context::mark_out_of_memory() { |
| 1529 native_context()->set_out_of_memory(HEAP->true_value()); | 1528 native_context()->set_out_of_memory(HEAP->true_value()); |
| 1530 } | 1529 } |
| 1531 | 1530 |
| 1532 | 1531 |
| 1533 } } // namespace v8::internal | 1532 } } // namespace v8::internal |
| 1534 | 1533 |
| 1535 #endif // V8_ISOLATE_H_ | 1534 #endif // V8_ISOLATE_H_ |
| OLD | NEW |