OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ | 80 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ |
81 \ | 81 \ |
82 V(StrictModePoisonPill, NO_EXTRA_ARGUMENTS) | 82 V(StrictModePoisonPill, NO_EXTRA_ARGUMENTS) |
83 | 83 |
84 // Define list of builtins implemented in assembly. | 84 // Define list of builtins implemented in assembly. |
85 #define BUILTIN_LIST_A(V) \ | 85 #define BUILTIN_LIST_A(V) \ |
86 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ | 86 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ |
87 Code::kNoExtraICState) \ | 87 Code::kNoExtraICState) \ |
88 V(InRecompileQueue, BUILTIN, UNINITIALIZED, \ | 88 V(InRecompileQueue, BUILTIN, UNINITIALIZED, \ |
89 Code::kNoExtraICState) \ | 89 Code::kNoExtraICState) \ |
| 90 V(InstallRecompiledCode, BUILTIN, UNINITIALIZED, \ |
| 91 Code::kNoExtraICState) \ |
90 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \ | 92 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \ |
91 Code::kNoExtraICState) \ | 93 Code::kNoExtraICState) \ |
92 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, \ | 94 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, \ |
93 Code::kNoExtraICState) \ | 95 Code::kNoExtraICState) \ |
94 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, \ | 96 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, \ |
95 Code::kNoExtraICState) \ | 97 Code::kNoExtraICState) \ |
96 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, \ | 98 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, \ |
97 Code::kNoExtraICState) \ | 99 Code::kNoExtraICState) \ |
98 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, \ | 100 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, \ |
99 Code::kNoExtraICState) \ | 101 Code::kNoExtraICState) \ |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 // function f, we use an Object* array here. | 361 // function f, we use an Object* array here. |
360 Object* builtins_[builtin_count]; | 362 Object* builtins_[builtin_count]; |
361 const char* names_[builtin_count]; | 363 const char* names_[builtin_count]; |
362 static const char* const javascript_names_[id_count]; | 364 static const char* const javascript_names_[id_count]; |
363 static int const javascript_argc_[id_count]; | 365 static int const javascript_argc_[id_count]; |
364 | 366 |
365 static void Generate_Adaptor(MacroAssembler* masm, | 367 static void Generate_Adaptor(MacroAssembler* masm, |
366 CFunctionId id, | 368 CFunctionId id, |
367 BuiltinExtraArguments extra_args); | 369 BuiltinExtraArguments extra_args); |
368 static void Generate_InRecompileQueue(MacroAssembler* masm); | 370 static void Generate_InRecompileQueue(MacroAssembler* masm); |
| 371 static void Generate_InstallRecompiledCode(MacroAssembler* masm); |
369 static void Generate_ParallelRecompile(MacroAssembler* masm); | 372 static void Generate_ParallelRecompile(MacroAssembler* masm); |
370 static void Generate_JSConstructStubCountdown(MacroAssembler* masm); | 373 static void Generate_JSConstructStubCountdown(MacroAssembler* masm); |
371 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); | 374 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); |
372 static void Generate_JSConstructStubApi(MacroAssembler* masm); | 375 static void Generate_JSConstructStubApi(MacroAssembler* masm); |
373 static void Generate_JSEntryTrampoline(MacroAssembler* masm); | 376 static void Generate_JSEntryTrampoline(MacroAssembler* masm); |
374 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); | 377 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); |
375 static void Generate_LazyCompile(MacroAssembler* masm); | 378 static void Generate_LazyCompile(MacroAssembler* masm); |
376 static void Generate_LazyRecompile(MacroAssembler* masm); | 379 static void Generate_LazyRecompile(MacroAssembler* masm); |
377 static void Generate_NotifyDeoptimized(MacroAssembler* masm); | 380 static void Generate_NotifyDeoptimized(MacroAssembler* masm); |
378 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); | 381 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); |
(...skipping 25 matching lines...) Expand all Loading... |
404 | 407 |
405 friend class BuiltinFunctionTable; | 408 friend class BuiltinFunctionTable; |
406 friend class Isolate; | 409 friend class Isolate; |
407 | 410 |
408 DISALLOW_COPY_AND_ASSIGN(Builtins); | 411 DISALLOW_COPY_AND_ASSIGN(Builtins); |
409 }; | 412 }; |
410 | 413 |
411 } } // namespace v8::internal | 414 } } // namespace v8::internal |
412 | 415 |
413 #endif // V8_BUILTINS_H_ | 416 #endif // V8_BUILTINS_H_ |
OLD | NEW |