| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index 30e9dee22cd10fd04de1e82dbb32f33eb2bbae51..38bec466899128ace0c98795fe853c0b577e1956 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -3501,9 +3501,9 @@ MaybeObject* ExternalArrayStubCompiler::CompileKeyedStoreStub(
|
| switch (array_type) {
|
| case kExternalPixelArray:
|
| { // Clamp the value to [0..255].
|
| - NearLabel done;
|
| + Label done;
|
| __ test(ecx, Immediate(0xFFFFFF00));
|
| - __ j(zero, &done);
|
| + __ j(zero, &done, Label::kNear);
|
| __ setcc(negative, ecx); // 1 if negative, 0 if positive.
|
| __ dec_b(ecx); // 0 if negative, 255 if positive.
|
| __ bind(&done);
|
| @@ -3584,9 +3584,9 @@ MaybeObject* ExternalArrayStubCompiler::CompileKeyedStoreStub(
|
| switch (array_type) {
|
| case kExternalPixelArray:
|
| { // Clamp the value to [0..255].
|
| - NearLabel done;
|
| + Label done;
|
| __ test(ecx, Immediate(0xFFFFFF00));
|
| - __ j(zero, &done);
|
| + __ j(zero, &done, Label::kNear);
|
| __ setcc(negative, ecx); // 1 if negative, 0 if positive.
|
| __ dec_b(ecx); // 0 if negative, 255 if positive.
|
| __ bind(&done);
|
|
|