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

Side by Side Diff: src/runtime.h

Issue 7529007: Preliminary Harmony weak maps API implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Make sure the constructor can be called directly. Created 9 years, 4 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
« no previous file with comments | « src/objects-visiting.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 F(CreateObjectLiteralShallow, 4, 1) \ 280 F(CreateObjectLiteralShallow, 4, 1) \
281 F(CreateArrayLiteral, 3, 1) \ 281 F(CreateArrayLiteral, 3, 1) \
282 F(CreateArrayLiteralShallow, 3, 1) \ 282 F(CreateArrayLiteralShallow, 3, 1) \
283 \ 283 \
284 /* Harmony proxies */ \ 284 /* Harmony proxies */ \
285 F(CreateJSProxy, 2, 1) \ 285 F(CreateJSProxy, 2, 1) \
286 F(IsJSProxy, 1, 1) \ 286 F(IsJSProxy, 1, 1) \
287 F(GetHandler, 1, 1) \ 287 F(GetHandler, 1, 1) \
288 F(Fix, 1, 1) \ 288 F(Fix, 1, 1) \
289 \ 289 \
290 /* Harmony weakmaps */ \
291 F(WeakMapInitialize, 1, 1) \
292 F(WeakMapGet, 2, 1) \
293 F(WeakMapSet, 3, 1) \
294 \
290 /* Statements */ \ 295 /* Statements */ \
291 F(NewClosure, 3, 1) \ 296 F(NewClosure, 3, 1) \
292 F(NewObject, 1, 1) \ 297 F(NewObject, 1, 1) \
293 F(NewObjectFromBound, 2, 1) \ 298 F(NewObjectFromBound, 2, 1) \
294 F(FinalizeInstanceSize, 1, 1) \ 299 F(FinalizeInstanceSize, 1, 1) \
295 F(Throw, 1, 1) \ 300 F(Throw, 1, 1) \
296 F(ReThrow, 1, 1) \ 301 F(ReThrow, 1, 1) \
297 F(ThrowReferenceError, 1, 1) \ 302 F(ThrowReferenceError, 1, 1) \
298 F(StackGuard, 0, 1) \ 303 F(StackGuard, 0, 1) \
299 F(PromoteScheduledException, 0, 1) \ 304 F(PromoteScheduledException, 0, 1) \
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 Handle<Script> script, 656 Handle<Script> script,
652 int position); 657 int position);
653 658
654 // Helper functions used stubs. 659 // Helper functions used stubs.
655 static void PerformGC(Object* result); 660 static void PerformGC(Object* result);
656 }; 661 };
657 662
658 } } // namespace v8::internal 663 } } // namespace v8::internal
659 664
660 #endif // V8_RUNTIME_H_ 665 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-visiting.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698