| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #include <limits.h> // For LONG_MIN, LONG_MAX. | 28 #include <limits.h> // For LONG_MIN, LONG_MAX. |
| 29 | 29 |
| 30 #include "v8.h" | 30 #include "v8.h" |
| 31 | 31 |
| 32 #if V8_TARGET_ARCH_MIPS | 32 #if V8_TARGET_ARCH_MIPS |
| 33 | 33 |
| 34 #include "bootstrapper.h" | 34 #include "bootstrapper.h" |
| 35 #include "codegen.h" | 35 #include "codegen.h" |
| 36 #include "cpu-profiler.h" |
| 36 #include "debug.h" | 37 #include "debug.h" |
| 37 #include "runtime.h" | 38 #include "runtime.h" |
| 38 | 39 |
| 39 namespace v8 { | 40 namespace v8 { |
| 40 namespace internal { | 41 namespace internal { |
| 41 | 42 |
| 42 MacroAssembler::MacroAssembler(Isolate* arg_isolate, void* buffer, int size) | 43 MacroAssembler::MacroAssembler(Isolate* arg_isolate, void* buffer, int size) |
| 43 : Assembler(arg_isolate, buffer, size), | 44 : Assembler(arg_isolate, buffer, size), |
| 44 generating_stub_(false), | 45 generating_stub_(false), |
| 45 allow_stub_calls_(true), | 46 allow_stub_calls_(true), |
| (...skipping 5510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5556 opcode == BGTZL); | 5557 opcode == BGTZL); |
| 5557 opcode = (cond == eq) ? BEQ : BNE; | 5558 opcode = (cond == eq) ? BEQ : BNE; |
| 5558 instr = (instr & ~kOpcodeMask) | opcode; | 5559 instr = (instr & ~kOpcodeMask) | opcode; |
| 5559 masm_.emit(instr); | 5560 masm_.emit(instr); |
| 5560 } | 5561 } |
| 5561 | 5562 |
| 5562 | 5563 |
| 5563 } } // namespace v8::internal | 5564 } } // namespace v8::internal |
| 5564 | 5565 |
| 5565 #endif // V8_TARGET_ARCH_MIPS | 5566 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |