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

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

Issue 1265923002: Debugger: move implementation to a separate folder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase 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/ia32/macro-assembler-ia32.cc ('k') | src/isolate.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" 10 #include "src/compiler.h"
11 #include "src/debug.h" 11 #include "src/debug/debug.h"
12 #include "src/macro-assembler.h" 12 #include "src/macro-assembler.h"
13 #include "src/prototype.h" 13 #include "src/prototype.h"
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 17
18 18
19 Address IC::address() const { 19 Address IC::address() const {
20 // Get the address of the call. 20 // Get the address of the call.
21 return Assembler::target_address_from_return_address(pc()); 21 return Assembler::target_address_from_return_address(pc());
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 bool IC::AddressIsDeoptimizedCode(Isolate* isolate, Address address) { 194 bool IC::AddressIsDeoptimizedCode(Isolate* isolate, Address address) {
195 Code* host = 195 Code* host =
196 isolate->inner_pointer_to_code_cache()->GetCacheEntry(address)->code; 196 isolate->inner_pointer_to_code_cache()->GetCacheEntry(address)->code;
197 return (host->kind() == Code::OPTIMIZED_FUNCTION && 197 return (host->kind() == Code::OPTIMIZED_FUNCTION &&
198 host->marked_for_deoptimization()); 198 host->marked_for_deoptimization());
199 } 199 }
200 } 200 }
201 } // namespace v8::internal 201 } // namespace v8::internal
202 202
203 #endif // V8_IC_INL_H_ 203 #endif // V8_IC_INL_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698