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

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

Issue 1347913003: [stubs] Refactor StringCompareStub and use it for HStringCompareAndBranch. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 static Callable ToBoolean( 71 static Callable ToBoolean(
72 Isolate* isolate, ToBooleanStub::ResultMode mode, 72 Isolate* isolate, ToBooleanStub::ResultMode mode,
73 ToBooleanStub::Types types = ToBooleanStub::Types()); 73 ToBooleanStub::Types types = ToBooleanStub::Types());
74 74
75 static Callable ToNumber(Isolate* isolate); 75 static Callable ToNumber(Isolate* isolate);
76 static Callable ToString(Isolate* isolate); 76 static Callable ToString(Isolate* isolate);
77 static Callable ToObject(Isolate* isolate); 77 static Callable ToObject(Isolate* isolate);
78 78
79 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, 79 static Callable StringAdd(Isolate* isolate, StringAddFlags flags,
80 PretenureFlag pretenure_flag); 80 PretenureFlag pretenure_flag);
81 static Callable StringCompare(Isolate* isolate);
81 82
82 static Callable Typeof(Isolate* isolate); 83 static Callable Typeof(Isolate* isolate);
83 84
84 static Callable FastCloneShallowArray(Isolate* isolate); 85 static Callable FastCloneShallowArray(Isolate* isolate);
85 static Callable FastCloneShallowObject(Isolate* isolate, int length); 86 static Callable FastCloneShallowObject(Isolate* isolate, int length);
86 87
87 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, 88 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode,
88 FunctionKind kind); 89 FunctionKind kind);
89 90
90 static Callable AllocateHeapNumber(Isolate* isolate); 91 static Callable AllocateHeapNumber(Isolate* isolate);
91 92
92 static Callable CallFunction(Isolate* isolate, int argc, 93 static Callable CallFunction(Isolate* isolate, int argc,
93 CallFunctionFlags flags); 94 CallFunctionFlags flags);
94 95
95 static Callable PushArgsAndCall(Isolate* isolate); 96 static Callable PushArgsAndCall(Isolate* isolate);
96 }; 97 };
97 98
98 } // namespace internal 99 } // namespace internal
99 } // namespace v8 100 } // namespace v8
100 101
101 #endif // V8_CODE_FACTORY_H_ 102 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698