Commit 3100f9b2 authored by jgruber's avatar jgruber Committed by Commit bot

Fix unused variable on win32 build

BUG=chromium:703028

Review-Url: https://codereview.chromium.org/2759983002
Cr-Commit-Position: refs/heads/master@{#43947}
parent 1f617767
...@@ -56,6 +56,7 @@ inline intptr_t InternalGetExistingThreadLocal(intptr_t index) { ...@@ -56,6 +56,7 @@ inline intptr_t InternalGetExistingThreadLocal(intptr_t index) {
const intptr_t kMaxSlots = kMaxInlineSlots + 1024; const intptr_t kMaxSlots = kMaxInlineSlots + 1024;
const intptr_t kPointerSize = sizeof(void*); const intptr_t kPointerSize = sizeof(void*);
DCHECK(0 <= index && index < kMaxSlots); DCHECK(0 <= index && index < kMaxSlots);
USE(kMaxSlots);
if (index < kMaxInlineSlots) { if (index < kMaxInlineSlots) {
return static_cast<intptr_t>(__readfsdword(kTibInlineTlsOffset + return static_cast<intptr_t>(__readfsdword(kTibInlineTlsOffset +
kPointerSize * index)); kPointerSize * index));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment