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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
192 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ | 192 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ |
193 V(FunctionCall, BUILTIN, UNINITIALIZED, \ | 193 V(FunctionCall, BUILTIN, UNINITIALIZED, \ |
194 Code::kNoExtraICState) \ | 194 Code::kNoExtraICState) \ |
195 V(FunctionApply, BUILTIN, UNINITIALIZED, \ | 195 V(FunctionApply, BUILTIN, UNINITIALIZED, \ |
196 Code::kNoExtraICState) \ | 196 Code::kNoExtraICState) \ |
197 \ | 197 \ |
198 V(InternalArrayCode, BUILTIN, UNINITIALIZED, \ | 198 V(InternalArrayCode, BUILTIN, UNINITIALIZED, \ |
199 Code::kNoExtraICState) \ | 199 Code::kNoExtraICState) \ |
200 V(ArrayCode, BUILTIN, UNINITIALIZED, \ | 200 V(ArrayCode, BUILTIN, UNINITIALIZED, \ |
201 Code::kNoExtraICState) \ | 201 Code::kNoExtraICState) \ |
202 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \ | 202 V(InternalArrayConstructCode, BUILTIN, UNINITIALIZED, \ |
203 Code::kNoExtraICState) \ | 203 Code::kNoExtraICState) \ |
Hannes Payer (out of office)
2013/04/18 11:14:39
can you bring back the empty line?
mvstanton
2013/04/18 13:39:26
Done.
| |
204 \ | |
205 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ | 204 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ |
206 Code::kNoExtraICState) \ | 205 Code::kNoExtraICState) \ |
207 \ | 206 \ |
208 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ | 207 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ |
209 Code::kNoExtraICState) \ | 208 Code::kNoExtraICState) \ |
210 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) | 209 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) |
211 | 210 |
212 #ifdef ENABLE_DEBUGGER_SUPPORT | 211 #ifdef ENABLE_DEBUGGER_SUPPORT |
213 // Define list of builtins used by the debugger implemented in assembly. | 212 // Define list of builtins used by the debugger implemented in assembly. |
214 #define BUILTIN_LIST_DEBUG_A(V) \ | 213 #define BUILTIN_LIST_DEBUG_A(V) \ |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
379 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); | 378 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); |
380 static void Generate_NotifyOSR(MacroAssembler* masm); | 379 static void Generate_NotifyOSR(MacroAssembler* masm); |
381 static void Generate_NotifyStubFailure(MacroAssembler* masm); | 380 static void Generate_NotifyStubFailure(MacroAssembler* masm); |
382 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); | 381 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); |
383 | 382 |
384 static void Generate_FunctionCall(MacroAssembler* masm); | 383 static void Generate_FunctionCall(MacroAssembler* masm); |
385 static void Generate_FunctionApply(MacroAssembler* masm); | 384 static void Generate_FunctionApply(MacroAssembler* masm); |
386 | 385 |
387 static void Generate_InternalArrayCode(MacroAssembler* masm); | 386 static void Generate_InternalArrayCode(MacroAssembler* masm); |
388 static void Generate_ArrayCode(MacroAssembler* masm); | 387 static void Generate_ArrayCode(MacroAssembler* masm); |
389 static void Generate_ArrayConstructCode(MacroAssembler* masm); | 388 static void Generate_InternalArrayConstructCode(MacroAssembler* masm); |
390 | 389 |
391 static void Generate_StringConstructCode(MacroAssembler* masm); | 390 static void Generate_StringConstructCode(MacroAssembler* masm); |
392 static void Generate_OnStackReplacement(MacroAssembler* masm); | 391 static void Generate_OnStackReplacement(MacroAssembler* masm); |
393 | 392 |
394 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ | 393 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ |
395 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ | 394 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ |
396 MacroAssembler* masm); \ | 395 MacroAssembler* masm); \ |
397 static void Generate_Make##C##CodeYoungAgainOddMarking( \ | 396 static void Generate_Make##C##CodeYoungAgainOddMarking( \ |
398 MacroAssembler* masm); | 397 MacroAssembler* masm); |
399 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) | 398 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) |
400 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR | 399 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR |
401 | 400 |
402 static void InitBuiltinFunctionTable(); | 401 static void InitBuiltinFunctionTable(); |
403 | 402 |
404 bool initialized_; | 403 bool initialized_; |
405 | 404 |
406 friend class BuiltinFunctionTable; | 405 friend class BuiltinFunctionTable; |
407 friend class Isolate; | 406 friend class Isolate; |
408 | 407 |
409 DISALLOW_COPY_AND_ASSIGN(Builtins); | 408 DISALLOW_COPY_AND_ASSIGN(Builtins); |
410 }; | 409 }; |
411 | 410 |
412 } } // namespace v8::internal | 411 } } // namespace v8::internal |
413 | 412 |
414 #endif // V8_BUILTINS_H_ | 413 #endif // V8_BUILTINS_H_ |
OLD | NEW |