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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/ic/access-compiler.h" | 7 #include "src/ic/access-compiler.h" |
8 | 8 |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 | 45 |
46 | 46 |
47 Register* PropertyAccessCompiler::GetCallingConvention(Code::Kind kind) { | 47 Register* PropertyAccessCompiler::GetCallingConvention(Code::Kind kind) { |
48 if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) { | 48 if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) { |
49 return load_calling_convention(); | 49 return load_calling_convention(); |
50 } | 50 } |
51 DCHECK(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC); | 51 DCHECK(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC); |
52 return store_calling_convention(); | 52 return store_calling_convention(); |
53 } | 53 } |
54 } | 54 } // namespace internal |
55 } // namespace v8::internal | 55 } // namespace v8 |
OLD | NEW |