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 1469313002: [interpreter] Switch passing of new.target to register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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_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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 F(SetNativeFlag, 1, 1) \ 254 F(SetNativeFlag, 1, 1) \
255 F(ThrowStrongModeTooFewArguments, 0, 1) \ 255 F(ThrowStrongModeTooFewArguments, 0, 1) \
256 F(IsConstructor, 1, 1) \ 256 F(IsConstructor, 1, 1) \
257 F(SetForceInlineFlag, 1, 1) \ 257 F(SetForceInlineFlag, 1, 1) \
258 F(FunctionBindArguments, 4, 1) \ 258 F(FunctionBindArguments, 4, 1) \
259 F(BoundFunctionGetBindings, 1, 1) \ 259 F(BoundFunctionGetBindings, 1, 1) \
260 F(NewObjectFromBound, 1, 1) \ 260 F(NewObjectFromBound, 1, 1) \
261 F(Call, -1 /* >= 2 */, 1) \ 261 F(Call, -1 /* >= 2 */, 1) \
262 F(TailCall, -1 /* >= 2 */, 1) \ 262 F(TailCall, -1 /* >= 2 */, 1) \
263 F(Apply, 5, 1) \ 263 F(Apply, 5, 1) \
264 F(GetNewTarget, 0, 1) \
265 F(ConvertReceiver, 1, 1) \ 264 F(ConvertReceiver, 1, 1) \
266 F(IsConstructCall, 0, 1) \ 265 F(IsConstructCall, 0, 1) \
267 F(IsFunction, 1, 1) 266 F(IsFunction, 1, 1)
268 267
269 268
270 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ 269 #define FOR_EACH_INTRINSIC_GENERATOR(F) \
271 F(CreateJSGeneratorObject, 0, 1) \ 270 F(CreateJSGeneratorObject, 0, 1) \
272 F(SuspendJSGeneratorObject, -1, 1) \ 271 F(SuspendJSGeneratorObject, -1, 1) \
273 F(ResumeJSGeneratorObject, 3, 1) \ 272 F(ResumeJSGeneratorObject, 3, 1) \
274 F(GeneratorClose, 1, 1) \ 273 F(GeneratorClose, 1, 1) \
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 1260
1262 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1261 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1263 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1262 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1264 STATIC_ASSERT(LANGUAGE_END == 3); 1263 STATIC_ASSERT(LANGUAGE_END == 3);
1265 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1264 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1266 1265
1267 } // namespace internal 1266 } // namespace internal
1268 } // namespace v8 1267 } // namespace v8
1269 1268
1270 #endif // V8_RUNTIME_RUNTIME_H_ 1269 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698