| OLD | NEW |
| 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_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ | 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| 6 #define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ | 6 #define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| 7 | 7 |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/crankshaft/arm/lithium-arm.h" | 9 #include "src/crankshaft/arm/lithium-arm.h" |
| 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" | 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 Handle<String> type_name); | 285 Handle<String> type_name); |
| 286 | 286 |
| 287 // Emits optimized code for %_IsString(x). Preserves input register. | 287 // Emits optimized code for %_IsString(x). Preserves input register. |
| 288 // Returns the condition on which a final split to | 288 // Returns the condition on which a final split to |
| 289 // true and false label should be made, to optimize fallthrough. | 289 // true and false label should be made, to optimize fallthrough. |
| 290 Condition EmitIsString(Register input, | 290 Condition EmitIsString(Register input, |
| 291 Register temp1, | 291 Register temp1, |
| 292 Label* is_not_string, | 292 Label* is_not_string, |
| 293 SmiCheck check_needed); | 293 SmiCheck check_needed); |
| 294 | 294 |
| 295 // Emits optimized code for %_IsConstructCall(). | |
| 296 // Caller should branch on equal condition. | |
| 297 void EmitIsConstructCall(Register temp1, Register temp2); | |
| 298 | |
| 299 // Emits optimized code to deep-copy the contents of statically known | 295 // Emits optimized code to deep-copy the contents of statically known |
| 300 // object graphs (e.g. object literal boilerplate). | 296 // object graphs (e.g. object literal boilerplate). |
| 301 void EmitDeepCopy(Handle<JSObject> object, | 297 void EmitDeepCopy(Handle<JSObject> object, |
| 302 Register result, | 298 Register result, |
| 303 Register source, | 299 Register source, |
| 304 int* offset, | 300 int* offset, |
| 305 AllocationSiteMode mode); | 301 AllocationSiteMode mode); |
| 306 | 302 |
| 307 void EnsureSpaceForLazyDeopt(int space_needed) override; | 303 void EnsureSpaceForLazyDeopt(int space_needed) override; |
| 308 void DoLoadKeyedExternalArray(LLoadKeyed* instr); | 304 void DoLoadKeyedExternalArray(LLoadKeyed* instr); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 Label entry_; | 385 Label entry_; |
| 390 Label exit_; | 386 Label exit_; |
| 391 Label* external_exit_; | 387 Label* external_exit_; |
| 392 int instruction_index_; | 388 int instruction_index_; |
| 393 }; | 389 }; |
| 394 | 390 |
| 395 } // namespace internal | 391 } // namespace internal |
| 396 } // namespace v8 | 392 } // namespace v8 |
| 397 | 393 |
| 398 #endif // V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ | 394 #endif // V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |