| OLD | NEW |
| 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 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 21 matching lines...) Expand all Loading... |
| 32 #include "compiler.h" | 32 #include "compiler.h" |
| 33 #include "debug.h" | 33 #include "debug.h" |
| 34 #include "execution.h" | 34 #include "execution.h" |
| 35 #include "global-handles.h" | 35 #include "global-handles.h" |
| 36 #include "platform.h" | 36 #include "platform.h" |
| 37 #include "serialize.h" | 37 #include "serialize.h" |
| 38 #include "snapshot.h" | 38 #include "snapshot.h" |
| 39 #include "v8threads.h" | 39 #include "v8threads.h" |
| 40 | 40 |
| 41 | 41 |
| 42 namespace i = v8::internal; | |
| 43 #define LOG_API(expr) LOG(ApiEntryCall(expr)) | 42 #define LOG_API(expr) LOG(ApiEntryCall(expr)) |
| 44 | 43 |
| 45 | 44 |
| 46 namespace v8 { | 45 namespace v8 { |
| 47 | 46 |
| 48 | 47 |
| 49 #define ON_BAILOUT(location, code) \ | 48 #define ON_BAILOUT(location, code) \ |
| 50 if (IsDeadCheck(location)) { \ | 49 if (IsDeadCheck(location)) { \ |
| 51 code; \ | 50 code; \ |
| 52 UNREACHABLE(); \ | 51 UNREACHABLE(); \ |
| (...skipping 2982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3035 reinterpret_cast<HandleScopeImplementer*>(storage); | 3034 reinterpret_cast<HandleScopeImplementer*>(storage); |
| 3036 List<void**>* blocks_of_archived_thread = thread_local->Blocks(); | 3035 List<void**>* blocks_of_archived_thread = thread_local->Blocks(); |
| 3037 v8::ImplementationUtilities::HandleScopeData* handle_data_of_archived_thread = | 3036 v8::ImplementationUtilities::HandleScopeData* handle_data_of_archived_thread = |
| 3038 &thread_local->handle_scope_data_; | 3037 &thread_local->handle_scope_data_; |
| 3039 Iterate(v, blocks_of_archived_thread, handle_data_of_archived_thread); | 3038 Iterate(v, blocks_of_archived_thread, handle_data_of_archived_thread); |
| 3040 | 3039 |
| 3041 return storage + ArchiveSpacePerThread(); | 3040 return storage + ArchiveSpacePerThread(); |
| 3042 } | 3041 } |
| 3043 | 3042 |
| 3044 } } // namespace v8::internal | 3043 } } // namespace v8::internal |
| OLD | NEW |