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

Side by Side Diff: src/codegen.h

Issue 1479773002: Remove custom win64 modulo code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates 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 | « src/arm64/simulator-arm64.cc ('k') | src/codegen.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_CODEGEN_H_ 5 #ifndef V8_CODEGEN_H_
6 #define V8_CODEGEN_H_ 6 #define V8_CODEGEN_H_
7 7
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/runtime/runtime.h" 9 #include "src/runtime/runtime.h"
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 UnaryMathFunctionWithIsolate CreateExpFunction(Isolate* isolate); 94 UnaryMathFunctionWithIsolate CreateExpFunction(Isolate* isolate);
95 UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isolate); 95 UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isolate);
96 96
97 97
98 double modulo(double x, double y); 98 double modulo(double x, double y);
99 99
100 // Custom implementation of math functions. 100 // Custom implementation of math functions.
101 double fast_exp(double input, Isolate* isolate); 101 double fast_exp(double input, Isolate* isolate);
102 double fast_sqrt(double input, Isolate* isolate); 102 double fast_sqrt(double input, Isolate* isolate);
103 #ifdef _WIN64
104 void init_modulo_function();
105 #endif
106 void lazily_initialize_fast_exp(Isolate* isolate); 103 void lazily_initialize_fast_exp(Isolate* isolate);
107 void lazily_initialize_fast_sqrt(Isolate* isolate); 104 void lazily_initialize_fast_sqrt(Isolate* isolate);
108 105
109 106
110 class ElementsTransitionGenerator : public AllStatic { 107 class ElementsTransitionGenerator : public AllStatic {
111 public: 108 public:
112 // If |mode| is set to DONT_TRACK_ALLOCATION_SITE, 109 // If |mode| is set to DONT_TRACK_ALLOCATION_SITE,
113 // |allocation_memento_found| may be NULL. 110 // |allocation_memento_found| may be NULL.
114 static void GenerateMapChangeElementsTransition( 111 static void GenerateMapChangeElementsTransition(
115 MacroAssembler* masm, 112 MacroAssembler* masm,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 #ifdef V8_TARGET_ARCH_ARM64 164 #ifdef V8_TARGET_ARCH_ARM64
168 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; 165 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_;
169 #endif 166 #endif
170 #endif 167 #endif
171 }; 168 };
172 169
173 } // namespace internal 170 } // namespace internal
174 } // namespace v8 171 } // namespace v8
175 172
176 #endif // V8_CODEGEN_H_ 173 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm64/simulator-arm64.cc ('k') | src/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698