Chromium Code Reviews

Side by Side Diff: src/ic/ic.h

Issue 1474763008: Always pass an Isolate to AssemblerBase (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/ic/ic-state.h" 8 #include "src/ic/ic-state.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
(...skipping 646 matching lines...)
657 class ToBooleanIC : public IC { 657 class ToBooleanIC : public IC {
658 public: 658 public:
659 explicit ToBooleanIC(Isolate* isolate) : IC(EXTRA_CALL_FRAME, isolate) {} 659 explicit ToBooleanIC(Isolate* isolate) : IC(EXTRA_CALL_FRAME, isolate) {}
660 660
661 Handle<Object> ToBoolean(Handle<Object> object); 661 Handle<Object> ToBoolean(Handle<Object> object);
662 }; 662 };
663 663
664 664
665 // Helper for BinaryOpIC and CompareIC. 665 // Helper for BinaryOpIC and CompareIC.
666 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; 666 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK };
667 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); 667 void PatchInlinedSmiCode(Isolate* isolate, Address address,
668 InlinedSmiCheck check);
668 669
669 } // namespace internal 670 } // namespace internal
670 } // namespace v8 671 } // namespace v8
671 672
672 #endif // V8_IC_H_ 673 #endif // V8_IC_H_
OLDNEW
« src/assembler.cc ('K') | « src/ic/ia32/ic-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine