OLD | NEW |
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 3392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3403 if (has_external_reference_value_) { | 3403 if (has_external_reference_value_) { |
3404 return false; | 3404 return false; |
3405 } | 3405 } |
3406 | 3406 |
3407 ASSERT(!object_.handle().is_null()); | 3407 ASSERT(!object_.handle().is_null()); |
3408 Heap* heap = isolate()->heap(); | 3408 Heap* heap = isolate()->heap(); |
3409 ASSERT(!object_.IsKnownGlobal(heap->minus_zero_value())); | 3409 ASSERT(!object_.IsKnownGlobal(heap->minus_zero_value())); |
3410 ASSERT(!object_.IsKnownGlobal(heap->nan_value())); | 3410 ASSERT(!object_.IsKnownGlobal(heap->nan_value())); |
3411 return | 3411 return |
3412 object_.IsKnownGlobal(heap->undefined_value()) || | 3412 object_.IsKnownGlobal(heap->undefined_value()) || |
| 3413 object_.IsKnownGlobal(heap->uninitialized_value()) || |
3413 object_.IsKnownGlobal(heap->null_value()) || | 3414 object_.IsKnownGlobal(heap->null_value()) || |
3414 object_.IsKnownGlobal(heap->true_value()) || | 3415 object_.IsKnownGlobal(heap->true_value()) || |
3415 object_.IsKnownGlobal(heap->false_value()) || | 3416 object_.IsKnownGlobal(heap->false_value()) || |
3416 object_.IsKnownGlobal(heap->the_hole_value()) || | 3417 object_.IsKnownGlobal(heap->the_hole_value()) || |
3417 object_.IsKnownGlobal(heap->empty_string()) || | 3418 object_.IsKnownGlobal(heap->empty_string()) || |
3418 object_.IsKnownGlobal(heap->empty_fixed_array()); | 3419 object_.IsKnownGlobal(heap->empty_fixed_array()); |
3419 } | 3420 } |
3420 | 3421 |
3421 bool IsCell() const { | 3422 bool IsCell() const { |
3422 return is_cell_; | 3423 return is_cell_; |
(...skipping 3983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7406 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7407 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
7407 }; | 7408 }; |
7408 | 7409 |
7409 | 7410 |
7410 #undef DECLARE_INSTRUCTION | 7411 #undef DECLARE_INSTRUCTION |
7411 #undef DECLARE_CONCRETE_INSTRUCTION | 7412 #undef DECLARE_CONCRETE_INSTRUCTION |
7412 | 7413 |
7413 } } // namespace v8::internal | 7414 } } // namespace v8::internal |
7414 | 7415 |
7415 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7416 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |