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

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

Issue 240193002: Serializer enable/disable flags need thread safety. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code comment response. Created 6 years, 8 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/ia32/assembler-ia32.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 (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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 "f24", 98 "f24",
99 "f26" 99 "f26"
100 }; 100 };
101 return names[index]; 101 return names[index];
102 } 102 }
103 103
104 104
105 void CpuFeatures::Probe() { 105 void CpuFeatures::Probe() {
106 unsigned standard_features = (OS::CpuFeaturesImpliedByPlatform() | 106 unsigned standard_features = (OS::CpuFeaturesImpliedByPlatform() |
107 CpuFeaturesImpliedByCompiler()); 107 CpuFeaturesImpliedByCompiler());
108 ASSERT(supported_ == 0 || supported_ == standard_features); 108 ASSERT(supported_ == 0 ||
109 (supported_ & standard_features) == standard_features);
109 #ifdef DEBUG 110 #ifdef DEBUG
110 initialized_ = true; 111 initialized_ = true;
111 #endif 112 #endif
112 113
113 // Get the features implied by the OS and the compiler settings. This is the 114 // Get the features implied by the OS and the compiler settings. This is the
114 // minimal set of features which is also allowed for generated code in the 115 // minimal set of features which is also allowed for generated code in the
115 // snapshot. 116 // snapshot.
116 supported_ |= standard_features; 117 supported_ |= standard_features;
117 118
118 if (Serializer::enabled()) { 119 if (Serializer::enabled()) {
(...skipping 2223 matching lines...) Expand 10 before | Expand all | Expand 10 after
2342 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { 2343 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {
2343 // No out-of-line constant pool support. 2344 // No out-of-line constant pool support.
2344 ASSERT(!FLAG_enable_ool_constant_pool); 2345 ASSERT(!FLAG_enable_ool_constant_pool);
2345 return; 2346 return;
2346 } 2347 }
2347 2348
2348 2349
2349 } } // namespace v8::internal 2350 } } // namespace v8::internal
2350 2351
2351 #endif // V8_TARGET_ARCH_MIPS 2352 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/mksnapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698