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

Side by Side Diff: src/ia32/code-stubs-ia32.cc

Issue 146003006: Revert broken ArrayPop changes (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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/hydrogen.cc ('k') | src/ia32/stub-cache-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 ecx, // name 414 ecx, // name
415 }; 415 };
416 static Representation representations[] = { 416 static Representation representations[] = {
417 Representation::Tagged(), // context 417 Representation::Tagged(), // context
418 Representation::Tagged(), // name 418 Representation::Tagged(), // name
419 }; 419 };
420 descriptor->register_param_count_ = 2; 420 descriptor->register_param_count_ = 2;
421 descriptor->register_params_ = registers; 421 descriptor->register_params_ = registers;
422 descriptor->param_representations_ = representations; 422 descriptor->param_representations_ = representations;
423 } 423 }
424 {
425 CallInterfaceDescriptor* descriptor =
426 isolate->call_descriptor(Isolate::CallHandler);
427 static Register registers[] = { esi, // context
428 edx, // receiver
429 };
430 static Representation representations[] = {
431 Representation::Tagged(), // context
432 Representation::Tagged(), // receiver
433 };
434 descriptor->register_param_count_ = 2;
435 descriptor->register_params_ = registers;
436 descriptor->param_representations_ = representations;
437 }
438 } 424 }
439 425
440 426
441 #define __ ACCESS_MASM(masm) 427 #define __ ACCESS_MASM(masm)
442 428
443 429
444 void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) { 430 void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) {
445 // Update the static counter each time a new code stub is generated. 431 // Update the static counter each time a new code stub is generated.
446 Isolate* isolate = masm->isolate(); 432 Isolate* isolate = masm->isolate();
447 isolate->counters()->code_stubs()->Increment(); 433 isolate->counters()->code_stubs()->Increment();
(...skipping 4932 matching lines...) Expand 10 before | Expand all | Expand 10 after
5380 __ bind(&fast_elements_case); 5366 __ bind(&fast_elements_case);
5381 GenerateCase(masm, FAST_ELEMENTS); 5367 GenerateCase(masm, FAST_ELEMENTS);
5382 } 5368 }
5383 5369
5384 5370
5385 #undef __ 5371 #undef __
5386 5372
5387 } } // namespace v8::internal 5373 } } // namespace v8::internal
5388 5374
5389 #endif // V8_TARGET_ARCH_IA32 5375 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/stub-cache-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698