| 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 #if V8_TARGET_ARCH_X87 | 5 #if V8_TARGET_ARCH_X87 |
| 6 | 6 |
| 7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
| 8 #include "src/bootstrapper.h" | 8 #include "src/bootstrapper.h" |
| 9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 4271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4282 __ j(not_equal, ¬_array); | 4282 __ j(not_equal, ¬_array); |
| 4283 HandleArrayCases(masm, receiver, name, vector, slot, scratch, true, &miss); | 4283 HandleArrayCases(masm, receiver, name, vector, slot, scratch, true, &miss); |
| 4284 | 4284 |
| 4285 __ bind(¬_array); | 4285 __ bind(¬_array); |
| 4286 __ CompareRoot(scratch, Heap::kmegamorphic_symbolRootIndex); | 4286 __ CompareRoot(scratch, Heap::kmegamorphic_symbolRootIndex); |
| 4287 __ j(not_equal, &miss); | 4287 __ j(not_equal, &miss); |
| 4288 __ push(slot); | 4288 __ push(slot); |
| 4289 __ push(vector); | 4289 __ push(vector); |
| 4290 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( | 4290 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
| 4291 Code::ComputeHandlerFlags(Code::LOAD_IC)); | 4291 Code::ComputeHandlerFlags(Code::LOAD_IC)); |
| 4292 masm->isolate()->stub_cache()->GenerateProbe( | 4292 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, |
| 4293 masm, Code::LOAD_IC, code_flags, false, receiver, name, vector, scratch); | 4293 receiver, name, vector, scratch); |
| 4294 __ pop(vector); | 4294 __ pop(vector); |
| 4295 __ pop(slot); | 4295 __ pop(slot); |
| 4296 | 4296 |
| 4297 __ bind(&miss); | 4297 __ bind(&miss); |
| 4298 LoadIC::GenerateMiss(masm); | 4298 LoadIC::GenerateMiss(masm); |
| 4299 } | 4299 } |
| 4300 | 4300 |
| 4301 | 4301 |
| 4302 void KeyedLoadICStub::Generate(MacroAssembler* masm) { | 4302 void KeyedLoadICStub::Generate(MacroAssembler* masm) { |
| 4303 GenerateImpl(masm, false); | 4303 GenerateImpl(masm, false); |
| (...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5338 Operand(ebp, 7 * kPointerSize), NULL); | 5338 Operand(ebp, 7 * kPointerSize), NULL); |
| 5339 } | 5339 } |
| 5340 | 5340 |
| 5341 | 5341 |
| 5342 #undef __ | 5342 #undef __ |
| 5343 | 5343 |
| 5344 } // namespace internal | 5344 } // namespace internal |
| 5345 } // namespace v8 | 5345 } // namespace v8 |
| 5346 | 5346 |
| 5347 #endif // V8_TARGET_ARCH_X87 | 5347 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |