Chromium Code Reviews| 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_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
| 6 | 6 |
| 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" | 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" |
| 8 | 8 |
| 9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
| (...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 990 case CodeStub::RegExpExec: { | 990 case CodeStub::RegExpExec: { |
| 991 RegExpExecStub stub(isolate()); | 991 RegExpExecStub stub(isolate()); |
| 992 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 992 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
| 993 break; | 993 break; |
| 994 } | 994 } |
| 995 case CodeStub::SubString: { | 995 case CodeStub::SubString: { |
| 996 SubStringStub stub(isolate()); | 996 SubStringStub stub(isolate()); |
| 997 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 997 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
| 998 break; | 998 break; |
| 999 } | 999 } |
| 1000 case CodeStub::AtomicsLoad: { | |
|
Jarin
2016/01/28 08:11:12
You should not need this if you used HCallWithDesr
binji
2016/01/28 16:20:01
Done.
| |
| 1001 // TODO(binji): better way to do this? | |
| 1002 AtomicsLoadDescriptor descriptor(isolate()); | |
| 1003 DCHECK(descriptor.GetRegisterParameterCount() == 2); | |
| 1004 __ Pop(descriptor.GetRegisterParameter(1)); | |
| 1005 __ Pop(descriptor.GetRegisterParameter(0)); | |
| 1006 AtomicsLoadStub stub(isolate()); | |
| 1007 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | |
| 1008 break; | |
| 1009 } | |
| 1000 default: | 1010 default: |
| 1001 UNREACHABLE(); | 1011 UNREACHABLE(); |
| 1002 } | 1012 } |
| 1003 } | 1013 } |
| 1004 | 1014 |
| 1005 | 1015 |
| 1006 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { | 1016 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { |
| 1007 GenerateOsrPrologue(); | 1017 GenerateOsrPrologue(); |
| 1008 } | 1018 } |
| 1009 | 1019 |
| (...skipping 4442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5452 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5462 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 5453 } | 5463 } |
| 5454 | 5464 |
| 5455 | 5465 |
| 5456 #undef __ | 5466 #undef __ |
| 5457 | 5467 |
| 5458 } // namespace internal | 5468 } // namespace internal |
| 5459 } // namespace v8 | 5469 } // namespace v8 |
| 5460 | 5470 |
| 5461 #endif // V8_TARGET_ARCH_IA32 | 5471 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |