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

Side by Side Diff: src/heap.cc

Issue 7071009: Revert "Pass undefined to JS builtins when called with implicit receiver." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/handles.cc ('k') | src/hydrogen.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 2370 matching lines...) Expand 10 before | Expand all | Expand 10 after
2381 share->set_inferred_name(empty_string()); 2381 share->set_inferred_name(empty_string());
2382 share->set_compiler_hints(0); 2382 share->set_compiler_hints(0);
2383 share->set_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times)); 2383 share->set_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times));
2384 share->set_initial_map(undefined_value()); 2384 share->set_initial_map(undefined_value());
2385 share->set_this_property_assignments_count(0); 2385 share->set_this_property_assignments_count(0);
2386 share->set_this_property_assignments(undefined_value()); 2386 share->set_this_property_assignments(undefined_value());
2387 share->set_opt_count(0); 2387 share->set_opt_count(0);
2388 share->set_num_literals(0); 2388 share->set_num_literals(0);
2389 share->set_end_position(0); 2389 share->set_end_position(0);
2390 share->set_function_token_position(0); 2390 share->set_function_token_position(0);
2391 share->set_native(false); 2391 share->set_es5_native(false);
2392 return result; 2392 return result;
2393 } 2393 }
2394 2394
2395 2395
2396 MaybeObject* Heap::AllocateJSMessageObject(String* type, 2396 MaybeObject* Heap::AllocateJSMessageObject(String* type,
2397 JSArray* arguments, 2397 JSArray* arguments,
2398 int start_position, 2398 int start_position,
2399 int end_position, 2399 int end_position,
2400 Object* script, 2400 Object* script,
2401 Object* stack_trace, 2401 Object* stack_trace,
(...skipping 3519 matching lines...) Expand 10 before | Expand all | Expand 10 after
5921 } 5921 }
5922 5922
5923 5923
5924 void ExternalStringTable::TearDown() { 5924 void ExternalStringTable::TearDown() {
5925 new_space_strings_.Free(); 5925 new_space_strings_.Free();
5926 old_space_strings_.Free(); 5926 old_space_strings_.Free();
5927 } 5927 }
5928 5928
5929 5929
5930 } } // namespace v8::internal 5930 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698