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 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2078 if (FLAG_harmony_iteration && | 2078 if (FLAG_harmony_iteration && |
2079 strcmp(ExperimentalNatives::GetScriptName(i).start(), | 2079 strcmp(ExperimentalNatives::GetScriptName(i).start(), |
2080 "native array-iterator.js") == 0) { | 2080 "native array-iterator.js") == 0) { |
2081 if (!CompileExperimentalBuiltin(isolate(), i)) return false; | 2081 if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
2082 } | 2082 } |
2083 if (FLAG_harmony_strings && | 2083 if (FLAG_harmony_strings && |
2084 strcmp(ExperimentalNatives::GetScriptName(i).start(), | 2084 strcmp(ExperimentalNatives::GetScriptName(i).start(), |
2085 "native harmony-string.js") == 0) { | 2085 "native harmony-string.js") == 0) { |
2086 if (!CompileExperimentalBuiltin(isolate(), i)) return false; | 2086 if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
2087 } | 2087 } |
2088 if (FLAG_harmony_arrays && | |
2089 strcmp(ExperimentalNatives::GetScriptName(i).start(), | |
2090 "native harmony-array.js") == 0) { | |
2091 if (!CompileExperimentalBuiltin(isolate(), i)) return false; | |
2092 } | |
2093 } | 2088 } |
2094 | 2089 |
2095 InstallExperimentalNativeFunctions(); | 2090 InstallExperimentalNativeFunctions(); |
2096 | 2091 |
2097 return true; | 2092 return true; |
2098 } | 2093 } |
2099 | 2094 |
2100 | 2095 |
2101 static Handle<JSObject> ResolveBuiltinIdHolder( | 2096 static Handle<JSObject> ResolveBuiltinIdHolder( |
2102 Handle<Context> native_context, | 2097 Handle<Context> native_context, |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2685 return from + sizeof(NestingCounterType); | 2680 return from + sizeof(NestingCounterType); |
2686 } | 2681 } |
2687 | 2682 |
2688 | 2683 |
2689 // Called when the top-level V8 mutex is destroyed. | 2684 // Called when the top-level V8 mutex is destroyed. |
2690 void Bootstrapper::FreeThreadResources() { | 2685 void Bootstrapper::FreeThreadResources() { |
2691 ASSERT(!IsActive()); | 2686 ASSERT(!IsActive()); |
2692 } | 2687 } |
2693 | 2688 |
2694 } } // namespace v8::internal | 2689 } } // namespace v8::internal |
OLD | NEW |