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

Side by Side Diff: src/runtime/runtime.h

Issue 1396693003: [Interpreter] Add function literal support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_newcontext
Patch Set: Review comments Created 5 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
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/runtime/runtime-interpreter.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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 F(InterpreterEquals, 2, 1) \ 220 F(InterpreterEquals, 2, 1) \
221 F(InterpreterNotEquals, 2, 1) \ 221 F(InterpreterNotEquals, 2, 1) \
222 F(InterpreterStrictEquals, 2, 1) \ 222 F(InterpreterStrictEquals, 2, 1) \
223 F(InterpreterStrictNotEquals, 2, 1) \ 223 F(InterpreterStrictNotEquals, 2, 1) \
224 F(InterpreterLessThan, 2, 1) \ 224 F(InterpreterLessThan, 2, 1) \
225 F(InterpreterGreaterThan, 2, 1) \ 225 F(InterpreterGreaterThan, 2, 1) \
226 F(InterpreterLessThanOrEqual, 2, 1) \ 226 F(InterpreterLessThanOrEqual, 2, 1) \
227 F(InterpreterGreaterThanOrEqual, 2, 1) \ 227 F(InterpreterGreaterThanOrEqual, 2, 1) \
228 F(InterpreterToBoolean, 1, 1) \ 228 F(InterpreterToBoolean, 1, 1) \
229 F(InterpreterLogicalNot, 1, 1) \ 229 F(InterpreterLogicalNot, 1, 1) \
230 F(InterpreterTypeOf, 1, 1) 230 F(InterpreterTypeOf, 1, 1) \
231 F(InterpreterNewClosure, 2, 1)
231 232
232 233
233 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ 234 #define FOR_EACH_INTRINSIC_FUNCTION(F) \
234 F(FunctionGetName, 1, 1) \ 235 F(FunctionGetName, 1, 1) \
235 F(FunctionSetName, 2, 1) \ 236 F(FunctionSetName, 2, 1) \
236 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ 237 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \
237 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ 238 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \
238 F(FunctionIsArrow, 1, 1) \ 239 F(FunctionIsArrow, 1, 1) \
239 F(FunctionIsConciseMethod, 1, 1) \ 240 F(FunctionIsConciseMethod, 1, 1) \
240 F(FunctionRemovePrototype, 1, 1) \ 241 F(FunctionRemovePrototype, 1, 1) \
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 1255
1255 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1256 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1256 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1257 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1257 STATIC_ASSERT(LANGUAGE_END == 3); 1258 STATIC_ASSERT(LANGUAGE_END == 3);
1258 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1259 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1259 1260
1260 } // namespace internal 1261 } // namespace internal
1261 } // namespace v8 1262 } // namespace v8
1262 1263
1263 #endif // V8_RUNTIME_RUNTIME_H_ 1264 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/runtime/runtime-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698