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

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

Issue 565873002: Removing ic.h from code-stubs.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and mips. Created 6 years, 3 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 | « src/assembler.cc ('k') | src/code-stubs.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 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/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/ic/ic.h" 9 #include "src/ic/ic.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 // static 14 // static
15 Callable CodeFactory::LoadIC(Isolate* isolate, ContextualMode mode) { 15 Callable CodeFactory::LoadIC(Isolate* isolate, ContextualMode mode) {
16 return Callable( 16 return Callable(
17 LoadIC::initialize_stub(isolate, LoadIC::State(mode).GetExtraICState()), 17 LoadIC::initialize_stub(isolate, LoadICState(mode).GetExtraICState()),
18 LoadDescriptor(isolate)); 18 LoadDescriptor(isolate));
19 } 19 }
20 20
21 21
22 // static 22 // static
23 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) { 23 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) {
24 return Callable(isolate->builtins()->KeyedLoadIC_Initialize(), 24 return Callable(isolate->builtins()->KeyedLoadIC_Initialize(),
25 LoadDescriptor(isolate)); 25 LoadDescriptor(isolate));
26 } 26 }
27 27
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 // static 84 // static
85 Callable CodeFactory::CallFunction(Isolate* isolate, int argc, 85 Callable CodeFactory::CallFunction(Isolate* isolate, int argc,
86 CallFunctionFlags flags) { 86 CallFunctionFlags flags) {
87 CallFunctionStub stub(isolate, argc, flags); 87 CallFunctionStub stub(isolate, argc, flags);
88 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); 88 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
89 } 89 }
90 90
91 } // namespace internal 91 } // namespace internal
92 } // namespace v8 92 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698