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

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

Issue 703473004: [turbofan] Add AllocateHeapNumberStub to avoid runtime call. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // code-stubs.h. 48 // code-stubs.h.
49 static Callable ToBoolean( 49 static Callable ToBoolean(
50 Isolate* isolate, ToBooleanStub::ResultMode mode, 50 Isolate* isolate, ToBooleanStub::ResultMode mode,
51 ToBooleanStub::Types types = ToBooleanStub::Types()); 51 ToBooleanStub::Types types = ToBooleanStub::Types());
52 52
53 static Callable ToNumber(Isolate* isolate); 53 static Callable ToNumber(Isolate* isolate);
54 54
55 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, 55 static Callable StringAdd(Isolate* isolate, StringAddFlags flags,
56 PretenureFlag pretenure_flag); 56 PretenureFlag pretenure_flag);
57 57
58 static Callable AllocateHeapNumber(Isolate* isolate);
59
58 static Callable CallFunction(Isolate* isolate, int argc, 60 static Callable CallFunction(Isolate* isolate, int argc,
59 CallFunctionFlags flags); 61 CallFunctionFlags flags);
60 }; 62 };
61 } 63
62 } 64 } // namespace internal
65 } // namespace v8
66
63 #endif // V8_CODE_FACTORY_H_ 67 #endif // V8_CODE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698