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

Side by Side Diff: src/mips/lithium-codegen-mips.h

Issue 22255005: MIPS: Replace LoadNamedFieldPolymorphic with explicit branches. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 | « no previous file | src/mips/lithium-codegen-mips.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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // true and false label should be made, to optimize fallthrough. 371 // true and false label should be made, to optimize fallthrough.
372 Condition EmitIsString(Register input, 372 Condition EmitIsString(Register input,
373 Register temp1, 373 Register temp1,
374 Label* is_not_string, 374 Label* is_not_string,
375 SmiCheck check_needed); 375 SmiCheck check_needed);
376 376
377 // Emits optimized code for %_IsConstructCall(). 377 // Emits optimized code for %_IsConstructCall().
378 // Caller should branch on equal condition. 378 // Caller should branch on equal condition.
379 void EmitIsConstructCall(Register temp1, Register temp2); 379 void EmitIsConstructCall(Register temp1, Register temp2);
380 380
381 void EmitLoadFieldOrConstantFunction(Register result,
382 Register object,
383 Handle<Map> type,
384 Handle<String> name,
385 LEnvironment* env);
386
387 // Emits optimized code to deep-copy the contents of statically known 381 // Emits optimized code to deep-copy the contents of statically known
388 // object graphs (e.g. object literal boilerplate). 382 // object graphs (e.g. object literal boilerplate).
389 void EmitDeepCopy(Handle<JSObject> object, 383 void EmitDeepCopy(Handle<JSObject> object,
390 Register result, 384 Register result,
391 Register source, 385 Register source,
392 int* offset, 386 int* offset,
393 AllocationSiteMode mode); 387 AllocationSiteMode mode);
394 // Emit optimized code for integer division. 388 // Emit optimized code for integer division.
395 // Inputs are signed. 389 // Inputs are signed.
396 // All registers are clobbered. 390 // All registers are clobbered.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 LCodeGen* codegen_; 510 LCodeGen* codegen_;
517 Label entry_; 511 Label entry_;
518 Label exit_; 512 Label exit_;
519 Label* external_exit_; 513 Label* external_exit_;
520 int instruction_index_; 514 int instruction_index_;
521 }; 515 };
522 516
523 } } // namespace v8::internal 517 } } // namespace v8::internal
524 518
525 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 519 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698