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

Side by Side Diff: src/builtins.cc

Issue 132373011: A64: Synchronize with r17635. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/ast.cc ('k') | src/code-stubs.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 PROFILE(isolate, 1745 PROFILE(isolate,
1746 CodeCreateEvent(Logger::BUILTIN_TAG, 1746 CodeCreateEvent(Logger::BUILTIN_TAG,
1747 Code::cast(code), 1747 Code::cast(code),
1748 functions[i].s_name)); 1748 functions[i].s_name));
1749 GDBJIT(AddCode(GDBJITInterface::BUILTIN, 1749 GDBJIT(AddCode(GDBJITInterface::BUILTIN,
1750 functions[i].s_name, 1750 functions[i].s_name,
1751 Code::cast(code))); 1751 Code::cast(code)));
1752 builtins_[i] = code; 1752 builtins_[i] = code;
1753 #ifdef ENABLE_DISASSEMBLER 1753 #ifdef ENABLE_DISASSEMBLER
1754 if (FLAG_print_builtin_code) { 1754 if (FLAG_print_builtin_code) {
1755 PrintF("Builtin: %s\n", functions[i].s_name); 1755 CodeTracer::Scope trace_scope(isolate->GetCodeTracer());
1756 Code::cast(code)->Disassemble(functions[i].s_name); 1756 PrintF(trace_scope.file(), "Builtin: %s\n", functions[i].s_name);
1757 PrintF("\n"); 1757 Code::cast(code)->Disassemble(functions[i].s_name, trace_scope.file());
1758 PrintF(trace_scope.file(), "\n");
1758 } 1759 }
1759 #endif 1760 #endif
1760 } else { 1761 } else {
1761 // Deserializing. The values will be filled in during IterateBuiltins. 1762 // Deserializing. The values will be filled in during IterateBuiltins.
1762 builtins_[i] = NULL; 1763 builtins_[i] = NULL;
1763 } 1764 }
1764 names_[i] = functions[i].s_name; 1765 names_[i] = functions[i].s_name;
1765 } 1766 }
1766 1767
1767 // Mark as initialized. 1768 // Mark as initialized.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1823 } 1824 }
1824 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1825 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1825 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1826 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1826 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 1827 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
1827 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1828 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1828 #undef DEFINE_BUILTIN_ACCESSOR_C 1829 #undef DEFINE_BUILTIN_ACCESSOR_C
1829 #undef DEFINE_BUILTIN_ACCESSOR_A 1830 #undef DEFINE_BUILTIN_ACCESSOR_A
1830 1831
1831 1832
1832 } } // namespace v8::internal 1833 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698