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

Side by Side Diff: src/runtime/runtime-generator.cc

Issue 983623002: Made the entries of the various *_FUNCTION_LISTs disjoint. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « src/runtime/runtime-function.cc ('k') | src/runtime/runtime-internal.cc » ('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 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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/arguments.h" 7 #include "src/arguments.h"
8 #include "src/frames-inl.h" 8 #include "src/frames-inl.h"
9 #include "src/runtime/runtime-utils.h" 9 #include "src/runtime/runtime-utils.h"
10 10
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 207
208 RUNTIME_FUNCTION(Runtime_FunctionIsGenerator) { 208 RUNTIME_FUNCTION(Runtime_FunctionIsGenerator) {
209 SealHandleScope shs(isolate); 209 SealHandleScope shs(isolate);
210 DCHECK(args.length() == 1); 210 DCHECK(args.length() == 1);
211 CONVERT_ARG_CHECKED(JSFunction, f, 0); 211 CONVERT_ARG_CHECKED(JSFunction, f, 0);
212 return isolate->heap()->ToBoolean(f->shared()->is_generator()); 212 return isolate->heap()->ToBoolean(f->shared()->is_generator());
213 } 213 }
214 214
215 215
216 RUNTIME_FUNCTION(RuntimeReference_GeneratorNext) { 216 RUNTIME_FUNCTION(Runtime_GeneratorNext) {
217 UNREACHABLE(); // Optimization disabled in SetUpGenerators(). 217 UNREACHABLE(); // Optimization disabled in SetUpGenerators().
218 return NULL; 218 return NULL;
219 } 219 }
220 220
221 221
222 RUNTIME_FUNCTION(RuntimeReference_GeneratorThrow) { 222 RUNTIME_FUNCTION(Runtime_GeneratorThrow) {
223 UNREACHABLE(); // Optimization disabled in SetUpGenerators(). 223 UNREACHABLE(); // Optimization disabled in SetUpGenerators().
224 return NULL; 224 return NULL;
225 } 225 }
226 } 226 }
227 } // namespace v8::internal 227 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime/runtime-function.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698