| 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_ARM | 32 #if V8_TARGET_ARCH_ARM |
| 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 3780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3826 void CodePatcher::EmitCondition(Condition cond) { | 3827 void CodePatcher::EmitCondition(Condition cond) { |
| 3827 Instr instr = Assembler::instr_at(masm_.pc_); | 3828 Instr instr = Assembler::instr_at(masm_.pc_); |
| 3828 instr = (instr & ~kCondMask) | cond; | 3829 instr = (instr & ~kCondMask) | cond; |
| 3829 masm_.emit(instr); | 3830 masm_.emit(instr); |
| 3830 } | 3831 } |
| 3831 | 3832 |
| 3832 | 3833 |
| 3833 } } // namespace v8::internal | 3834 } } // namespace v8::internal |
| 3834 | 3835 |
| 3835 #endif // V8_TARGET_ARCH_ARM | 3836 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |