| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 Builtins::c_##name, \ | 186 Builtins::c_##name, \ |
| 187 "Builtins::" #name }, | 187 "Builtins::" #name }, |
| 188 | 188 |
| 189 BUILTIN_LIST_C(DEF_ENTRY_C) | 189 BUILTIN_LIST_C(DEF_ENTRY_C) |
| 190 #undef DEF_ENTRY_C | 190 #undef DEF_ENTRY_C |
| 191 | 191 |
| 192 #define DEF_ENTRY_C(name, ignored) \ | 192 #define DEF_ENTRY_C(name, ignored) \ |
| 193 { BUILTIN, \ | 193 { BUILTIN, \ |
| 194 Builtins::name, \ | 194 Builtins::name, \ |
| 195 "Builtins::" #name }, | 195 "Builtins::" #name }, |
| 196 #define DEF_ENTRY_A(name, kind, state) DEF_ENTRY_C(name, ignored) | 196 #define DEF_ENTRY_A(name, kind, state, extra) DEF_ENTRY_C(name, ignored) |
| 197 | 197 |
| 198 BUILTIN_LIST_C(DEF_ENTRY_C) | 198 BUILTIN_LIST_C(DEF_ENTRY_C) |
| 199 BUILTIN_LIST_A(DEF_ENTRY_A) | 199 BUILTIN_LIST_A(DEF_ENTRY_A) |
| 200 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A) | 200 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A) |
| 201 #undef DEF_ENTRY_C | 201 #undef DEF_ENTRY_C |
| 202 #undef DEF_ENTRY_A | 202 #undef DEF_ENTRY_A |
| 203 | 203 |
| 204 // Runtime functions | 204 // Runtime functions |
| 205 #define RUNTIME_ENTRY(name, nargs, ressize) \ | 205 #define RUNTIME_ENTRY(name, nargs, ressize) \ |
| 206 { RUNTIME_FUNCTION, \ | 206 { RUNTIME_FUNCTION, \ |
| (...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1550 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); | 1550 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); |
| 1551 } | 1551 } |
| 1552 } | 1552 } |
| 1553 int allocation_address = fullness_[space]; | 1553 int allocation_address = fullness_[space]; |
| 1554 fullness_[space] = allocation_address + size; | 1554 fullness_[space] = allocation_address + size; |
| 1555 return allocation_address; | 1555 return allocation_address; |
| 1556 } | 1556 } |
| 1557 | 1557 |
| 1558 | 1558 |
| 1559 } } // namespace v8::internal | 1559 } } // namespace v8::internal |
| OLD | NEW |