Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1705)

Side by Side Diff: src/ic/access-compiler.cc

Issue 1293793002: Remove grab-bag includes of v8.h from IC subsystem. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation on ARM and MIPS64. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm/constants-arm.h ('k') | src/ic/arm/access-compiler-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
6
7 #include "src/ic/access-compiler.h" 5 #include "src/ic/access-compiler.h"
8 6
9 7
10 namespace v8 { 8 namespace v8 {
11 namespace internal { 9 namespace internal {
12 10
13 11
14 Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags, 12 Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags,
15 const char* name) { 13 const char* name) {
16 // Create code object in the heap. 14 // Create code object in the heap.
(...skipping 29 matching lines...) Expand all
46 44
47 Register* PropertyAccessCompiler::GetCallingConvention(Code::Kind kind) { 45 Register* PropertyAccessCompiler::GetCallingConvention(Code::Kind kind) {
48 if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) { 46 if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) {
49 return load_calling_convention(); 47 return load_calling_convention();
50 } 48 }
51 DCHECK(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC); 49 DCHECK(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC);
52 return store_calling_convention(); 50 return store_calling_convention();
53 } 51 }
54 } // namespace internal 52 } // namespace internal
55 } // namespace v8 53 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm/constants-arm.h ('k') | src/ic/arm/access-compiler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698