| OLD | NEW | 
|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1314   INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); | 1314   INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); | 
| 1315   INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); | 1315   INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); | 
| 1316   INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); | 1316   INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); | 
| 1317   INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); | 1317   INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); | 
| 1318   INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); | 1318   INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); | 
| 1319   INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); | 1319   INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); | 
| 1320   INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", | 1320   INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", | 
| 1321                  configure_instance_fun); | 1321                  configure_instance_fun); | 
| 1322   INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 1322   INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 
| 1323   INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 1323   INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 
|  | 1324   INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", | 
|  | 1325                  to_complete_property_descriptor); | 
| 1324 } | 1326 } | 
| 1325 | 1327 | 
| 1326 void Genesis::InstallExperimentalNativeFunctions() { | 1328 void Genesis::InstallExperimentalNativeFunctions() { | 
| 1327   if (FLAG_harmony_proxies) { | 1329   if (FLAG_harmony_proxies) { | 
| 1328     INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 1330     INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 
| 1329     INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 1331     INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 
| 1330     INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 1332     INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 
| 1331   } | 1333   } | 
| 1332 } | 1334 } | 
| 1333 | 1335 | 
| (...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2220   return from + sizeof(NestingCounterType); | 2222   return from + sizeof(NestingCounterType); | 
| 2221 } | 2223 } | 
| 2222 | 2224 | 
| 2223 | 2225 | 
| 2224 // Called when the top-level V8 mutex is destroyed. | 2226 // Called when the top-level V8 mutex is destroyed. | 
| 2225 void Bootstrapper::FreeThreadResources() { | 2227 void Bootstrapper::FreeThreadResources() { | 
| 2226   ASSERT(!IsActive()); | 2228   ASSERT(!IsActive()); | 
| 2227 } | 2229 } | 
| 2228 | 2230 | 
| 2229 } }  // namespace v8::internal | 2231 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|