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

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

Issue 8495011: Revert r9901 to make tree green again. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 1 month 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/ia32/lithium-ia32.cc ('k') | 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 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 Operand& cmp2); 296 Operand& cmp2);
297 297
298 // Emits optimized code for %_IsObject(x). Preserves input register. 298 // Emits optimized code for %_IsObject(x). Preserves input register.
299 // Returns the condition on which a final split to 299 // Returns the condition on which a final split to
300 // true and false label should be made, to optimize fallthrough. 300 // true and false label should be made, to optimize fallthrough.
301 Condition EmitIsObject(Register input, 301 Condition EmitIsObject(Register input,
302 Register temp1, 302 Register temp1,
303 Label* is_not_object, 303 Label* is_not_object,
304 Label* is_object); 304 Label* is_object);
305 305
306 // Emits optimized code for %_IsString(x). Preserves input register.
307 // Returns the condition on which a final split to
308 // true and false label should be made, to optimize fallthrough.
309 Condition EmitIsString(Register input,
310 Register temp1,
311 Label* is_not_object,
312 Label* is_object);
313
314 // Emits optimized code for %_IsConstructCall(). 306 // Emits optimized code for %_IsConstructCall().
315 // Caller should branch on equal condition. 307 // Caller should branch on equal condition.
316 void EmitIsConstructCall(Register temp1, Register temp2); 308 void EmitIsConstructCall(Register temp1, Register temp2);
317 309
318 void EmitLoadFieldOrConstantFunction(Register result, 310 void EmitLoadFieldOrConstantFunction(Register result,
319 Register object, 311 Register object,
320 Handle<Map> type, 312 Handle<Map> type,
321 Handle<String> name); 313 Handle<String> name);
322 314
323 struct JumpTableEntry { 315 struct JumpTableEntry {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 LCodeGen* codegen_; 419 LCodeGen* codegen_;
428 Label entry_; 420 Label entry_;
429 Label exit_; 421 Label exit_;
430 Label* external_exit_; 422 Label* external_exit_;
431 int instruction_index_; 423 int instruction_index_;
432 }; 424 };
433 425
434 } } // namespace v8::internal 426 } } // namespace v8::internal
435 427
436 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 428 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698