| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 static Callable NumberToString(Isolate* isolate); | 77 static Callable NumberToString(Isolate* isolate); |
| 78 | 78 |
| 79 static Callable RegExpConstructResult(Isolate* isolate); | 79 static Callable RegExpConstructResult(Isolate* isolate); |
| 80 | 80 |
| 81 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, | 81 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, |
| 82 PretenureFlag pretenure_flag); | 82 PretenureFlag pretenure_flag); |
| 83 static Callable StringCompare(Isolate* isolate); | 83 static Callable StringCompare(Isolate* isolate); |
| 84 | 84 |
| 85 static Callable Typeof(Isolate* isolate); | 85 static Callable Typeof(Isolate* isolate); |
| 86 | 86 |
| 87 static Callable FastCloneRegExp(Isolate* isolate); |
| 87 static Callable FastCloneShallowArray(Isolate* isolate); | 88 static Callable FastCloneShallowArray(Isolate* isolate); |
| 88 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 89 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
| 89 | 90 |
| 90 static Callable FastNewContext(Isolate* isolate, int slot_count); | 91 static Callable FastNewContext(Isolate* isolate, int slot_count); |
| 91 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, | 92 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, |
| 92 FunctionKind kind); | 93 FunctionKind kind); |
| 93 | 94 |
| 94 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments, | 95 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments, |
| 95 bool has_duplicate_parameters); | 96 bool has_duplicate_parameters); |
| 96 | 97 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 107 | 108 |
| 108 static Callable InterpreterPushArgsAndCall(Isolate* isolate); | 109 static Callable InterpreterPushArgsAndCall(Isolate* isolate); |
| 109 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 110 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
| 110 static Callable InterpreterCEntry(Isolate* isolate); | 111 static Callable InterpreterCEntry(Isolate* isolate); |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 } // namespace internal | 114 } // namespace internal |
| 114 } // namespace v8 | 115 } // namespace v8 |
| 115 | 116 |
| 116 #endif // V8_CODE_FACTORY_H_ | 117 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |