Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index a0b77c2aa25adc65828a003d95b2e2d95125c111..614ce93efc45d3b93d87a37b8c5e75fc0c2c005e 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -484,7 +484,7 @@ |
// (8) Is the external string one byte? If yes, go to (5). |
// (9) Two byte sequential. Load regexp code for two byte. Go to (E). |
// (10) Short external string or not a string? If yes, bail out to runtime. |
- // (11) Sliced or thin string. Replace subject with parent. Go to (1). |
+ // (11) Sliced string. Replace subject with parent. Go to (1). |
Label seq_one_byte_string /* 5 */, seq_two_byte_string /* 9 */, |
external_string /* 7 */, check_underlying /* 1 */, |
@@ -514,7 +514,6 @@ |
// have already been covered. |
STATIC_ASSERT(kConsStringTag < kExternalStringTag); |
STATIC_ASSERT(kSlicedStringTag > kExternalStringTag); |
- STATIC_ASSERT(kThinStringTag > kExternalStringTag); |
STATIC_ASSERT(kIsNotStringMask > kExternalStringTag); |
STATIC_ASSERT(kShortExternalStringTag > kExternalStringTag); |
__ cmpp(rbx, Immediate(kExternalStringTag)); |
@@ -803,17 +802,10 @@ |
__ testb(rbx, Immediate(kIsNotStringMask | kShortExternalStringMask)); |
__ j(not_zero, &runtime); |
- // (11) Sliced or thin string. Replace subject with parent. Go to (1). |
- Label thin_string; |
- __ cmpl(rbx, Immediate(kThinStringTag)); |
- __ j(equal, &thin_string, Label::kNear); |
+ // (11) Sliced string. Replace subject with parent. Go to (1). |
// Load offset into r14 and replace subject string with parent. |
__ SmiToInteger32(r14, FieldOperand(rdi, SlicedString::kOffsetOffset)); |
__ movp(rdi, FieldOperand(rdi, SlicedString::kParentOffset)); |
- __ jmp(&check_underlying); |
- |
- __ bind(&thin_string); |
- __ movp(rdi, FieldOperand(rdi, ThinString::kActualOffset)); |
__ jmp(&check_underlying); |
#endif // V8_INTERPRETED_REGEXP |
} |