| 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 19 matching lines...) Expand all Loading... |
| 30 #include "assembler.h" | 30 #include "assembler.h" |
| 31 #include "isolate.h" | 31 #include "isolate.h" |
| 32 #include "elements.h" | 32 #include "elements.h" |
| 33 #include "bootstrapper.h" | 33 #include "bootstrapper.h" |
| 34 #include "debug.h" | 34 #include "debug.h" |
| 35 #include "deoptimizer.h" | 35 #include "deoptimizer.h" |
| 36 #include "frames.h" | 36 #include "frames.h" |
| 37 #include "heap-profiler.h" | 37 #include "heap-profiler.h" |
| 38 #include "hydrogen.h" | 38 #include "hydrogen.h" |
| 39 #include "lithium-allocator.h" | 39 #include "lithium-allocator.h" |
| 40 #include "log.h" | |
| 41 #include "objects.h" | 40 #include "objects.h" |
| 42 #include "once.h" | 41 #include "once.h" |
| 43 #include "platform.h" | 42 #include "platform.h" |
| 44 #include "sampler.h" | 43 #include "sampler.h" |
| 45 #include "runtime-profiler.h" | 44 #include "runtime-profiler.h" |
| 46 #include "serialize.h" | 45 #include "serialize.h" |
| 47 #include "store-buffer.h" | 46 #include "store-buffer.h" |
| 48 | 47 |
| 49 namespace v8 { | 48 namespace v8 { |
| 50 namespace internal { | 49 namespace internal { |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 OS::SetUp(); | 273 OS::SetUp(); |
| 275 Sampler::SetUp(); | 274 Sampler::SetUp(); |
| 276 CPU::SetUp(); | 275 CPU::SetUp(); |
| 277 use_crankshaft_ = FLAG_crankshaft | 276 use_crankshaft_ = FLAG_crankshaft |
| 278 && !Serializer::enabled() | 277 && !Serializer::enabled() |
| 279 && CPU::SupportsCrankshaft(); | 278 && CPU::SupportsCrankshaft(); |
| 280 OS::PostSetUp(); | 279 OS::PostSetUp(); |
| 281 ElementsAccessor::InitializeOncePerProcess(); | 280 ElementsAccessor::InitializeOncePerProcess(); |
| 282 LOperand::SetUpCaches(); | 281 LOperand::SetUpCaches(); |
| 283 SetUpJSCallerSavedCodeData(); | 282 SetUpJSCallerSavedCodeData(); |
| 284 SamplerRegistry::SetUp(); | |
| 285 ExternalReference::SetUp(); | 283 ExternalReference::SetUp(); |
| 286 } | 284 } |
| 287 | 285 |
| 288 void V8::InitializeOncePerProcess() { | 286 void V8::InitializeOncePerProcess() { |
| 289 CallOnce(&init_once, &InitializeOncePerProcessImpl); | 287 CallOnce(&init_once, &InitializeOncePerProcessImpl); |
| 290 } | 288 } |
| 291 | 289 |
| 292 } } // namespace v8::internal | 290 } } // namespace v8::internal |
| OLD | NEW |