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

Side by Side Diff: src/ic/ic.cc

Issue 1776353002: Split off api-arguments.[h|cc] from arguments.[h|cc] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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
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 #include "src/ic/ic.h" 5 #include "src/ic/ic.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api-arguments.h"
8 #include "src/api.h" 9 #include "src/api.h"
9 #include "src/arguments.h" 10 #include "src/arguments.h"
10 #include "src/base/bits.h" 11 #include "src/base/bits.h"
11 #include "src/codegen.h" 12 #include "src/codegen.h"
12 #include "src/conversions.h" 13 #include "src/conversions.h"
13 #include "src/execution.h" 14 #include "src/execution.h"
14 #include "src/field-type.h" 15 #include "src/field-type.h"
15 #include "src/frames-inl.h" 16 #include "src/frames-inl.h"
16 #include "src/ic/call-optimization.h" 17 #include "src/ic/call-optimization.h"
17 #include "src/ic/handler-compiler.h" 18 #include "src/ic/handler-compiler.h"
19 #include "src/ic/ic-compiler.h"
18 #include "src/ic/ic-inl.h" 20 #include "src/ic/ic-inl.h"
19 #include "src/ic/ic-compiler.h"
20 #include "src/ic/stub-cache.h" 21 #include "src/ic/stub-cache.h"
21 #include "src/isolate-inl.h" 22 #include "src/isolate-inl.h"
22 #include "src/macro-assembler.h" 23 #include "src/macro-assembler.h"
23 #include "src/prototype.h" 24 #include "src/prototype.h"
25 #include "src/runtime/runtime-utils.h"
24 #include "src/runtime/runtime.h" 26 #include "src/runtime/runtime.h"
25 #include "src/runtime/runtime-utils.h"
26 #include "src/tracing/trace-event.h" 27 #include "src/tracing/trace-event.h"
27 28
28 namespace v8 { 29 namespace v8 {
29 namespace internal { 30 namespace internal {
30 31
31 char IC::TransitionMarkFromState(IC::State state) { 32 char IC::TransitionMarkFromState(IC::State state) {
32 switch (state) { 33 switch (state) {
33 case UNINITIALIZED: 34 case UNINITIALIZED:
34 return '0'; 35 return '0';
35 case PREMONOMORPHIC: 36 case PREMONOMORPHIC:
(...skipping 2903 matching lines...) Expand 10 before | Expand all | Expand 10 after
2939 KeyedLoadICNexus nexus(vector, vector_slot); 2940 KeyedLoadICNexus nexus(vector, vector_slot);
2940 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate, &nexus); 2941 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate, &nexus);
2941 ic.UpdateState(receiver, key); 2942 ic.UpdateState(receiver, key);
2942 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, ic.Load(receiver, key)); 2943 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, ic.Load(receiver, key));
2943 } 2944 }
2944 2945
2945 return *result; 2946 return *result;
2946 } 2947 }
2947 } // namespace internal 2948 } // namespace internal
2948 } // namespace v8 2949 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698