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

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

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: relax dchecks Created 4 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
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 static Callable StringGreaterThanOrEqual(Isolate* isolate); 120 static Callable StringGreaterThanOrEqual(Isolate* isolate);
121 static Callable SubString(Isolate* isolate); 121 static Callable SubString(Isolate* isolate);
122 122
123 static Callable Typeof(Isolate* isolate); 123 static Callable Typeof(Isolate* isolate);
124 124
125 static Callable FastCloneRegExp(Isolate* isolate); 125 static Callable FastCloneRegExp(Isolate* isolate);
126 static Callable FastCloneShallowArray(Isolate* isolate); 126 static Callable FastCloneShallowArray(Isolate* isolate);
127 static Callable FastCloneShallowObject(Isolate* isolate, int length); 127 static Callable FastCloneShallowObject(Isolate* isolate, int length);
128 128
129 static Callable FastNewFunctionContext(Isolate* isolate); 129 static Callable FastNewFunctionContext(Isolate* isolate);
130 static Callable FastNewEvalContext(Isolate* isolate);
130 static Callable FastNewClosure(Isolate* isolate); 131 static Callable FastNewClosure(Isolate* isolate);
131 static Callable FastNewObject(Isolate* isolate); 132 static Callable FastNewObject(Isolate* isolate);
132 static Callable FastNewRestParameter(Isolate* isolate, 133 static Callable FastNewRestParameter(Isolate* isolate,
133 bool skip_stub_frame = false); 134 bool skip_stub_frame = false);
134 static Callable FastNewSloppyArguments(Isolate* isolate, 135 static Callable FastNewSloppyArguments(Isolate* isolate,
135 bool skip_stub_frame = false); 136 bool skip_stub_frame = false);
136 static Callable FastNewStrictArguments(Isolate* isolate, 137 static Callable FastNewStrictArguments(Isolate* isolate,
137 bool skip_stub_frame = false); 138 bool skip_stub_frame = false);
138 139
139 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); 140 static Callable CopyFastSmiOrObjectElements(Isolate* isolate);
(...skipping 24 matching lines...) Expand all
164 Isolate* isolate, CallableType function_type = CallableType::kAny); 165 Isolate* isolate, CallableType function_type = CallableType::kAny);
165 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); 166 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate);
166 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 167 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
167 static Callable InterpreterOnStackReplacement(Isolate* isolate); 168 static Callable InterpreterOnStackReplacement(Isolate* isolate);
168 }; 169 };
169 170
170 } // namespace internal 171 } // namespace internal
171 } // namespace v8 172 } // namespace v8
172 173
173 #endif // V8_CODE_FACTORY_H_ 174 #endif // V8_CODE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698