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

Side by Side Diff: src/ic/ic-inl.h

Issue 2284313003: Separate CompilationInfo into its own file. (Closed)
Patch Set: fix Created 4 years, 3 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/gdb-jit.cc ('k') | src/interpreter/bytecode-array-builder.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 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 #ifndef V8_IC_INL_H_ 5 #ifndef V8_IC_INL_H_
6 #define V8_IC_INL_H_ 6 #define V8_IC_INL_H_
7 7
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 #include "src/compiler.h"
11 #include "src/debug/debug.h" 10 #include "src/debug/debug.h"
12 #include "src/macro-assembler.h" 11 #include "src/macro-assembler.h"
13 #include "src/prototype.h" 12 #include "src/prototype.h"
14 13
15 namespace v8 { 14 namespace v8 {
16 namespace internal { 15 namespace internal {
17 16
18 17
19 Address IC::address() const { 18 Address IC::address() const {
20 // Get the address of the call. 19 // Get the address of the call.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 bool IC::AddressIsDeoptimizedCode(Isolate* isolate, Address address) { 142 bool IC::AddressIsDeoptimizedCode(Isolate* isolate, Address address) {
144 Code* host = 143 Code* host =
145 isolate->inner_pointer_to_code_cache()->GetCacheEntry(address)->code; 144 isolate->inner_pointer_to_code_cache()->GetCacheEntry(address)->code;
146 return (host->kind() == Code::OPTIMIZED_FUNCTION && 145 return (host->kind() == Code::OPTIMIZED_FUNCTION &&
147 host->marked_for_deoptimization()); 146 host->marked_for_deoptimization());
148 } 147 }
149 } // namespace internal 148 } // namespace internal
150 } // namespace v8 149 } // namespace v8
151 150
152 #endif // V8_IC_INL_H_ 151 #endif // V8_IC_INL_H_
OLDNEW
« no previous file with comments | « src/gdb-jit.cc ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698