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