| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 static Callable StringGreaterThan(Isolate* isolate); | 117 static Callable StringGreaterThan(Isolate* isolate); |
| 118 static Callable StringGreaterThanOrEqual(Isolate* isolate); | 118 static Callable StringGreaterThanOrEqual(Isolate* isolate); |
| 119 static Callable SubString(Isolate* isolate); | 119 static Callable SubString(Isolate* isolate); |
| 120 | 120 |
| 121 static Callable Typeof(Isolate* isolate); | 121 static Callable Typeof(Isolate* isolate); |
| 122 | 122 |
| 123 static Callable FastCloneRegExp(Isolate* isolate); | 123 static Callable FastCloneRegExp(Isolate* isolate); |
| 124 static Callable FastCloneShallowArray(Isolate* isolate); | 124 static Callable FastCloneShallowArray(Isolate* isolate); |
| 125 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 125 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
| 126 | 126 |
| 127 static Callable FastNewFunctionContext(Isolate* isolate); | 127 static Callable FastNewFunctionContext(Isolate* isolate, bool for_eval); |
| 128 static Callable FastNewClosure(Isolate* isolate); | 128 static Callable FastNewClosure(Isolate* isolate); |
| 129 static Callable FastNewObject(Isolate* isolate); | 129 static Callable FastNewObject(Isolate* isolate); |
| 130 static Callable FastNewRestParameter(Isolate* isolate, | 130 static Callable FastNewRestParameter(Isolate* isolate, |
| 131 bool skip_stub_frame = false); | 131 bool skip_stub_frame = false); |
| 132 static Callable FastNewSloppyArguments(Isolate* isolate, | 132 static Callable FastNewSloppyArguments(Isolate* isolate, |
| 133 bool skip_stub_frame = false); | 133 bool skip_stub_frame = false); |
| 134 static Callable FastNewStrictArguments(Isolate* isolate, | 134 static Callable FastNewStrictArguments(Isolate* isolate, |
| 135 bool skip_stub_frame = false); | 135 bool skip_stub_frame = false); |
| 136 | 136 |
| 137 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 137 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 162 Isolate* isolate, CallableType function_type = CallableType::kAny); | 162 Isolate* isolate, CallableType function_type = CallableType::kAny); |
| 163 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); | 163 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); |
| 164 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 164 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
| 165 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 165 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 } // namespace internal | 168 } // namespace internal |
| 169 } // namespace v8 | 169 } // namespace v8 |
| 170 | 170 |
| 171 #endif // V8_CODE_FACTORY_H_ | 171 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |