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

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

Issue 1313903003: [runtime] Remove the redundant %_IsObject intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Michis comment. Created 5 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
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ARM_LITHIUM_CODEGEN_ARM_H_ 5 #ifndef V8_ARM_LITHIUM_CODEGEN_ARM_H_
6 #define V8_ARM_LITHIUM_CODEGEN_ARM_H_ 6 #define V8_ARM_LITHIUM_CODEGEN_ARM_H_
7 7
8 #include "src/arm/lithium-arm.h" 8 #include "src/arm/lithium-arm.h"
9 9
10 #include "src/arm/lithium-gap-resolver-arm.h" 10 #include "src/arm/lithium-gap-resolver-arm.h"
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 DwVfpRegister result, NumberUntagDMode mode); 278 DwVfpRegister result, NumberUntagDMode mode);
279 279
280 // Emits optimized code for typeof x == "y". Modifies input register. 280 // Emits optimized code for typeof x == "y". Modifies input register.
281 // Returns the condition on which a final split to 281 // Returns the condition on which a final split to
282 // true and false label should be made, to optimize fallthrough. 282 // true and false label should be made, to optimize fallthrough.
283 Condition EmitTypeofIs(Label* true_label, 283 Condition EmitTypeofIs(Label* true_label,
284 Label* false_label, 284 Label* false_label,
285 Register input, 285 Register input,
286 Handle<String> type_name); 286 Handle<String> type_name);
287 287
288 // Emits optimized code for %_IsObject(x). Preserves input register.
289 // Returns the condition on which a final split to
290 // true and false label should be made, to optimize fallthrough.
291 Condition EmitIsObject(Register input,
292 Register temp1,
293 Label* is_not_object,
294 Label* is_object);
295
296 // Emits optimized code for %_IsString(x). Preserves input register. 288 // Emits optimized code for %_IsString(x). Preserves input register.
297 // Returns the condition on which a final split to 289 // Returns the condition on which a final split to
298 // true and false label should be made, to optimize fallthrough. 290 // true and false label should be made, to optimize fallthrough.
299 Condition EmitIsString(Register input, 291 Condition EmitIsString(Register input,
300 Register temp1, 292 Register temp1,
301 Label* is_not_string, 293 Label* is_not_string,
302 SmiCheck check_needed); 294 SmiCheck check_needed);
303 295
304 // Emits optimized code for %_IsConstructCall(). 296 // Emits optimized code for %_IsConstructCall().
305 // Caller should branch on equal condition. 297 // Caller should branch on equal condition.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 LCodeGen* codegen_; 389 LCodeGen* codegen_;
398 Label entry_; 390 Label entry_;
399 Label exit_; 391 Label exit_;
400 Label* external_exit_; 392 Label* external_exit_;
401 int instruction_index_; 393 int instruction_index_;
402 }; 394 };
403 395
404 } } // namespace v8::internal 396 } } // namespace v8::internal
405 397
406 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 398 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698