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

Side by Side Diff: src/mips/codegen-mips.h

Issue 1227893005: TypeofMode replaces TypeofState and ContextualMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 5 years, 5 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/ic/ic-state.h ('k') | src/mips/full-codegen-mips.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 // 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 5
6 #ifndef V8_MIPS_CODEGEN_MIPS_H_ 6 #ifndef V8_MIPS_CODEGEN_MIPS_H_
7 #define V8_MIPS_CODEGEN_MIPS_H_ 7 #define V8_MIPS_CODEGEN_MIPS_H_
8 8
9 9
10 #include "src/ast.h" 10 #include "src/ast.h"
11 #include "src/macro-assembler.h" 11 #include "src/macro-assembler.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 16
17 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF };
18
19
20 class StringCharLoadGenerator : public AllStatic { 17 class StringCharLoadGenerator : public AllStatic {
21 public: 18 public:
22 // Generates the code for handling different string types and loading the 19 // Generates the code for handling different string types and loading the
23 // indexed character into |result|. We expect |index| as untagged input and 20 // indexed character into |result|. We expect |index| as untagged input and
24 // |result| as untagged output. 21 // |result| as untagged output.
25 static void Generate(MacroAssembler* masm, 22 static void Generate(MacroAssembler* masm,
26 Register string, 23 Register string,
27 Register index, 24 Register index,
28 Register result, 25 Register result,
29 Label* call_runtime); 26 Label* call_runtime);
(...skipping 15 matching lines...) Expand all
45 Register temp2, 42 Register temp2,
46 Register temp3); 43 Register temp3);
47 44
48 private: 45 private:
49 DISALLOW_COPY_AND_ASSIGN(MathExpGenerator); 46 DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
50 }; 47 };
51 48
52 } } // namespace v8::internal 49 } } // namespace v8::internal
53 50
54 #endif // V8_MIPS_CODEGEN_MIPS_H_ 51 #endif // V8_MIPS_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/ic/ic-state.h ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698