| Index: src/execution.cc
|
| diff --git a/src/execution.cc b/src/execution.cc
|
| index 4c6bd93d0626d8ade188292a5f4532658a39d0f0..fc5198069d6f167a7623ab09779fa3d7161913b9 100644
|
| --- a/src/execution.cc
|
| +++ b/src/execution.cc
|
| @@ -380,7 +380,7 @@ bool StackGuard::CheckAndClearInterrupt(InterruptFlag flag,
|
|
|
| char* StackGuard::ArchiveStackGuard(char* to) {
|
| ExecutionAccess access(isolate_);
|
| - MemCopy(to, reinterpret_cast<char*>(&thread_local_), sizeof(ThreadLocal));
|
| + OS::MemCopy(to, reinterpret_cast<char*>(&thread_local_), sizeof(ThreadLocal));
|
| ThreadLocal blank;
|
|
|
| // Set the stack limits using the old thread_local_.
|
| @@ -397,7 +397,8 @@ char* StackGuard::ArchiveStackGuard(char* to) {
|
|
|
| char* StackGuard::RestoreStackGuard(char* from) {
|
| ExecutionAccess access(isolate_);
|
| - MemCopy(reinterpret_cast<char*>(&thread_local_), from, sizeof(ThreadLocal));
|
| + OS::MemCopy(
|
| + reinterpret_cast<char*>(&thread_local_), from, sizeof(ThreadLocal));
|
| isolate_->heap()->SetStackLimits();
|
| return from + sizeof(ThreadLocal);
|
| }
|
|
|