| 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 <assert.h>  // For assert |     5 #include <assert.h>  // For assert | 
|     6 #include <limits.h>  // For LONG_MIN, LONG_MAX. |     6 #include <limits.h>  // For LONG_MIN, LONG_MAX. | 
|     7  |     7  | 
|     8 #include "src/v8.h" |     8 #include "src/v8.h" | 
|     9  |     9  | 
|    10 #if V8_TARGET_ARCH_PPC |    10 #if V8_TARGET_ARCH_PPC | 
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1140                                       Label* fail) { |  1140                                       Label* fail) { | 
|  1141   LoadP(scratch, FieldMemOperand(object, HeapObject::kMapOffset)); |  1141   LoadP(scratch, FieldMemOperand(object, HeapObject::kMapOffset)); | 
|  1142   lbz(scratch, FieldMemOperand(scratch, Map::kInstanceTypeOffset)); |  1142   lbz(scratch, FieldMemOperand(scratch, Map::kInstanceTypeOffset)); | 
|  1143   cmpi(scratch, Operand(LAST_NAME_TYPE)); |  1143   cmpi(scratch, Operand(LAST_NAME_TYPE)); | 
|  1144   bgt(fail); |  1144   bgt(fail); | 
|  1145 } |  1145 } | 
|  1146  |  1146  | 
|  1147  |  1147  | 
|  1148 void MacroAssembler::DebugBreak() { |  1148 void MacroAssembler::DebugBreak() { | 
|  1149   li(r3, Operand::Zero()); |  1149   li(r3, Operand::Zero()); | 
|  1150   mov(r4, Operand(ExternalReference(Runtime::kDebugBreak, isolate()))); |  1150   mov(r4, | 
 |  1151       Operand(ExternalReference(Runtime::kHandleDebuggerStatement, isolate()))); | 
|  1151   CEntryStub ces(isolate(), 1); |  1152   CEntryStub ces(isolate(), 1); | 
|  1152   DCHECK(AllowThisStubCall(&ces)); |  1153   DCHECK(AllowThisStubCall(&ces)); | 
|  1153   Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); |  1154   Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); | 
|  1154 } |  1155 } | 
|  1155  |  1156  | 
|  1156  |  1157  | 
|  1157 void MacroAssembler::PushStackHandler() { |  1158 void MacroAssembler::PushStackHandler() { | 
|  1158   // Adjust this code if not the case. |  1159   // Adjust this code if not the case. | 
|  1159   STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); |  1160   STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); | 
|  1160   STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); |  1161   STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); | 
| (...skipping 3493 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  4654   } |  4655   } | 
|  4655   if (mag.shift > 0) srawi(result, result, mag.shift); |  4656   if (mag.shift > 0) srawi(result, result, mag.shift); | 
|  4656   ExtractBit(r0, dividend, 31); |  4657   ExtractBit(r0, dividend, 31); | 
|  4657   add(result, result, r0); |  4658   add(result, result, r0); | 
|  4658 } |  4659 } | 
|  4659  |  4660  | 
|  4660 }  // namespace internal |  4661 }  // namespace internal | 
|  4661 }  // namespace v8 |  4662 }  // namespace v8 | 
|  4662  |  4663  | 
|  4663 #endif  // V8_TARGET_ARCH_PPC |  4664 #endif  // V8_TARGET_ARCH_PPC | 
| OLD | NEW |