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

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

Issue 2389233002: [regexp] Port RegExp getters and setters (Closed)
Patch Set: Handle Smi receivers 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_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 <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 F(ThrowConstructedNonConstructable, 1, 1) \ 318 F(ThrowConstructedNonConstructable, 1, 1) \
319 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ 319 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \
320 F(ThrowGeneratorRunning, 0, 1) \ 320 F(ThrowGeneratorRunning, 0, 1) \
321 F(ThrowIllegalInvocation, 0, 1) \ 321 F(ThrowIllegalInvocation, 0, 1) \
322 F(ThrowIncompatibleMethodReceiver, 2, 1) \ 322 F(ThrowIncompatibleMethodReceiver, 2, 1) \
323 F(ThrowInvalidStringLength, 0, 1) \ 323 F(ThrowInvalidStringLength, 0, 1) \
324 F(ThrowIteratorResultNotAnObject, 1, 1) \ 324 F(ThrowIteratorResultNotAnObject, 1, 1) \
325 F(ThrowNotGeneric, 1, 1) \ 325 F(ThrowNotGeneric, 1, 1) \
326 F(ThrowReferenceError, 1, 1) \ 326 F(ThrowReferenceError, 1, 1) \
327 F(ThrowStackOverflow, 0, 1) \ 327 F(ThrowStackOverflow, 0, 1) \
328 F(ThrowTypeError, -1 /* >= 1 */, 1) \
328 F(ThrowWasmError, 2, 1) \ 329 F(ThrowWasmError, 2, 1) \
329 F(ThrowUndefinedOrNullToObject, 1, 1) \ 330 F(ThrowUndefinedOrNullToObject, 1, 1) \
330 F(Typeof, 1, 1) \ 331 F(Typeof, 1, 1) \
331 F(UnwindAndFindExceptionHandler, 0, 1) 332 F(UnwindAndFindExceptionHandler, 0, 1)
332 333
333 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 334 #define FOR_EACH_INTRINSIC_LITERALS(F) \
334 F(CreateRegExpLiteral, 4, 1) \ 335 F(CreateRegExpLiteral, 4, 1) \
335 F(CreateObjectLiteral, 4, 1) \ 336 F(CreateObjectLiteral, 4, 1) \
336 F(CreateArrayLiteral, 4, 1) \ 337 F(CreateArrayLiteral, 4, 1) \
337 F(CreateArrayLiteralStubBailout, 3, 1) 338 F(CreateArrayLiteralStubBailout, 3, 1)
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 1126
1126 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1127 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1128 STATIC_ASSERT(LANGUAGE_END == 2); 1129 STATIC_ASSERT(LANGUAGE_END == 2);
1129 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1130 1131
1131 } // namespace internal 1132 } // namespace internal
1132 } // namespace v8 1133 } // namespace v8
1133 1134
1134 #endif // V8_RUNTIME_RUNTIME_H_ 1135 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698