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

Side by Side Diff: src/bootstrapper.cc

Issue 8256015: Implement for-in loop for proxies. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Rico's comments. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/builtins.h » ('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 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1369 INSTALL_NATIVE(JSObject, "functionCache", function_cache); 1369 INSTALL_NATIVE(JSObject, "functionCache", function_cache);
1370 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", 1370 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor",
1371 to_complete_property_descriptor); 1371 to_complete_property_descriptor);
1372 } 1372 }
1373 1373
1374 void Genesis::InstallExperimentalNativeFunctions() { 1374 void Genesis::InstallExperimentalNativeFunctions() {
1375 if (FLAG_harmony_proxies) { 1375 if (FLAG_harmony_proxies) {
1376 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); 1376 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
1377 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); 1377 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
1378 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); 1378 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1379 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1379 } 1380 }
1380 } 1381 }
1381 1382
1382 #undef INSTALL_NATIVE 1383 #undef INSTALL_NATIVE
1383 1384
1384 1385
1385 bool Genesis::InstallNatives() { 1386 bool Genesis::InstallNatives() {
1386 HandleScope scope; 1387 HandleScope scope;
1387 1388
1388 // Create a function for the builtins object. Allocate space for the 1389 // Create a function for the builtins object. Allocate space for the
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 return from + sizeof(NestingCounterType); 2285 return from + sizeof(NestingCounterType);
2285 } 2286 }
2286 2287
2287 2288
2288 // Called when the top-level V8 mutex is destroyed. 2289 // Called when the top-level V8 mutex is destroyed.
2289 void Bootstrapper::FreeThreadResources() { 2290 void Bootstrapper::FreeThreadResources() {
2290 ASSERT(!IsActive()); 2291 ASSERT(!IsActive());
2291 } 2292 }
2292 2293
2293 } } // namespace v8::internal 2294 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698