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

Side by Side Diff: src/code-factory.cc

Issue 2636913002: [liveedit] reimplement frame restarting. (Closed)
Patch Set: rebase Created 3 years, 10 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/code-factory.h ('k') | src/compiler/ast-graph-builder.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/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); 305 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
306 } 306 }
307 307
308 // static 308 // static
309 Callable CodeFactory::ResumeGenerator(Isolate* isolate) { 309 Callable CodeFactory::ResumeGenerator(Isolate* isolate) {
310 return Callable(isolate->builtins()->ResumeGeneratorTrampoline(), 310 return Callable(isolate->builtins()->ResumeGeneratorTrampoline(),
311 ResumeGeneratorDescriptor(isolate)); 311 ResumeGeneratorDescriptor(isolate));
312 } 312 }
313 313
314 // static 314 // static
315 Callable CodeFactory::FrameDropperTrampoline(Isolate* isolate) {
316 return Callable(isolate->builtins()->FrameDropperTrampoline(),
317 FrameDropperTrampolineDescriptor(isolate));
318 }
319
320 // static
321 Callable CodeFactory::HandleDebuggerStatement(Isolate* isolate) {
322 return Callable(isolate->builtins()->HandleDebuggerStatement(),
323 ContextOnlyDescriptor(isolate));
324 }
325
326 // static
315 Callable CodeFactory::FastCloneShallowArray( 327 Callable CodeFactory::FastCloneShallowArray(
316 Isolate* isolate, AllocationSiteMode allocation_mode) { 328 Isolate* isolate, AllocationSiteMode allocation_mode) {
317 return Callable(isolate->builtins()->NewCloneShallowArray(allocation_mode), 329 return Callable(isolate->builtins()->NewCloneShallowArray(allocation_mode),
318 FastCloneShallowArrayDescriptor(isolate)); 330 FastCloneShallowArrayDescriptor(isolate));
319 } 331 }
320 332
321 // static 333 // static
322 Callable CodeFactory::FastCloneShallowObject(Isolate* isolate, int length) { 334 Callable CodeFactory::FastCloneShallowObject(Isolate* isolate, int length) {
323 return Callable(isolate->builtins()->NewCloneShallowObject(length), 335 return Callable(isolate->builtins()->NewCloneShallowObject(length),
324 FastCloneShallowObjectDescriptor(isolate)); 336 FastCloneShallowObjectDescriptor(isolate));
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 } 475 }
464 476
465 // static 477 // static
466 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 478 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
467 return Callable(isolate->builtins()->FunctionPrototypeBind(), 479 return Callable(isolate->builtins()->FunctionPrototypeBind(),
468 BuiltinDescriptor(isolate)); 480 BuiltinDescriptor(isolate));
469 } 481 }
470 482
471 } // namespace internal 483 } // namespace internal
472 } // namespace v8 484 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698