Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index bf3beff5f0d22a56efc7756845b34ffac130138b..bafd5888fe2f840319add622aedfa1672564417d 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4191,7 +4191,7 @@ class Internals { |
static const int kNullValueRootIndex = 7; |
static const int kTrueValueRootIndex = 8; |
static const int kFalseValueRootIndex = 9; |
- static const int kEmptySymbolRootIndex = 119; |
+ static const int kEmptyStringRootIndex = 118; |
static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
@@ -4641,7 +4641,7 @@ Local<String> String::Empty(Isolate* isolate) { |
typedef internal::Object* S; |
typedef internal::Internals I; |
if (!I::IsInitialized(isolate)) return Empty(); |
- S* slot = I::GetRoot(isolate, I::kEmptySymbolRootIndex); |
+ S* slot = I::GetRoot(isolate, I::kEmptyStringRootIndex); |
return Local<String>(reinterpret_cast<String*>(slot)); |
} |