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