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

Side by Side Diff: src/bootstrapper.cc

Issue 78813003: Add trigonometric table to the snapshot. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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
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 1874 matching lines...) Expand 10 before | Expand all | Expand 10 after
1885 { 1885 {
1886 Handle<JSFunction> array_function = 1886 Handle<JSFunction> array_function =
1887 InstallInternalArray(builtins, "InternalArray", FAST_HOLEY_ELEMENTS); 1887 InstallInternalArray(builtins, "InternalArray", FAST_HOLEY_ELEMENTS);
1888 native_context()->set_internal_array_function(*array_function); 1888 native_context()->set_internal_array_function(*array_function);
1889 } 1889 }
1890 1890
1891 { 1891 {
1892 InstallInternalArray(builtins, "InternalPackedArray", FAST_ELEMENTS); 1892 InstallInternalArray(builtins, "InternalPackedArray", FAST_ELEMENTS);
1893 } 1893 }
1894 1894
1895 {
1896 InstallInternalArray(builtins, "InternalDoubleArray", FAST_DOUBLE_ELEMENTS);
1897 }
1898
1895 if (FLAG_disable_native_files) { 1899 if (FLAG_disable_native_files) {
1896 PrintF("Warning: Running without installed natives!\n"); 1900 PrintF("Warning: Running without installed natives!\n");
1897 return true; 1901 return true;
1898 } 1902 }
1899 1903
1900 // Install natives. 1904 // Install natives.
1901 for (int i = Natives::GetDebuggerCount(); 1905 for (int i = Natives::GetDebuggerCount();
1902 i < Natives::GetBuiltinsCount(); 1906 i < Natives::GetBuiltinsCount();
1903 i++) { 1907 i++) {
1904 if (!CompileBuiltin(isolate(), i)) return false; 1908 if (!CompileBuiltin(isolate(), i)) return false;
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
2669 return from + sizeof(NestingCounterType); 2673 return from + sizeof(NestingCounterType);
2670 } 2674 }
2671 2675
2672 2676
2673 // Called when the top-level V8 mutex is destroyed. 2677 // Called when the top-level V8 mutex is destroyed.
2674 void Bootstrapper::FreeThreadResources() { 2678 void Bootstrapper::FreeThreadResources() {
2675 ASSERT(!IsActive()); 2679 ASSERT(!IsActive());
2676 } 2680 }
2677 2681
2678 } } // namespace v8::internal 2682 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/code-stubs.cc » ('j') | src/code-stubs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698