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

Side by Side Diff: src/code-factory.h

Issue 1894953004: Add HasProperty code stub that tries simple lookups or jumps to runtime otherwise. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments, tweak linear search limit based on local measurements Created 4 years, 8 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 #ifndef V8_CODE_FACTORY_H_ 5 #ifndef V8_CODE_FACTORY_H_
6 #define V8_CODE_FACTORY_H_ 6 #define V8_CODE_FACTORY_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 static Callable Allocate(Isolate* isolate, PretenureFlag pretenure_flag); 134 static Callable Allocate(Isolate* isolate, PretenureFlag pretenure_flag);
135 135
136 static Callable ArgumentAdaptor(Isolate* isolate); 136 static Callable ArgumentAdaptor(Isolate* isolate);
137 static Callable Call(Isolate* isolate, 137 static Callable Call(Isolate* isolate,
138 ConvertReceiverMode mode = ConvertReceiverMode::kAny, 138 ConvertReceiverMode mode = ConvertReceiverMode::kAny,
139 TailCallMode tail_call_mode = TailCallMode::kDisallow); 139 TailCallMode tail_call_mode = TailCallMode::kDisallow);
140 static Callable CallFunction( 140 static Callable CallFunction(
141 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); 141 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
142 static Callable Construct(Isolate* isolate); 142 static Callable Construct(Isolate* isolate);
143 static Callable ConstructFunction(Isolate* isolate); 143 static Callable ConstructFunction(Isolate* isolate);
144 static Callable HasProperty(Isolate* isolate);
144 145
145 static Callable InterpreterPushArgsAndCall(Isolate* isolate, 146 static Callable InterpreterPushArgsAndCall(Isolate* isolate,
146 TailCallMode tail_call_mode); 147 TailCallMode tail_call_mode);
147 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 148 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
148 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 149 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
149 150
150 static Callable AtomicsLoad(Isolate* isolate); 151 static Callable AtomicsLoad(Isolate* isolate);
151 }; 152 };
152 153
153 } // namespace internal 154 } // namespace internal
154 } // namespace v8 155 } // namespace v8
155 156
156 #endif // V8_CODE_FACTORY_H_ 157 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/code-factory.cc » ('j') | src/code-stub-assembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698