Skip to content

Instantly share code, notes, and snippets.

@Zirak
Created March 17, 2017 09:47
Show Gist options
  • Save Zirak/f166cd9a724d855e05aa6a62f6f84d98 to your computer and use it in GitHub Desktop.
Save Zirak/f166cd9a724d855e05aa6a62f6f84d98 to your computer and use it in GitHub Desktop.
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 95a7f41..9d3caf2 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1679,6 +1679,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
InstallConstant(isolate, symbol_fun, "split", factory->split_symbol());
InstallConstant(isolate, symbol_fun, "toPrimitive",
factory->to_primitive_symbol());
+ InstallConstant(isolate, symbol_fun, "homeObject",
+ factory->home_object_symbol());
InstallConstant(isolate, symbol_fun, "toStringTag",
factory->to_string_tag_symbol());
InstallConstant(isolate, symbol_fun, "unscopables",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment