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

Side by Side Diff: src/runtime.h

Issue 7623011: Implement function proxies (except for their use as constructors). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Eps: refined a comment. Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 F(CreateArrayLiteralBoilerplate, 3, 1) \ 279 F(CreateArrayLiteralBoilerplate, 3, 1) \
280 F(CloneLiteralBoilerplate, 1, 1) \ 280 F(CloneLiteralBoilerplate, 1, 1) \
281 F(CloneShallowLiteralBoilerplate, 1, 1) \ 281 F(CloneShallowLiteralBoilerplate, 1, 1) \
282 F(CreateObjectLiteral, 4, 1) \ 282 F(CreateObjectLiteral, 4, 1) \
283 F(CreateObjectLiteralShallow, 4, 1) \ 283 F(CreateObjectLiteralShallow, 4, 1) \
284 F(CreateArrayLiteral, 3, 1) \ 284 F(CreateArrayLiteral, 3, 1) \
285 F(CreateArrayLiteralShallow, 3, 1) \ 285 F(CreateArrayLiteralShallow, 3, 1) \
286 \ 286 \
287 /* Harmony proxies */ \ 287 /* Harmony proxies */ \
288 F(CreateJSProxy, 2, 1) \ 288 F(CreateJSProxy, 2, 1) \
289 F(CreateJSFunctionProxy, 4, 1) \
289 F(IsJSProxy, 1, 1) \ 290 F(IsJSProxy, 1, 1) \
291 F(IsJSFunctionProxy, 1, 1) \
290 F(GetHandler, 1, 1) \ 292 F(GetHandler, 1, 1) \
293 F(GetCallTrap, 1, 1) \
294 F(GetConstructTrap, 1, 1) \
291 F(Fix, 1, 1) \ 295 F(Fix, 1, 1) \
292 \ 296 \
293 /* Harmony weakmaps */ \ 297 /* Harmony weakmaps */ \
294 F(WeakMapInitialize, 1, 1) \ 298 F(WeakMapInitialize, 1, 1) \
295 F(WeakMapGet, 2, 1) \ 299 F(WeakMapGet, 2, 1) \
296 F(WeakMapSet, 3, 1) \ 300 F(WeakMapSet, 3, 1) \
297 \ 301 \
298 /* Statements */ \ 302 /* Statements */ \
299 F(NewClosure, 3, 1) \ 303 F(NewClosure, 3, 1) \
300 F(NewObject, 1, 1) \ 304 F(NewObject, 1, 1) \
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 Handle<Script> script, 663 Handle<Script> script,
660 int position); 664 int position);
661 665
662 // Helper functions used stubs. 666 // Helper functions used stubs.
663 static void PerformGC(Object* result); 667 static void PerformGC(Object* result);
664 }; 668 };
665 669
666 } } // namespace v8::internal 670 } } // namespace v8::internal
667 671
668 #endif // V8_RUNTIME_H_ 672 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698