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

Side by Side Diff: src/mips/assembler-mips.cc

Issue 26680002: Ensure only whitelisted stubs have sse2 versions in the snapshot. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: string add is unsafe since it has a double saving centry stub Created 7 years, 2 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/mips/assembler-mips.h ('k') | src/x64/assembler-x64.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 30 matching lines...) Expand all
41 #include "serialize.h" 41 #include "serialize.h"
42 42
43 namespace v8 { 43 namespace v8 {
44 namespace internal { 44 namespace internal {
45 45
46 #ifdef DEBUG 46 #ifdef DEBUG
47 bool CpuFeatures::initialized_ = false; 47 bool CpuFeatures::initialized_ = false;
48 #endif 48 #endif
49 unsigned CpuFeatures::supported_ = 0; 49 unsigned CpuFeatures::supported_ = 0;
50 unsigned CpuFeatures::found_by_runtime_probing_only_ = 0; 50 unsigned CpuFeatures::found_by_runtime_probing_only_ = 0;
51 unsigned CpuFeatures::cross_compile_ = 0;
51 52
52 53
53 ExternalReference ExternalReference::cpu_features() { 54 ExternalReference ExternalReference::cpu_features() {
54 ASSERT(CpuFeatures::initialized_); 55 ASSERT(CpuFeatures::initialized_);
55 return ExternalReference(&CpuFeatures::supported_); 56 return ExternalReference(&CpuFeatures::supported_);
56 } 57 }
57 58
58 59
59 // Get the CPU features enabled by the build. For cross compilation the 60 // Get the CPU features enabled by the build. For cross compilation the
60 // preprocessor symbols CAN_USE_FPU_INSTRUCTIONS 61 // preprocessor symbols CAN_USE_FPU_INSTRUCTIONS
(...skipping 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after
2292 } 2293 }
2293 2294
2294 if (patched) { 2295 if (patched) {
2295 CPU::FlushICache(pc+2, sizeof(Address)); 2296 CPU::FlushICache(pc+2, sizeof(Address));
2296 } 2297 }
2297 } 2298 }
2298 2299
2299 } } // namespace v8::internal 2300 } } // namespace v8::internal
2300 2301
2301 #endif // V8_TARGET_ARCH_MIPS 2302 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698