Chromium Code Reviews| 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 2066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2077 __ ret(); | 2077 __ ret(); |
| 2078 } | 2078 } |
| 2079 | 2079 |
| 2080 | 2080 |
| 2081 // Called from switchable IC calls. | 2081 // Called from switchable IC calls. |
| 2082 // EBX: receiver | 2082 // EBX: receiver |
| 2083 // ECX: ICData (preserved) | 2083 // ECX: ICData (preserved) |
| 2084 // Result: | 2084 // Result: |
| 2085 // EBX: target entry point | 2085 // EBX: target entry point |
| 2086 // EDX: arguments descriptor | 2086 // EDX: arguments descriptor |
| 2087 void StubCode::GenerateICLookupStub(Assembler* assembler) { | 2087 void StubCode::GenerateICLookupThroughFunctionStub(Assembler* assembler) { |
|
Florian Schneider
2016/03/16 15:45:48
Since this stub is not used on ia32, UNREACHABLE()
rmacnak
2016/03/16 18:21:32
It isn't used on IA32, but we generate all stubs o
| |
| 2088 __ int3(); | 2088 __ int3(); |
| 2089 } | 2089 } |
| 2090 | 2090 |
| 2091 | |
| 2092 void StubCode::GenerateICLookupThroughCodeStub(Assembler* assembler) { | |
|
Florian Schneider
2016/03/16 15:45:48
Ditto
| |
| 2093 __ int3(); | |
| 2094 } | |
| 2095 | |
| 2091 } // namespace dart | 2096 } // namespace dart |
| 2092 | 2097 |
| 2093 #endif // defined TARGET_ARCH_IA32 | 2098 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |