Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index b6e8dc5bc8faa3bf21d1f80fb5e920a29ec0f31f..b00802fea79786fff9386fe1bcf93a3d756305a4 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1704,6 +1704,14 @@ bool Genesis::InstallNatives() { |
CHECK_NOT_EMPTY_HANDLE(isolate(), |
JSObject::SetLocalPropertyIgnoreAttributes( |
builtins, builtins_string, builtins, attributes)); |
+ Handle<String> error_type_symbol = |
+ factory()->InternalizeOneByteString( |
+ STATIC_ASCII_VECTOR("error_type_symbol")); |
+ CHECK_NOT_EMPTY_HANDLE( |
+ isolate(), |
+ JSObject::SetLocalPropertyIgnoreAttributes( |
+ builtins, error_type_symbol, handle(isolate()->heap()->error_type()), |
+ attributes)); |
// Set up the reference from the global object to the builtins object. |
JSGlobalObject::cast(native_context()->global_object())-> |