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

Side by Side Diff: src/d8.cc

Issue 125133002: ARM: Enable the subnormal floats on QNX. Base URL: git://github.com/v8/v8.git@master
Patch Set: Reworked CL Created 6 years, 11 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
« include/v8.h ('K') | « src/api.cc ('k') | src/mksnapshot.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 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 1650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 virtual void* AllocateUninitialized(size_t length) V8_OVERRIDE { 1661 virtual void* AllocateUninitialized(size_t length) V8_OVERRIDE {
1662 return malloc(0); 1662 return malloc(0);
1663 } 1663 }
1664 virtual void Free(void*, size_t) V8_OVERRIDE { 1664 virtual void Free(void*, size_t) V8_OVERRIDE {
1665 } 1665 }
1666 }; 1666 };
1667 1667
1668 1668
1669 int Shell::Main(int argc, char* argv[]) { 1669 int Shell::Main(int argc, char* argv[]) {
1670 if (!SetOptions(argc, argv)) return 1; 1670 if (!SetOptions(argc, argv)) return 1;
1671 v8::V8::PerThreadSetUp();
1671 v8::V8::InitializeICU(); 1672 v8::V8::InitializeICU();
1672 #ifndef V8_SHARED 1673 #ifndef V8_SHARED
1673 i::FLAG_trace_hydrogen_file = "hydrogen.cfg"; 1674 i::FLAG_trace_hydrogen_file = "hydrogen.cfg";
1674 i::FLAG_redirect_code_traces_to = "code.asm"; 1675 i::FLAG_redirect_code_traces_to = "code.asm";
1675 #else 1676 #else
1676 SetStandaloneFlagsViaCommandLine(); 1677 SetStandaloneFlagsViaCommandLine();
1677 #endif 1678 #endif
1678 ShellArrayBufferAllocator array_buffer_allocator; 1679 ShellArrayBufferAllocator array_buffer_allocator;
1679 MockArrayBufferAllocator mock_arraybuffer_allocator; 1680 MockArrayBufferAllocator mock_arraybuffer_allocator;
1680 if (options.mock_arraybuffer_allocator) { 1681 if (options.mock_arraybuffer_allocator) {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1763 } 1764 }
1764 1765
1765 } // namespace v8 1766 } // namespace v8
1766 1767
1767 1768
1768 #ifndef GOOGLE3 1769 #ifndef GOOGLE3
1769 int main(int argc, char* argv[]) { 1770 int main(int argc, char* argv[]) {
1770 return v8::Shell::Main(argc, argv); 1771 return v8::Shell::Main(argc, argv);
1771 } 1772 }
1772 #endif 1773 #endif
OLDNEW
« include/v8.h ('K') | « src/api.cc ('k') | src/mksnapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698