| Index: src/base/once.cc
|
| diff --git a/src/once.cc b/src/base/once.cc
|
| similarity index 93%
|
| rename from src/once.cc
|
| rename to src/base/once.cc
|
| index 6a3b9cb56a5eb358e0e45cf575df016827a215d7..eaabf40d9a53e7b30dd6a894da670d935616e55a 100644
|
| --- a/src/once.cc
|
| +++ b/src/base/once.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "src/once.h"
|
| +#include "src/base/once.h"
|
|
|
| #ifdef _WIN32
|
| #include <windows.h>
|
| @@ -10,10 +10,10 @@
|
| #include <sched.h>
|
| #endif
|
|
|
| -#include "src/atomicops.h"
|
| +#include "src/base/atomicops.h"
|
|
|
| namespace v8 {
|
| -namespace internal {
|
| +namespace base {
|
|
|
| void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg) {
|
| AtomicWord state = Acquire_Load(once);
|
| @@ -50,4 +50,4 @@ void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg) {
|
| }
|
| }
|
|
|
| -} } // namespace v8::internal
|
| +} } // namespace v8::base
|
|
|