| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 V(Quinquagenarian, A) \ | 43 V(Quinquagenarian, A) \ |
| 44 V(Sexagenarian, A) \ | 44 V(Sexagenarian, A) \ |
| 45 V(Septuagenarian, A) \ | 45 V(Septuagenarian, A) \ |
| 46 V(Octogenarian, A) | 46 V(Octogenarian, A) |
| 47 | 47 |
| 48 #define CODE_AGE_LIST_IGNORE_ARG(X, V) V(X) | 48 #define CODE_AGE_LIST_IGNORE_ARG(X, V) V(X) |
| 49 | 49 |
| 50 #define CODE_AGE_LIST(V) \ | 50 #define CODE_AGE_LIST(V) \ |
| 51 CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) | 51 CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) |
| 52 | 52 |
| 53 #define CODE_AGE_LIST_WITH_NO_AGE(V) \ |
| 54 V(NoAge) \ |
| 55 CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) |
| 56 |
| 53 #define DECLARE_CODE_AGE_BUILTIN(C, V) \ | 57 #define DECLARE_CODE_AGE_BUILTIN(C, V) \ |
| 54 V(Make##C##CodeYoungAgainOddMarking, BUILTIN, \ | 58 V(Make##C##CodeYoungAgainOddMarking, BUILTIN, \ |
| 55 UNINITIALIZED, Code::kNoExtraICState) \ | 59 UNINITIALIZED, Code::kNoExtraICState) \ |
| 56 V(Make##C##CodeYoungAgainEvenMarking, BUILTIN, \ | 60 V(Make##C##CodeYoungAgainEvenMarking, BUILTIN, \ |
| 57 UNINITIALIZED, Code::kNoExtraICState) | 61 UNINITIALIZED, Code::kNoExtraICState) |
| 58 | 62 |
| 59 | 63 |
| 60 // Define list of builtins implemented in C++. | 64 // Define list of builtins implemented in C++. |
| 61 #define BUILTIN_LIST_C(V) \ | 65 #define BUILTIN_LIST_C(V) \ |
| 62 V(Illegal, NO_EXTRA_ARGUMENTS) \ | 66 V(Illegal, NO_EXTRA_ARGUMENTS) \ |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 | 431 |
| 428 friend class BuiltinFunctionTable; | 432 friend class BuiltinFunctionTable; |
| 429 friend class Isolate; | 433 friend class Isolate; |
| 430 | 434 |
| 431 DISALLOW_COPY_AND_ASSIGN(Builtins); | 435 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 432 }; | 436 }; |
| 433 | 437 |
| 434 } } // namespace v8::internal | 438 } } // namespace v8::internal |
| 435 | 439 |
| 436 #endif // V8_BUILTINS_H_ | 440 #endif // V8_BUILTINS_H_ |
| OLD | NEW |