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

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

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: Crankshaft backends and scope deserialization Created 4 years, 2 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
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 static Callable StringGreaterThan(Isolate* isolate); 117 static Callable StringGreaterThan(Isolate* isolate);
118 static Callable StringGreaterThanOrEqual(Isolate* isolate); 118 static Callable StringGreaterThanOrEqual(Isolate* isolate);
119 static Callable SubString(Isolate* isolate); 119 static Callable SubString(Isolate* isolate);
120 120
121 static Callable Typeof(Isolate* isolate); 121 static Callable Typeof(Isolate* isolate);
122 122
123 static Callable FastCloneRegExp(Isolate* isolate); 123 static Callable FastCloneRegExp(Isolate* isolate);
124 static Callable FastCloneShallowArray(Isolate* isolate); 124 static Callable FastCloneShallowArray(Isolate* isolate);
125 static Callable FastCloneShallowObject(Isolate* isolate, int length); 125 static Callable FastCloneShallowObject(Isolate* isolate, int length);
126 126
127 static Callable FastNewFunctionContext(Isolate* isolate); 127 static Callable FastNewFunctionContext(Isolate* isolate, bool for_eval);
128 static Callable FastNewClosure(Isolate* isolate); 128 static Callable FastNewClosure(Isolate* isolate);
129 static Callable FastNewObject(Isolate* isolate); 129 static Callable FastNewObject(Isolate* isolate);
130 static Callable FastNewRestParameter(Isolate* isolate, 130 static Callable FastNewRestParameter(Isolate* isolate,
131 bool skip_stub_frame = false); 131 bool skip_stub_frame = false);
132 static Callable FastNewSloppyArguments(Isolate* isolate, 132 static Callable FastNewSloppyArguments(Isolate* isolate,
133 bool skip_stub_frame = false); 133 bool skip_stub_frame = false);
134 static Callable FastNewStrictArguments(Isolate* isolate, 134 static Callable FastNewStrictArguments(Isolate* isolate,
135 bool skip_stub_frame = false); 135 bool skip_stub_frame = false);
136 136
137 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); 137 static Callable CopyFastSmiOrObjectElements(Isolate* isolate);
(...skipping 24 matching lines...) Expand all
162 Isolate* isolate, CallableType function_type = CallableType::kAny); 162 Isolate* isolate, CallableType function_type = CallableType::kAny);
163 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); 163 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate);
164 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 164 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
165 static Callable InterpreterOnStackReplacement(Isolate* isolate); 165 static Callable InterpreterOnStackReplacement(Isolate* isolate);
166 }; 166 };
167 167
168 } // namespace internal 168 } // namespace internal
169 } // namespace v8 169 } // namespace v8
170 170
171 #endif // V8_CODE_FACTORY_H_ 171 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | src/code-factory.cc » ('j') | src/contexts.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698