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 1810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1821 if (FLAG_harmony_proxies && | 1821 if (FLAG_harmony_proxies && |
1822 strcmp(ExperimentalNatives::GetScriptName(i).start(), | 1822 strcmp(ExperimentalNatives::GetScriptName(i).start(), |
1823 "native proxy.js") == 0) { | 1823 "native proxy.js") == 0) { |
1824 if (!CompileExperimentalBuiltin(isolate(), i)) return false; | 1824 if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
1825 } | 1825 } |
1826 if (FLAG_harmony_collections && | 1826 if (FLAG_harmony_collections && |
1827 strcmp(ExperimentalNatives::GetScriptName(i).start(), | 1827 strcmp(ExperimentalNatives::GetScriptName(i).start(), |
1828 "native collection.js") == 0) { | 1828 "native collection.js") == 0) { |
1829 if (!CompileExperimentalBuiltin(isolate(), i)) return false; | 1829 if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
1830 } | 1830 } |
| 1831 if (FLAG_harmony_object_observe && |
| 1832 strcmp(ExperimentalNatives::GetScriptName(i).start(), |
| 1833 "native object-observe.js") == 0) { |
| 1834 if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
| 1835 } |
1831 } | 1836 } |
1832 | 1837 |
1833 InstallExperimentalNativeFunctions(); | 1838 InstallExperimentalNativeFunctions(); |
1834 | 1839 |
1835 return true; | 1840 return true; |
1836 } | 1841 } |
1837 | 1842 |
1838 | 1843 |
1839 static Handle<JSObject> ResolveBuiltinIdHolder( | 1844 static Handle<JSObject> ResolveBuiltinIdHolder( |
1840 Handle<Context> native_context, | 1845 Handle<Context> native_context, |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2399 return from + sizeof(NestingCounterType); | 2404 return from + sizeof(NestingCounterType); |
2400 } | 2405 } |
2401 | 2406 |
2402 | 2407 |
2403 // Called when the top-level V8 mutex is destroyed. | 2408 // Called when the top-level V8 mutex is destroyed. |
2404 void Bootstrapper::FreeThreadResources() { | 2409 void Bootstrapper::FreeThreadResources() { |
2405 ASSERT(!IsActive()); | 2410 ASSERT(!IsActive()); |
2406 } | 2411 } |
2407 | 2412 |
2408 } } // namespace v8::internal | 2413 } } // namespace v8::internal |
OLD | NEW |