| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 20 matching lines...) Expand all Loading... |
| 31 #include "elements.h" | 31 #include "elements.h" |
| 32 #include "bootstrapper.h" | 32 #include "bootstrapper.h" |
| 33 #include "debug.h" | 33 #include "debug.h" |
| 34 #include "deoptimizer.h" | 34 #include "deoptimizer.h" |
| 35 #include "heap-profiler.h" | 35 #include "heap-profiler.h" |
| 36 #include "hydrogen.h" | 36 #include "hydrogen.h" |
| 37 #include "lithium-allocator.h" | 37 #include "lithium-allocator.h" |
| 38 #include "log.h" | 38 #include "log.h" |
| 39 #include "runtime-profiler.h" | 39 #include "runtime-profiler.h" |
| 40 #include "serialize.h" | 40 #include "serialize.h" |
| 41 #include "store-buffer.h" |
| 41 | 42 |
| 42 namespace v8 { | 43 namespace v8 { |
| 43 namespace internal { | 44 namespace internal { |
| 44 | 45 |
| 45 static Mutex* init_once_mutex = OS::CreateMutex(); | 46 static Mutex* init_once_mutex = OS::CreateMutex(); |
| 46 static bool init_once_called = false; | 47 static bool init_once_called = false; |
| 47 | 48 |
| 48 bool V8::is_running_ = false; | 49 bool V8::is_running_ = false; |
| 49 bool V8::has_been_setup_ = false; | 50 bool V8::has_been_setup_ = false; |
| 50 bool V8::has_been_disposed_ = false; | 51 bool V8::has_been_disposed_ = false; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 | 212 |
| 212 RuntimeProfiler::GlobalSetup(); | 213 RuntimeProfiler::GlobalSetup(); |
| 213 | 214 |
| 214 // Peephole optimization might interfere with deoptimization. | 215 // Peephole optimization might interfere with deoptimization. |
| 215 FLAG_peephole_optimization = !use_crankshaft_; | 216 FLAG_peephole_optimization = !use_crankshaft_; |
| 216 | 217 |
| 217 ElementsAccessor::InitializeOncePerProcess(); | 218 ElementsAccessor::InitializeOncePerProcess(); |
| 218 } | 219 } |
| 219 | 220 |
| 220 } } // namespace v8::internal | 221 } } // namespace v8::internal |
| OLD | NEW |