| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index 6c83606f1dc83e5dd61dd365720238b09ff59151..d6c51a801f0a5711dfa04083db39240099d1375c 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -3289,9 +3289,9 @@ MaybeObject* ExternalArrayStubCompiler::CompileKeyedStoreStub(
|
| switch (array_type) {
|
| case kExternalPixelArray:
|
| { // Clamp the value to [0..255].
|
| - NearLabel done;
|
| + Label done;
|
| __ testl(rdx, Immediate(0xFFFFFF00));
|
| - __ j(zero, &done);
|
| + __ j(zero, &done, Label::kNear);
|
| __ setcc(negative, rdx); // 1 if negative, 0 if positive.
|
| __ decb(rdx); // 0 if negative, 255 if positive.
|
| __ bind(&done);
|
|
|