| 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 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1302   INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); | 1302   INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); | 
| 1303   INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); | 1303   INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); | 
| 1304   INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", | 1304   INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", | 
| 1305                  configure_instance_fun); | 1305                  configure_instance_fun); | 
| 1306   INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 1306   INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 
| 1307   INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 1307   INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 
| 1308 } | 1308 } | 
| 1309 | 1309 | 
| 1310 void Genesis::InstallExperimentalNativeFunctions() { | 1310 void Genesis::InstallExperimentalNativeFunctions() { | 
| 1311   if (FLAG_harmony_proxies) { | 1311   if (FLAG_harmony_proxies) { | 
|  | 1312     INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 
| 1312     INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 1313     INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 
| 1313     INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 1314     INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 
| 1314   } | 1315   } | 
| 1315 } | 1316 } | 
| 1316 | 1317 | 
| 1317 #undef INSTALL_NATIVE | 1318 #undef INSTALL_NATIVE | 
| 1318 | 1319 | 
| 1319 | 1320 | 
| 1320 bool Genesis::InstallNatives() { | 1321 bool Genesis::InstallNatives() { | 
| 1321   HandleScope scope; | 1322   HandleScope scope; | 
| (...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2197   return from + sizeof(NestingCounterType); | 2198   return from + sizeof(NestingCounterType); | 
| 2198 } | 2199 } | 
| 2199 | 2200 | 
| 2200 | 2201 | 
| 2201 // Called when the top-level V8 mutex is destroyed. | 2202 // Called when the top-level V8 mutex is destroyed. | 
| 2202 void Bootstrapper::FreeThreadResources() { | 2203 void Bootstrapper::FreeThreadResources() { | 
| 2203   ASSERT(!IsActive()); | 2204   ASSERT(!IsActive()); | 
| 2204 } | 2205 } | 
| 2205 | 2206 | 
| 2206 } }  // namespace v8::internal | 2207 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|