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 20 matching lines...) Expand all Loading... |
31 // The original source code covered by the above license above has been | 31 // The original source code covered by the above license above has been |
32 // modified significantly by Google Inc. | 32 // modified significantly by Google Inc. |
33 // Copyright 2012 the V8 project authors. All rights reserved. | 33 // Copyright 2012 the V8 project authors. All rights reserved. |
34 | 34 |
35 #include "src/v8.h" | 35 #include "src/v8.h" |
36 | 36 |
37 #if V8_TARGET_ARCH_MIPS64 | 37 #if V8_TARGET_ARCH_MIPS64 |
38 | 38 |
39 #include "src/base/cpu.h" | 39 #include "src/base/cpu.h" |
40 #include "src/mips64/assembler-mips64-inl.h" | 40 #include "src/mips64/assembler-mips64-inl.h" |
41 #include "src/serialize.h" | |
42 | 41 |
43 namespace v8 { | 42 namespace v8 { |
44 namespace internal { | 43 namespace internal { |
45 | 44 |
46 | 45 |
47 // Get the CPU features enabled by the build. For cross compilation the | 46 // Get the CPU features enabled by the build. For cross compilation the |
48 // preprocessor symbols CAN_USE_FPU_INSTRUCTIONS | 47 // preprocessor symbols CAN_USE_FPU_INSTRUCTIONS |
49 // can be defined to enable FPU instructions when building the | 48 // can be defined to enable FPU instructions when building the |
50 // snapshot. | 49 // snapshot. |
51 static unsigned CpuFeaturesImpliedByCompiler() { | 50 static unsigned CpuFeaturesImpliedByCompiler() { |
(...skipping 2888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2940 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { | 2939 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
2941 // No out-of-line constant pool support. | 2940 // No out-of-line constant pool support. |
2942 DCHECK(!FLAG_enable_ool_constant_pool); | 2941 DCHECK(!FLAG_enable_ool_constant_pool); |
2943 return; | 2942 return; |
2944 } | 2943 } |
2945 | 2944 |
2946 | 2945 |
2947 } } // namespace v8::internal | 2946 } } // namespace v8::internal |
2948 | 2947 |
2949 #endif // V8_TARGET_ARCH_MIPS64 | 2948 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |