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

Side by Side Diff: src/heap.cc

Issue 7012012: Only send null or undefined as receiver for es5 natives, not generally (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 7 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/builtins-arm.cc ('k') | src/ia32/builtins-ia32.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 2359 matching lines...) Expand 10 before | Expand all | Expand 10 after
2370 share->set_inferred_name(empty_string()); 2370 share->set_inferred_name(empty_string());
2371 share->set_compiler_hints(0); 2371 share->set_compiler_hints(0);
2372 share->set_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times)); 2372 share->set_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times));
2373 share->set_initial_map(undefined_value()); 2373 share->set_initial_map(undefined_value());
2374 share->set_this_property_assignments_count(0); 2374 share->set_this_property_assignments_count(0);
2375 share->set_this_property_assignments(undefined_value()); 2375 share->set_this_property_assignments(undefined_value());
2376 share->set_opt_count(0); 2376 share->set_opt_count(0);
2377 share->set_num_literals(0); 2377 share->set_num_literals(0);
2378 share->set_end_position(0); 2378 share->set_end_position(0);
2379 share->set_function_token_position(0); 2379 share->set_function_token_position(0);
2380 share->set_es5_native(false);
2380 return result; 2381 return result;
2381 } 2382 }
2382 2383
2383 2384
2384 MaybeObject* Heap::AllocateJSMessageObject(String* type, 2385 MaybeObject* Heap::AllocateJSMessageObject(String* type,
2385 JSArray* arguments, 2386 JSArray* arguments,
2386 int start_position, 2387 int start_position,
2387 int end_position, 2388 int end_position,
2388 Object* script, 2389 Object* script,
2389 Object* stack_trace, 2390 Object* stack_trace,
(...skipping 3470 matching lines...) Expand 10 before | Expand all | Expand 10 after
5860 } 5861 }
5861 5862
5862 5863
5863 void ExternalStringTable::TearDown() { 5864 void ExternalStringTable::TearDown() {
5864 new_space_strings_.Free(); 5865 new_space_strings_.Free();
5865 old_space_strings_.Free(); 5866 old_space_strings_.Free();
5866 } 5867 }
5867 5868
5868 5869
5869 } } // namespace v8::internal 5870 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698