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

Side by Side Diff: src/builtins.cc

Issue 1935: New static flags system (Closed)
Patch Set: Merge, again. Created 12 years, 3 months 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins-ia32.cc » ('j') | 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 16 matching lines...) Expand all
27 27
28 #include "v8.h" 28 #include "v8.h"
29 29
30 #include "api.h" 30 #include "api.h"
31 #include "bootstrapper.h" 31 #include "bootstrapper.h"
32 #include "builtins.h" 32 #include "builtins.h"
33 #include "ic-inl.h" 33 #include "ic-inl.h"
34 34
35 namespace v8 { namespace internal { 35 namespace v8 { namespace internal {
36 36
37 #ifdef DEBUG
38 DECLARE_bool(print_builtin_code);
39 #endif // DEBUG
40
41
42 // ---------------------------------------------------------------------------- 37 // ----------------------------------------------------------------------------
43 // Support macros for defining builtins in C. 38 // Support macros for defining builtins in C.
44 // ---------------------------------------------------------------------------- 39 // ----------------------------------------------------------------------------
45 // 40 //
46 // A builtin function is defined by writing: 41 // A builtin function is defined by writing:
47 // 42 //
48 // BUILTIN_<n>(name, ...) 43 // BUILTIN_<n>(name, ...)
49 // { 44 // {
50 // ... 45 // ...
51 // } 46 // }
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 if (entry->contains(pc)) { 743 if (entry->contains(pc)) {
749 return names_[i]; 744 return names_[i];
750 } 745 }
751 } 746 }
752 } 747 }
753 return NULL; 748 return NULL;
754 } 749 }
755 750
756 751
757 } } // namespace v8::internal 752 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698