| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 #include "src/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
| (...skipping 1898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1909 pop(ra); | 1909 pop(ra); |
| 1910 lw(at, MemOperand(at, 6 * v8::internal::Assembler::kInstrSize)); | 1910 lw(at, MemOperand(at, 6 * v8::internal::Assembler::kInstrSize)); |
| 1911 } | 1911 } |
| 1912 jr(at); | 1912 jr(at); |
| 1913 nop(); // Branch delay slot nop. | 1913 nop(); // Branch delay slot nop. |
| 1914 for (size_t index = 0; index < case_count; ++index) { | 1914 for (size_t index = 0; index < case_count; ++index) { |
| 1915 dd(GetLabelFunction(index)); | 1915 dd(GetLabelFunction(index)); |
| 1916 } | 1916 } |
| 1917 } | 1917 } |
| 1918 | 1918 |
| 1919 #ifdef GENERATED_CODE_COVERAGE | |
| 1920 #define CODE_COVERAGE_STRINGIFY(x) #x | |
| 1921 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | |
| 1922 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | |
| 1923 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | |
| 1924 #else | |
| 1925 #define ACCESS_MASM(masm) masm-> | 1919 #define ACCESS_MASM(masm) masm-> |
| 1926 #endif | |
| 1927 | 1920 |
| 1928 } // namespace internal | 1921 } // namespace internal |
| 1929 } // namespace v8 | 1922 } // namespace v8 |
| 1930 | 1923 |
| 1931 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1924 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |