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

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

Issue 1818923002: [stubs] Split ToNumberStub into reusable subparts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE Created 4 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/bailout-reason.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 static Callable BinaryOpIC(Isolate* isolate, Token::Value op); 60 static Callable BinaryOpIC(Isolate* isolate, Token::Value op);
61 61
62 // Code stubs. Add methods here as needed to reduce dependency on 62 // Code stubs. Add methods here as needed to reduce dependency on
63 // code-stubs.h. 63 // code-stubs.h.
64 static Callable InstanceOf(Isolate* isolate); 64 static Callable InstanceOf(Isolate* isolate);
65 65
66 static Callable ToBoolean(Isolate* isolate); 66 static Callable ToBoolean(Isolate* isolate);
67 67
68 static Callable ToNumber(Isolate* isolate); 68 static Callable ToNumber(Isolate* isolate);
69 static Callable NonNumberToNumber(Isolate* isolate);
70 static Callable StringToNumber(Isolate* isolate);
69 static Callable ToString(Isolate* isolate); 71 static Callable ToString(Isolate* isolate);
70 static Callable ToName(Isolate* isolate); 72 static Callable ToName(Isolate* isolate);
71 static Callable ToLength(Isolate* isolate); 73 static Callable ToLength(Isolate* isolate);
72 static Callable ToObject(Isolate* isolate); 74 static Callable ToObject(Isolate* isolate);
73 static Callable NumberToString(Isolate* isolate); 75 static Callable NumberToString(Isolate* isolate);
74 76
75 static Callable RegExpConstructResult(Isolate* isolate); 77 static Callable RegExpConstructResult(Isolate* isolate);
76 static Callable RegExpExec(Isolate* isolate); 78 static Callable RegExpExec(Isolate* isolate);
77 79
78 static Callable LessThan(Isolate* isolate); 80 static Callable LessThan(Isolate* isolate);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 static Callable InterpreterPushArgsAndCall(Isolate* isolate, 127 static Callable InterpreterPushArgsAndCall(Isolate* isolate,
126 TailCallMode tail_call_mode); 128 TailCallMode tail_call_mode);
127 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 129 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
128 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 130 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
129 }; 131 };
130 132
131 } // namespace internal 133 } // namespace internal
132 } // namespace v8 134 } // namespace v8
133 135
134 #endif // V8_CODE_FACTORY_H_ 136 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/bailout-reason.h ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698