Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: src/serialize.cc

Issue 13241: Moved the builtins used by the debugger to a separate list. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/builtins.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698