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

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

Issue 1491223002: [turbofan] Desugar JSUnaryNot(x) to Select(x, false, true). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo in arm64. Created 5 years 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 | « no previous file | 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 Strength strength); 60 Strength strength);
61 static Callable CompareNilIC(Isolate* isolate, NilValue nil_value); 61 static Callable CompareNilIC(Isolate* isolate, NilValue nil_value);
62 62
63 static Callable BinaryOpIC(Isolate* isolate, Token::Value op, 63 static Callable BinaryOpIC(Isolate* isolate, Token::Value op,
64 Strength strength); 64 Strength strength);
65 65
66 // Code stubs. Add methods here as needed to reduce dependency on 66 // Code stubs. Add methods here as needed to reduce dependency on
67 // code-stubs.h. 67 // code-stubs.h.
68 static Callable InstanceOf(Isolate* isolate); 68 static Callable InstanceOf(Isolate* isolate);
69 69
70 static Callable ToBoolean( 70 static Callable ToBoolean(Isolate* isolate);
71 Isolate* isolate, ToBooleanStub::ResultMode mode,
72 ToBooleanStub::Types types = ToBooleanStub::Types());
73 71
74 static Callable ToNumber(Isolate* isolate); 72 static Callable ToNumber(Isolate* isolate);
75 static Callable ToString(Isolate* isolate); 73 static Callable ToString(Isolate* isolate);
76 static Callable ToLength(Isolate* isolate); 74 static Callable ToLength(Isolate* isolate);
77 static Callable ToObject(Isolate* isolate); 75 static Callable ToObject(Isolate* isolate);
78 static Callable NumberToString(Isolate* isolate); 76 static Callable NumberToString(Isolate* isolate);
79 77
80 static Callable RegExpConstructResult(Isolate* isolate); 78 static Callable RegExpConstructResult(Isolate* isolate);
81 79
82 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, 80 static Callable StringAdd(Isolate* isolate, StringAddFlags flags,
(...skipping 26 matching lines...) Expand all
109 107
110 static Callable InterpreterPushArgsAndCall(Isolate* isolate); 108 static Callable InterpreterPushArgsAndCall(Isolate* isolate);
111 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 109 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
112 static Callable InterpreterCEntry(Isolate* isolate); 110 static Callable InterpreterCEntry(Isolate* isolate);
113 }; 111 };
114 112
115 } // namespace internal 113 } // namespace internal
116 } // namespace v8 114 } // namespace v8
117 115
118 #endif // V8_CODE_FACTORY_H_ 116 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698