OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 25 matching lines...) Expand all Loading... |
36 #include "execution.h" | 36 #include "execution.h" |
37 #include "global-handles.h" | 37 #include "global-handles.h" |
38 #include "heap-profiler.h" | 38 #include "heap-profiler.h" |
39 #include "messages.h" | 39 #include "messages.h" |
40 #include "parser.h" | 40 #include "parser.h" |
41 #include "platform.h" | 41 #include "platform.h" |
42 #include "profile-generator-inl.h" | 42 #include "profile-generator-inl.h" |
43 #include "serialize.h" | 43 #include "serialize.h" |
44 #include "snapshot.h" | 44 #include "snapshot.h" |
45 #include "top.h" | 45 #include "top.h" |
46 #include "utils.h" | |
47 #include "v8threads.h" | 46 #include "v8threads.h" |
48 #include "version.h" | 47 #include "version.h" |
49 | 48 |
50 #include "../include/v8-profiler.h" | 49 #include "../include/v8-profiler.h" |
51 | 50 |
52 #define LOG_API(expr) LOG(ApiEntryCall(expr)) | 51 #define LOG_API(expr) LOG(ApiEntryCall(expr)) |
53 | 52 |
54 #ifdef ENABLE_VMSTATE_TRACKING | 53 #ifdef ENABLE_VMSTATE_TRACKING |
55 #define ENTER_V8 i::VMState __state__(i::OTHER) | 54 #define ENTER_V8 i::VMState __state__(i::OTHER) |
56 #define LEAVE_V8 i::VMState __state__(i::EXTERNAL) | 55 #define LEAVE_V8 i::VMState __state__(i::EXTERNAL) |
(...skipping 4936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4993 | 4992 |
4994 | 4993 |
4995 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 4994 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
4996 HandleScopeImplementer* thread_local = | 4995 HandleScopeImplementer* thread_local = |
4997 reinterpret_cast<HandleScopeImplementer*>(storage); | 4996 reinterpret_cast<HandleScopeImplementer*>(storage); |
4998 thread_local->IterateThis(v); | 4997 thread_local->IterateThis(v); |
4999 return storage + ArchiveSpacePerThread(); | 4998 return storage + ArchiveSpacePerThread(); |
5000 } | 4999 } |
5001 | 5000 |
5002 } } // namespace v8::internal | 5001 } } // namespace v8::internal |
OLD | NEW |