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

Side by Side Diff: src/bootstrapper.cc

Issue 21014007: This adds new methods to String object: (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: review changes Created 7 years, 4 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
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2061 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_strings &&
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
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
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698