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

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

Issue 1130283002: [strong] Disallow implicit conversions for comparison (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback Created 5 years, 7 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/builtins.h ('k') | src/code-factory.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_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 static Callable CallIC(Isolate* isolate, int argc, 43 static Callable CallIC(Isolate* isolate, int argc,
44 CallICState::CallType call_type); 44 CallICState::CallType call_type);
45 static Callable CallICInOptimizedCode(Isolate* isolate, int argc, 45 static Callable CallICInOptimizedCode(Isolate* isolate, int argc,
46 CallICState::CallType call_type); 46 CallICState::CallType call_type);
47 static Callable StoreIC(Isolate* isolate, LanguageMode mode); 47 static Callable StoreIC(Isolate* isolate, LanguageMode mode);
48 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); 48 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode);
49 static Callable KeyedStoreICInOptimizedCode( 49 static Callable KeyedStoreICInOptimizedCode(
50 Isolate* isolate, LanguageMode mode, 50 Isolate* isolate, LanguageMode mode,
51 InlineCacheState initialization_state); 51 InlineCacheState initialization_state);
52 52
53 static Callable CompareIC(Isolate* isolate, Token::Value op); 53 static Callable CompareIC(Isolate* isolate, Token::Value op,
54 LanguageMode language_mode);
54 55
55 static Callable BinaryOpIC(Isolate* isolate, Token::Value op, 56 static Callable BinaryOpIC(Isolate* isolate, Token::Value op,
56 LanguageMode language_mode); 57 LanguageMode language_mode);
57 58
58 // Code stubs. Add methods here as needed to reduce dependency on 59 // Code stubs. Add methods here as needed to reduce dependency on
59 // code-stubs.h. 60 // code-stubs.h.
60 static Callable ToBoolean( 61 static Callable ToBoolean(
61 Isolate* isolate, ToBooleanStub::ResultMode mode, 62 Isolate* isolate, ToBooleanStub::ResultMode mode,
62 ToBooleanStub::Types types = ToBooleanStub::Types()); 63 ToBooleanStub::Types types = ToBooleanStub::Types());
63 64
(...skipping 13 matching lines...) Expand all
77 static Callable AllocateHeapNumber(Isolate* isolate); 78 static Callable AllocateHeapNumber(Isolate* isolate);
78 79
79 static Callable CallFunction(Isolate* isolate, int argc, 80 static Callable CallFunction(Isolate* isolate, int argc,
80 CallFunctionFlags flags); 81 CallFunctionFlags flags);
81 }; 82 };
82 83
83 } // namespace internal 84 } // namespace internal
84 } // namespace v8 85 } // namespace v8
85 86
86 #endif // V8_CODE_FACTORY_H_ 87 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698