Chromium Code Reviews

Side by Side Diff: src/runtime.h

Issue 368263003: Use a stub in crankshaft for grow store arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Performance fixes. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/zone.h" 9 #include "src/zone.h"
10 10
(...skipping 417 matching lines...)
428 \ 428 \
429 /* Harmony generators */ \ 429 /* Harmony generators */ \
430 F(CreateJSGeneratorObject, 0, 1) \ 430 F(CreateJSGeneratorObject, 0, 1) \
431 F(SuspendJSGeneratorObject, 1, 1) \ 431 F(SuspendJSGeneratorObject, 1, 1) \
432 F(ResumeJSGeneratorObject, 3, 1) \ 432 F(ResumeJSGeneratorObject, 3, 1) \
433 F(ThrowGeneratorStateError, 1, 1) \ 433 F(ThrowGeneratorStateError, 1, 1) \
434 \ 434 \
435 /* Arrays */ \ 435 /* Arrays */ \
436 F(ArrayConstructor, -1, 1) \ 436 F(ArrayConstructor, -1, 1) \
437 F(InternalArrayConstructor, -1, 1) \ 437 F(InternalArrayConstructor, -1, 1) \
438 F(GrowArrayElements, 3, 1) \
438 \ 439 \
439 /* Literals */ \ 440 /* Literals */ \
440 F(MaterializeRegExpLiteral, 4, 1)\ 441 F(MaterializeRegExpLiteral, 4, 1)\
441 F(CreateObjectLiteral, 4, 1) \ 442 F(CreateObjectLiteral, 4, 1) \
442 F(CreateArrayLiteral, 4, 1) \ 443 F(CreateArrayLiteral, 4, 1) \
443 F(CreateArrayLiteralStubBailout, 3, 1) \ 444 F(CreateArrayLiteralStubBailout, 3, 1) \
444 \ 445 \
445 /* Statements */ \ 446 /* Statements */ \
446 F(NewClosure, 3, 1) \ 447 F(NewClosure, 3, 1) \
447 F(NewClosureFromStubFailure, 1, 1) \ 448 F(NewClosureFromStubFailure, 1, 1) \
(...skipping 441 matching lines...)
889 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 890 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
890 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 891 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
891 892
892 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 893 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
893 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 894 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
894 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 895 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
895 896
896 } } // namespace v8::internal 897 } } // namespace v8::internal
897 898
898 #endif // V8_RUNTIME_H_ 899 #endif // V8_RUNTIME_H_
OLDNEW
« src/ia32/lithium-ia32.cc ('K') | « src/lithium-codegen.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine