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

Side by Side Diff: src/bootstrapper.cc

Issue 6992072: Implement set trap for proxies, and revamp class hierarchy in preparation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review. Created 9 years, 6 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/stub-cache-arm.cc ('k') | src/contexts.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 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); 1282 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun);
1283 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", 1283 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance",
1284 configure_instance_fun); 1284 configure_instance_fun);
1285 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); 1285 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun);
1286 INSTALL_NATIVE(JSObject, "functionCache", function_cache); 1286 INSTALL_NATIVE(JSObject, "functionCache", function_cache);
1287 } 1287 }
1288 1288
1289 void Genesis::InstallExperimentalNativeFunctions() { 1289 void Genesis::InstallExperimentalNativeFunctions() {
1290 if (FLAG_harmony_proxies) { 1290 if (FLAG_harmony_proxies) {
1291 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); 1291 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
1292 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1292 } 1293 }
1293 } 1294 }
1294 1295
1295 #undef INSTALL_NATIVE 1296 #undef INSTALL_NATIVE
1296 1297
1297 1298
1298 bool Genesis::InstallNatives() { 1299 bool Genesis::InstallNatives() {
1299 HandleScope scope; 1300 HandleScope scope;
1300 1301
1301 // Create a function for the builtins object. Allocate space for the 1302 // Create a function for the builtins object. Allocate space for the
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
2175 return from + sizeof(NestingCounterType); 2176 return from + sizeof(NestingCounterType);
2176 } 2177 }
2177 2178
2178 2179
2179 // Called when the top-level V8 mutex is destroyed. 2180 // Called when the top-level V8 mutex is destroyed.
2180 void Bootstrapper::FreeThreadResources() { 2181 void Bootstrapper::FreeThreadResources() {
2181 ASSERT(!IsActive()); 2182 ASSERT(!IsActive());
2182 } 2183 }
2183 2184
2184 } } // namespace v8::internal 2185 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698