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

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

Issue 8551006: Version 3.7.9. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
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/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 Handle<String> type_name); 273 Handle<String> type_name);
274 274
275 // Emits optimized code for %_IsObject(x). Preserves input register. 275 // Emits optimized code for %_IsObject(x). Preserves input register.
276 // Returns the condition on which a final split to 276 // Returns the condition on which a final split to
277 // true and false label should be made, to optimize fallthrough. 277 // true and false label should be made, to optimize fallthrough.
278 Condition EmitIsObject(Register input, 278 Condition EmitIsObject(Register input,
279 Register temp1, 279 Register temp1,
280 Label* is_not_object, 280 Label* is_not_object,
281 Label* is_object); 281 Label* is_object);
282 282
283 // Emits optimized code for %_IsString(x). Preserves input register.
284 // Returns the condition on which a final split to
285 // true and false label should be made, to optimize fallthrough.
286 Condition EmitIsString(Register input,
287 Register temp1,
288 Label* is_not_string);
289
283 // Emits optimized code for %_IsConstructCall(). 290 // Emits optimized code for %_IsConstructCall().
284 // Caller should branch on equal condition. 291 // Caller should branch on equal condition.
285 void EmitIsConstructCall(Register temp); 292 void EmitIsConstructCall(Register temp);
286 293
287 void EmitLoadFieldOrConstantFunction(Register result, 294 void EmitLoadFieldOrConstantFunction(Register result,
288 Register object, 295 Register object,
289 Handle<Map> type, 296 Handle<Map> type,
290 Handle<String> name); 297 Handle<String> name);
291 void EnsureSpaceForLazyDeopt(); 298 void EnsureSpaceForLazyDeopt();
292 299
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 LCodeGen* codegen_; 376 LCodeGen* codegen_;
370 Label entry_; 377 Label entry_;
371 Label exit_; 378 Label exit_;
372 Label* external_exit_; 379 Label* external_exit_;
373 int instruction_index_; 380 int instruction_index_;
374 }; 381 };
375 382
376 } } // namespace v8::internal 383 } } // namespace v8::internal
377 384
378 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 385 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698