OLD | NEW |
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 LanguageMode language_mode); | 67 LanguageMode language_mode); |
68 | 68 |
69 static Callable InstanceOf(Isolate* isolate); | 69 static Callable InstanceOf(Isolate* isolate); |
70 | 70 |
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 ToLength(Isolate* isolate); |
77 static Callable ToObject(Isolate* isolate); | 78 static Callable ToObject(Isolate* isolate); |
78 | 79 |
79 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, | 80 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, |
80 PretenureFlag pretenure_flag); | 81 PretenureFlag pretenure_flag); |
81 static Callable StringCompare(Isolate* isolate); | 82 static Callable StringCompare(Isolate* isolate); |
82 | 83 |
83 static Callable Typeof(Isolate* isolate); | 84 static Callable Typeof(Isolate* isolate); |
84 | 85 |
85 static Callable FastCloneShallowArray(Isolate* isolate); | 86 static Callable FastCloneShallowArray(Isolate* isolate); |
86 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 87 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
(...skipping 13 matching lines...) Expand all Loading... |
100 | 101 |
101 static Callable InterpreterPushArgsAndCall(Isolate* isolate); | 102 static Callable InterpreterPushArgsAndCall(Isolate* isolate); |
102 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 103 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
103 static Callable InterpreterCEntry(Isolate* isolate); | 104 static Callable InterpreterCEntry(Isolate* isolate); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace internal | 107 } // namespace internal |
107 } // namespace v8 | 108 } // namespace v8 |
108 | 109 |
109 #endif // V8_CODE_FACTORY_H_ | 110 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |