| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #include "v8.h" | 28 #include "v8.h" |
| 29 | 29 |
| 30 #include "api.h" | 30 #include "api.h" |
| 31 #include "arguments.h" | 31 #include "arguments.h" |
| 32 #include "bootstrapper.h" | 32 #include "bootstrapper.h" |
| 33 #include "compiler.h" | 33 #include "compiler.h" |
| 34 #include "debug.h" | 34 #include "debug.h" |
| 35 #include "execution.h" | 35 #include "execution.h" |
| 36 #include "global-handles.h" | 36 #include "global-handles.h" |
| 37 #include "messages.h" |
| 37 #include "platform.h" | 38 #include "platform.h" |
| 38 #include "serialize.h" | 39 #include "serialize.h" |
| 39 #include "snapshot.h" | 40 #include "snapshot.h" |
| 41 #include "top.h" |
| 40 #include "utils.h" | 42 #include "utils.h" |
| 41 #include "v8threads.h" | 43 #include "v8threads.h" |
| 42 #include "version.h" | 44 #include "version.h" |
| 43 | 45 |
| 44 | 46 |
| 45 #define LOG_API(expr) LOG(ApiEntryCall(expr)) | 47 #define LOG_API(expr) LOG(ApiEntryCall(expr)) |
| 46 | 48 |
| 47 #ifdef ENABLE_HEAP_PROTECTION | 49 #ifdef ENABLE_HEAP_PROTECTION |
| 48 #define ENTER_V8 i::VMState __state__(i::OTHER) | 50 #define ENTER_V8 i::VMState __state__(i::OTHER) |
| 49 #define LEAVE_V8 i::VMState __state__(i::EXTERNAL) | 51 #define LEAVE_V8 i::VMState __state__(i::EXTERNAL) |
| (...skipping 3947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3997 | 3999 |
| 3998 | 4000 |
| 3999 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 4001 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
| 4000 HandleScopeImplementer* thread_local = | 4002 HandleScopeImplementer* thread_local = |
| 4001 reinterpret_cast<HandleScopeImplementer*>(storage); | 4003 reinterpret_cast<HandleScopeImplementer*>(storage); |
| 4002 thread_local->IterateThis(v); | 4004 thread_local->IterateThis(v); |
| 4003 return storage + ArchiveSpacePerThread(); | 4005 return storage + ArchiveSpacePerThread(); |
| 4004 } | 4006 } |
| 4005 | 4007 |
| 4006 } } // namespace v8::internal | 4008 } } // namespace v8::internal |
| OLD | NEW |