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

Side by Side Diff: src/hydrogen.h

Issue 947683002: Reimplement Maps and Sets in JS (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rename all the things, add more macros, and remove unnecessary %_CallFunctions Created 5 years, 9 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_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2199 matching lines...) Expand 10 before | Expand all | Expand 10 after
2210 F(ArrayBufferGetByteLength) \ 2210 F(ArrayBufferGetByteLength) \
2211 /* Maths */ \ 2211 /* Maths */ \
2212 F(ConstructDouble) \ 2212 F(ConstructDouble) \
2213 F(DoubleHi) \ 2213 F(DoubleHi) \
2214 F(DoubleLo) \ 2214 F(DoubleLo) \
2215 F(MathFloor) \ 2215 F(MathFloor) \
2216 F(MathSqrt) \ 2216 F(MathSqrt) \
2217 F(MathLogRT) \ 2217 F(MathLogRT) \
2218 /* ES6 Collections */ \ 2218 /* ES6 Collections */ \
2219 F(MapClear) \ 2219 F(MapClear) \
2220 F(MapDelete) \
2221 F(MapGet) \
2222 F(MapGetSize) \
2223 F(MapHas) \
2224 F(MapInitialize) \ 2220 F(MapInitialize) \
2225 F(MapSet) \
2226 F(SetAdd) \
2227 F(SetClear) \ 2221 F(SetClear) \
2228 F(SetDelete) \
2229 F(SetGetSize) \
2230 F(SetHas) \
2231 F(SetInitialize) \ 2222 F(SetInitialize) \
2223 F(FixedArrayGet) \
2224 F(FixedArraySet) \
2225 F(JSCollectionGetTable) \
2226 F(StringGetRawHashField) \
2227 F(TheHole) \
2232 /* Arrays */ \ 2228 /* Arrays */ \
2233 F(HasFastPackedElements) \ 2229 F(HasFastPackedElements) \
2234 F(GetPrototype) 2230 F(GetPrototype)
2235 2231
2236 #define GENERATOR_DECLARATION(Name) void Generate##Name(CallRuntime* call); 2232 #define GENERATOR_DECLARATION(Name) void Generate##Name(CallRuntime* call);
2237 FOR_EACH_HYDROGEN_INTRINSIC(GENERATOR_DECLARATION) 2233 FOR_EACH_HYDROGEN_INTRINSIC(GENERATOR_DECLARATION)
2238 #undef GENERATOR_DECLARATION 2234 #undef GENERATOR_DECLARATION
2239 2235
2240 void VisitDelete(UnaryOperation* expr); 2236 void VisitDelete(UnaryOperation* expr);
2241 void VisitVoid(UnaryOperation* expr); 2237 void VisitVoid(UnaryOperation* expr);
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
3026 } 3022 }
3027 3023
3028 private: 3024 private:
3029 HGraphBuilder* builder_; 3025 HGraphBuilder* builder_;
3030 }; 3026 };
3031 3027
3032 3028
3033 } } // namespace v8::internal 3029 } } // namespace v8::internal
3034 3030
3035 #endif // V8_HYDROGEN_H_ 3031 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698