OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 | 463 |
464 #define DEF_ENTRY_C(name) \ | 464 #define DEF_ENTRY_C(name) \ |
465 Add(Builtins::builtin_address(Builtins::name), \ | 465 Add(Builtins::builtin_address(Builtins::name), \ |
466 BUILTIN, \ | 466 BUILTIN, \ |
467 Builtins::name, \ | 467 Builtins::name, \ |
468 "Builtins::" #name); | 468 "Builtins::" #name); |
469 #define DEF_ENTRY_A(name, kind, state) DEF_ENTRY_C(name) | 469 #define DEF_ENTRY_A(name, kind, state) DEF_ENTRY_C(name) |
470 | 470 |
471 BUILTIN_LIST_C(DEF_ENTRY_C) | 471 BUILTIN_LIST_C(DEF_ENTRY_C) |
472 BUILTIN_LIST_A(DEF_ENTRY_A) | 472 BUILTIN_LIST_A(DEF_ENTRY_A) |
| 473 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A) |
473 #undef DEF_ENTRY_C | 474 #undef DEF_ENTRY_C |
474 #undef DEF_ENTRY_A | 475 #undef DEF_ENTRY_A |
475 | 476 |
476 // Runtime functions | 477 // Runtime functions |
477 #define RUNTIME_ENTRY(name, nargs) \ | 478 #define RUNTIME_ENTRY(name, nargs) \ |
478 Add(Runtime::FunctionForId(Runtime::k##name)->entry, \ | 479 Add(Runtime::FunctionForId(Runtime::k##name)->entry, \ |
479 RUNTIME_FUNCTION, \ | 480 RUNTIME_FUNCTION, \ |
480 Runtime::k##name, \ | 481 Runtime::k##name, \ |
481 "Runtime::" #name); | 482 "Runtime::" #name); |
482 | 483 |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1514 ASSERT(index < large_objects_.length()); | 1515 ASSERT(index < large_objects_.length()); |
1515 } | 1516 } |
1516 return large_objects_[index]; // s.page_offset() is ignored. | 1517 return large_objects_[index]; // s.page_offset() is ignored. |
1517 } | 1518 } |
1518 UNREACHABLE(); | 1519 UNREACHABLE(); |
1519 return NULL; | 1520 return NULL; |
1520 } | 1521 } |
1521 | 1522 |
1522 | 1523 |
1523 } } // namespace v8::internal | 1524 } } // namespace v8::internal |
OLD | NEW |