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

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

Issue 900193002: Remove the obsolete OverwriteMode optimization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. Created 5 years, 10 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/ast.cc ('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 27 matching lines...) Expand all
38 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate); 38 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate);
39 static Callable CallIC(Isolate* isolate, int argc, 39 static Callable CallIC(Isolate* isolate, int argc,
40 CallICState::CallType call_type); 40 CallICState::CallType call_type);
41 static Callable CallICInOptimizedCode(Isolate* isolate, int argc, 41 static Callable CallICInOptimizedCode(Isolate* isolate, int argc,
42 CallICState::CallType call_type); 42 CallICState::CallType call_type);
43 static Callable StoreIC(Isolate* isolate, LanguageMode mode); 43 static Callable StoreIC(Isolate* isolate, LanguageMode mode);
44 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); 44 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode);
45 45
46 static Callable CompareIC(Isolate* isolate, Token::Value op); 46 static Callable CompareIC(Isolate* isolate, Token::Value op);
47 47
48 static Callable BinaryOpIC(Isolate* isolate, Token::Value op, 48 static Callable BinaryOpIC(Isolate* isolate, Token::Value op);
49 OverwriteMode mode = NO_OVERWRITE);
50 49
51 // Code stubs. Add methods here as needed to reduce dependency on 50 // Code stubs. Add methods here as needed to reduce dependency on
52 // code-stubs.h. 51 // code-stubs.h.
53 static Callable ToBoolean( 52 static Callable ToBoolean(
54 Isolate* isolate, ToBooleanStub::ResultMode mode, 53 Isolate* isolate, ToBooleanStub::ResultMode mode,
55 ToBooleanStub::Types types = ToBooleanStub::Types()); 54 ToBooleanStub::Types types = ToBooleanStub::Types());
56 55
57 static Callable ToNumber(Isolate* isolate); 56 static Callable ToNumber(Isolate* isolate);
58 57
59 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, 58 static Callable StringAdd(Isolate* isolate, StringAddFlags flags,
60 PretenureFlag pretenure_flag); 59 PretenureFlag pretenure_flag);
61 60
62 static Callable AllocateHeapNumber(Isolate* isolate); 61 static Callable AllocateHeapNumber(Isolate* isolate);
63 62
64 static Callable CallFunction(Isolate* isolate, int argc, 63 static Callable CallFunction(Isolate* isolate, int argc,
65 CallFunctionFlags flags); 64 CallFunctionFlags flags);
66 }; 65 };
67 66
68 } // namespace internal 67 } // namespace internal
69 } // namespace v8 68 } // namespace v8
70 69
71 #endif // V8_CODE_FACTORY_H_ 70 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698