Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: src/bootstrapper.cc

Issue 16848004: ES6: Array iterator methods (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 2041 matching lines...) Expand 10 before | Expand all | Expand 10 after
2052 if (FLAG_harmony_typed_arrays && 2052 if (FLAG_harmony_typed_arrays &&
2053 strcmp(ExperimentalNatives::GetScriptName(i).start(), 2053 strcmp(ExperimentalNatives::GetScriptName(i).start(),
2054 "native typedarray.js") == 0) { 2054 "native typedarray.js") == 0) {
2055 if (!CompileExperimentalBuiltin(isolate(), i)) return false; 2055 if (!CompileExperimentalBuiltin(isolate(), i)) return false;
2056 } 2056 }
2057 if (FLAG_harmony_generators && 2057 if (FLAG_harmony_generators &&
2058 strcmp(ExperimentalNatives::GetScriptName(i).start(), 2058 strcmp(ExperimentalNatives::GetScriptName(i).start(),
2059 "native generator.js") == 0) { 2059 "native generator.js") == 0) {
2060 if (!CompileExperimentalBuiltin(isolate(), i)) return false; 2060 if (!CompileExperimentalBuiltin(isolate(), i)) return false;
2061 } 2061 }
2062 if (FLAG_harmony_iteration &&
2063 strcmp(ExperimentalNatives::GetScriptName(i).start(),
2064 "native array-iterator.js") == 0) {
2065 if (!CompileExperimentalBuiltin(isolate(), i)) return false;
2066 }
2062 } 2067 }
2063 2068
2064 InstallExperimentalNativeFunctions(); 2069 InstallExperimentalNativeFunctions();
2065 2070
2066 return true; 2071 return true;
2067 } 2072 }
2068 2073
2069 2074
2070 static Handle<JSObject> ResolveBuiltinIdHolder( 2075 static Handle<JSObject> ResolveBuiltinIdHolder(
2071 Handle<Context> native_context, 2076 Handle<Context> native_context,
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
2640 return from + sizeof(NestingCounterType); 2645 return from + sizeof(NestingCounterType);
2641 } 2646 }
2642 2647
2643 2648
2644 // Called when the top-level V8 mutex is destroyed. 2649 // Called when the top-level V8 mutex is destroyed.
2645 void Bootstrapper::FreeThreadResources() { 2650 void Bootstrapper::FreeThreadResources() {
2646 ASSERT(!IsActive()); 2651 ASSERT(!IsActive());
2647 } 2652 }
2648 2653
2649 } } // namespace v8::internal 2654 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698