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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1298 | 1298 |
1299 friend class ExecutionAccess; | 1299 friend class ExecutionAccess; |
1300 friend class HandleScopeImplementer; | 1300 friend class HandleScopeImplementer; |
1301 friend class IsolateInitializer; | 1301 friend class IsolateInitializer; |
1302 friend class OptimizingCompilerThread; | 1302 friend class OptimizingCompilerThread; |
1303 friend class ThreadManager; | 1303 friend class ThreadManager; |
1304 friend class Simulator; | 1304 friend class Simulator; |
1305 friend class StackGuard; | 1305 friend class StackGuard; |
1306 friend class ThreadId; | 1306 friend class ThreadId; |
1307 friend class TestMemoryAllocatorScope; | 1307 friend class TestMemoryAllocatorScope; |
| 1308 friend class TestCodeRangeScope; |
1308 friend class v8::Isolate; | 1309 friend class v8::Isolate; |
1309 friend class v8::Locker; | 1310 friend class v8::Locker; |
1310 friend class v8::Unlocker; | 1311 friend class v8::Unlocker; |
1311 | 1312 |
1312 DISALLOW_COPY_AND_ASSIGN(Isolate); | 1313 DISALLOW_COPY_AND_ASSIGN(Isolate); |
1313 }; | 1314 }; |
1314 | 1315 |
1315 | 1316 |
1316 // If the GCC version is 4.1.x or 4.2.x an additional field is added to the | 1317 // If the GCC version is 4.1.x or 4.2.x an additional field is added to the |
1317 // class as a work around for a bug in the generated code found with these | 1318 // class as a work around for a bug in the generated code found with these |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1443 | 1444 |
1444 // Mark the native context with out of memory. | 1445 // Mark the native context with out of memory. |
1445 inline void Context::mark_out_of_memory() { | 1446 inline void Context::mark_out_of_memory() { |
1446 native_context()->set_out_of_memory(HEAP->true_value()); | 1447 native_context()->set_out_of_memory(HEAP->true_value()); |
1447 } | 1448 } |
1448 | 1449 |
1449 | 1450 |
1450 } } // namespace v8::internal | 1451 } } // namespace v8::internal |
1451 | 1452 |
1452 #endif // V8_ISOLATE_H_ | 1453 #endif // V8_ISOLATE_H_ |
OLD | NEW |