| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/globals.h" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
| 7 | 7 |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/compiler.h" | 9 #include "vm/compiler.h" |
| 10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
| (...skipping 2015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2026 // Load cid for the Smi case. | 2026 // Load cid for the Smi case. |
| 2027 __ Bind(&smi_case); | 2027 __ Bind(&smi_case); |
| 2028 __ movl(EAX, Immediate(kSmiCid)); | 2028 __ movl(EAX, Immediate(kSmiCid)); |
| 2029 __ jmp(&cid_loaded); | 2029 __ jmp(&cid_loaded); |
| 2030 } | 2030 } |
| 2031 | 2031 |
| 2032 // Called from switchable IC calls. | 2032 // Called from switchable IC calls. |
| 2033 // EBX: receiver | 2033 // EBX: receiver |
| 2034 // ECX: ICData (preserved) | 2034 // ECX: ICData (preserved) |
| 2035 // Result: | 2035 // Result: |
| 2036 // EBX: target entry point | |
| 2037 // EDX: arguments descriptor | 2036 // EDX: arguments descriptor |
| 2038 void StubCode::GenerateICLookupThroughFunctionStub(Assembler* assembler) { | 2037 void StubCode::GenerateICLookupThroughFunctionStub(Assembler* assembler) { |
| 2039 __ int3(); | 2038 __ int3(); |
| 2040 } | 2039 } |
| 2041 | 2040 |
| 2042 | 2041 |
| 2043 void StubCode::GenerateICLookupThroughCodeStub(Assembler* assembler) { | 2042 void StubCode::GenerateICLookupThroughCodeStub(Assembler* assembler) { |
| 2044 __ int3(); | 2043 __ int3(); |
| 2045 } | 2044 } |
| 2046 | 2045 |
| 2047 | 2046 |
| 2047 void StubCode::GenerateMonomorphicMissStub(Assembler* assembler) { |
| 2048 __ int3(); |
| 2049 } |
| 2050 |
| 2048 | 2051 |
| 2049 void StubCode::GenerateFrameAwaitingMaterializationStub(Assembler* assembler) { | 2052 void StubCode::GenerateFrameAwaitingMaterializationStub(Assembler* assembler) { |
| 2050 __ int3(); | 2053 __ int3(); |
| 2051 } | 2054 } |
| 2052 | 2055 |
| 2053 } // namespace dart | 2056 } // namespace dart |
| 2054 | 2057 |
| 2055 #endif // defined TARGET_ARCH_IA32 | 2058 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |