| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
| 6 | 6 |
| 7 #include "src/arm/macro-assembler-arm.h" | 7 #include "src/arm/macro-assembler-arm.h" |
| 8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
| 9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
| 10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
| (...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 825 UNREACHABLE(); | 825 UNREACHABLE(); |
| 826 } | 826 } |
| 827 } | 827 } |
| 828 | 828 |
| 829 | 829 |
| 830 void CodeGenerator::AddNopForSmiCodeInlining() { | 830 void CodeGenerator::AddNopForSmiCodeInlining() { |
| 831 // On 32-bit ARM we do not insert nops for inlined Smi code. | 831 // On 32-bit ARM we do not insert nops for inlined Smi code. |
| 832 UNREACHABLE(); | 832 UNREACHABLE(); |
| 833 } | 833 } |
| 834 | 834 |
| 835 #ifdef DEBUG | |
| 836 | |
| 837 // Checks whether the code between start_pc and end_pc is a no-op. | |
| 838 bool CodeGenerator::IsNopForSmiCodeInlining(Handle<Code> code, int start_pc, | |
| 839 int end_pc) { | |
| 840 return false; | |
| 841 } | |
| 842 | |
| 843 #endif // DEBUG | |
| 844 | |
| 845 #undef __ | 835 #undef __ |
| 846 } | 836 } |
| 847 } | 837 } |
| 848 } // namespace v8::internal::compiler | 838 } // namespace v8::internal::compiler |
| OLD | NEW |