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

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

Issue 1097963002: [turbofan] Use FastCloneShallow[Array|Object]Stub if possible. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. Created 5 years, 8 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/ast.h ('k') | src/code-factory.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_CODE_FACTORY_H_ 5 #ifndef V8_CODE_FACTORY_H_
6 #define V8_CODE_FACTORY_H_ 6 #define V8_CODE_FACTORY_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // code-stubs.h. 58 // code-stubs.h.
59 static Callable ToBoolean( 59 static Callable ToBoolean(
60 Isolate* isolate, ToBooleanStub::ResultMode mode, 60 Isolate* isolate, ToBooleanStub::ResultMode mode,
61 ToBooleanStub::Types types = ToBooleanStub::Types()); 61 ToBooleanStub::Types types = ToBooleanStub::Types());
62 62
63 static Callable ToNumber(Isolate* isolate); 63 static Callable ToNumber(Isolate* isolate);
64 64
65 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, 65 static Callable StringAdd(Isolate* isolate, StringAddFlags flags,
66 PretenureFlag pretenure_flag); 66 PretenureFlag pretenure_flag);
67 67
68 static Callable FastCloneShallowArray(Isolate* isolate);
69 static Callable FastCloneShallowObject(Isolate* isolate, int length);
70
68 static Callable AllocateHeapNumber(Isolate* isolate); 71 static Callable AllocateHeapNumber(Isolate* isolate);
69 72
70 static Callable CallFunction(Isolate* isolate, int argc, 73 static Callable CallFunction(Isolate* isolate, int argc,
71 CallFunctionFlags flags); 74 CallFunctionFlags flags);
72 }; 75 };
73 76
74 } // namespace internal 77 } // namespace internal
75 } // namespace v8 78 } // namespace v8
76 79
77 #endif // V8_CODE_FACTORY_H_ 80 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698