| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2072 if (FLAG_harmony_generators && | 2072 if (FLAG_harmony_generators && |
| 2073 strcmp(ExperimentalNatives::GetScriptName(i).start(), | 2073 strcmp(ExperimentalNatives::GetScriptName(i).start(), |
| 2074 "native generator.js") == 0) { | 2074 "native generator.js") == 0) { |
| 2075 if (!CompileExperimentalBuiltin(isolate(), i)) return false; | 2075 if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
| 2076 } | 2076 } |
| 2077 if (FLAG_harmony_iteration && | 2077 if (FLAG_harmony_iteration && |
| 2078 strcmp(ExperimentalNatives::GetScriptName(i).start(), | 2078 strcmp(ExperimentalNatives::GetScriptName(i).start(), |
| 2079 "native array-iterator.js") == 0) { | 2079 "native array-iterator.js") == 0) { |
| 2080 if (!CompileExperimentalBuiltin(isolate(), i)) return false; | 2080 if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
| 2081 } | 2081 } |
| 2082 if (FLAG_harmony_string && |
| 2083 strcmp(ExperimentalNatives::GetScriptName(i).start(), |
| 2084 "native harmony-string.js") == 0) { |
| 2085 if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
| 2086 } |
| 2082 } | 2087 } |
| 2083 | 2088 |
| 2084 InstallExperimentalNativeFunctions(); | 2089 InstallExperimentalNativeFunctions(); |
| 2085 | 2090 |
| 2086 return true; | 2091 return true; |
| 2087 } | 2092 } |
| 2088 | 2093 |
| 2089 | 2094 |
| 2090 static Handle<JSObject> ResolveBuiltinIdHolder( | 2095 static Handle<JSObject> ResolveBuiltinIdHolder( |
| 2091 Handle<Context> native_context, | 2096 Handle<Context> native_context, |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2674 return from + sizeof(NestingCounterType); | 2679 return from + sizeof(NestingCounterType); |
| 2675 } | 2680 } |
| 2676 | 2681 |
| 2677 | 2682 |
| 2678 // Called when the top-level V8 mutex is destroyed. | 2683 // Called when the top-level V8 mutex is destroyed. |
| 2679 void Bootstrapper::FreeThreadResources() { | 2684 void Bootstrapper::FreeThreadResources() { |
| 2680 ASSERT(!IsActive()); | 2685 ASSERT(!IsActive()); |
| 2681 } | 2686 } |
| 2682 | 2687 |
| 2683 } } // namespace v8::internal | 2688 } } // namespace v8::internal |
| OLD | NEW |