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

Side by Side Diff: src/bootstrapper.cc

Issue 335423002: Add @@iterator support for strings (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed @@iterator property attributes Created 6 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
« no previous file with comments | « no previous file | src/string-iterator.js » ('j') | test/mjsunit/harmony/string-iterator.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/isolate-inl.h" 8 #include "src/isolate-inl.h"
9 #include "src/natives.h" 9 #include "src/natives.h"
10 #include "src/snapshot.h" 10 #include "src/snapshot.h"
(...skipping 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after
2045 bool Genesis::InstallExperimentalNatives() { 2045 bool Genesis::InstallExperimentalNatives() {
2046 for (int i = ExperimentalNatives::GetDebuggerCount(); 2046 for (int i = ExperimentalNatives::GetDebuggerCount();
2047 i < ExperimentalNatives::GetBuiltinsCount(); 2047 i < ExperimentalNatives::GetBuiltinsCount();
2048 i++) { 2048 i++) {
2049 INSTALL_EXPERIMENTAL_NATIVE(i, symbols, "symbol.js") 2049 INSTALL_EXPERIMENTAL_NATIVE(i, symbols, "symbol.js")
2050 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") 2050 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js")
2051 INSTALL_EXPERIMENTAL_NATIVE(i, collections, "collection.js") 2051 INSTALL_EXPERIMENTAL_NATIVE(i, collections, "collection.js")
2052 INSTALL_EXPERIMENTAL_NATIVE(i, collections, "collection-iterator.js") 2052 INSTALL_EXPERIMENTAL_NATIVE(i, collections, "collection-iterator.js")
2053 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js") 2053 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js")
2054 INSTALL_EXPERIMENTAL_NATIVE(i, iteration, "array-iterator.js") 2054 INSTALL_EXPERIMENTAL_NATIVE(i, iteration, "array-iterator.js")
2055 INSTALL_EXPERIMENTAL_NATIVE(i, iteration, "string-iterator.js")
2055 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") 2056 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js")
2056 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") 2057 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js")
2057 INSTALL_EXPERIMENTAL_NATIVE(i, maths, "harmony-math.js") 2058 INSTALL_EXPERIMENTAL_NATIVE(i, maths, "harmony-math.js")
2058 } 2059 }
2059 2060
2060 InstallExperimentalNativeFunctions(); 2061 InstallExperimentalNativeFunctions();
2061 InstallExperimentalBuiltinFunctionIds(); 2062 InstallExperimentalBuiltinFunctionIds();
2062 return true; 2063 return true;
2063 } 2064 }
2064 2065
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
2742 return from + sizeof(NestingCounterType); 2743 return from + sizeof(NestingCounterType);
2743 } 2744 }
2744 2745
2745 2746
2746 // Called when the top-level V8 mutex is destroyed. 2747 // Called when the top-level V8 mutex is destroyed.
2747 void Bootstrapper::FreeThreadResources() { 2748 void Bootstrapper::FreeThreadResources() {
2748 ASSERT(!IsActive()); 2749 ASSERT(!IsActive());
2749 } 2750 }
2750 2751
2751 } } // namespace v8::internal 2752 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/string-iterator.js » ('j') | test/mjsunit/harmony/string-iterator.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698