Index: src/runtime/runtime-numbers.cc |
diff --git a/src/runtime/runtime-numbers.cc b/src/runtime/runtime-numbers.cc |
index 36ca87bc079490247dd376be4bf712800e3187d3..79487237ee65bdd3f820e7f5d9575f320316bd17 100644 |
--- a/src/runtime/runtime-numbers.cc |
+++ b/src/runtime/runtime-numbers.cc |
@@ -185,13 +185,7 @@ RUNTIME_FUNCTION(Runtime_StringToNumber) { |
} |
// Slower case. |
- int flags = ALLOW_HEX; |
- if (FLAG_harmony_numeric_literals) { |
- // The current spec draft has not updated "ToNumber Applied to the String |
- // Type", https://bugs.ecmascript.org/show_bug.cgi?id=1584 |
- flags |= ALLOW_OCTAL | ALLOW_BINARY; |
- } |
- |
+ int flags = ALLOW_HEX | ALLOW_OCTAL | ALLOW_BINARY; |
return *isolate->factory()->NewNumber( |
StringToDouble(isolate->unicode_cache(), subject, flags)); |
} |