| OLD | NEW |
| 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 22 matching lines...) Expand all Loading... |
| 33 // Copyright 2012 the V8 project authors. All rights reserved. | 33 // Copyright 2012 the V8 project authors. All rights reserved. |
| 34 | 34 |
| 35 | 35 |
| 36 #include "src/v8.h" | 36 #include "src/v8.h" |
| 37 | 37 |
| 38 #if V8_TARGET_ARCH_MIPS | 38 #if V8_TARGET_ARCH_MIPS |
| 39 | 39 |
| 40 #include "src/base/bits.h" | 40 #include "src/base/bits.h" |
| 41 #include "src/base/cpu.h" | 41 #include "src/base/cpu.h" |
| 42 #include "src/mips/assembler-mips-inl.h" | 42 #include "src/mips/assembler-mips-inl.h" |
| 43 #include "src/serialize.h" | |
| 44 | 43 |
| 45 namespace v8 { | 44 namespace v8 { |
| 46 namespace internal { | 45 namespace internal { |
| 47 | 46 |
| 48 // Get the CPU features enabled by the build. For cross compilation the | 47 // Get the CPU features enabled by the build. For cross compilation the |
| 49 // preprocessor symbols CAN_USE_FPU_INSTRUCTIONS | 48 // preprocessor symbols CAN_USE_FPU_INSTRUCTIONS |
| 50 // can be defined to enable FPU instructions when building the | 49 // can be defined to enable FPU instructions when building the |
| 51 // snapshot. | 50 // snapshot. |
| 52 static unsigned CpuFeaturesImpliedByCompiler() { | 51 static unsigned CpuFeaturesImpliedByCompiler() { |
| 53 unsigned answer = 0; | 52 unsigned answer = 0; |
| (...skipping 2696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2750 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { | 2749 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
| 2751 // No out-of-line constant pool support. | 2750 // No out-of-line constant pool support. |
| 2752 DCHECK(!FLAG_enable_ool_constant_pool); | 2751 DCHECK(!FLAG_enable_ool_constant_pool); |
| 2753 return; | 2752 return; |
| 2754 } | 2753 } |
| 2755 | 2754 |
| 2756 | 2755 |
| 2757 } } // namespace v8::internal | 2756 } } // namespace v8::internal |
| 2758 | 2757 |
| 2759 #endif // V8_TARGET_ARCH_MIPS | 2758 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |