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

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

Issue 1386313005: [Interpreter] Adds Object literal support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_literal_2
Patch Set: Created 5 years, 2 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTERPRETER_INTERPRETER_H_ 5 #ifndef V8_INTERPRETER_INTERPRETER_H_
6 #define V8_INTERPRETER_INTERPRETER_H_ 6 #define V8_INTERPRETER_INTERPRETER_H_
7 7
8 // Clients of this interface shouldn't depend on lots of interpreter internals. 8 // Clients of this interface shouldn't depend on lots of interpreter internals.
9 // Do not include anything from src/interpreter other than 9 // Do not include anything from src/interpreter other than
10 // src/interpreter/bytecodes.h here! 10 // src/interpreter/bytecodes.h here!
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void DoCompareOp(Token::Value compare_op, 59 void DoCompareOp(Token::Value compare_op,
60 compiler::InterpreterAssembler* assembler); 60 compiler::InterpreterAssembler* assembler);
61 61
62 // Generates code to perform a property load via |ic|. 62 // Generates code to perform a property load via |ic|.
63 void DoPropertyLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); 63 void DoPropertyLoadIC(Callable ic, compiler::InterpreterAssembler* assembler);
64 64
65 // Generates code to perform a property store via |ic|. 65 // Generates code to perform a property store via |ic|.
66 void DoPropertyStoreIC(Callable ic, 66 void DoPropertyStoreIC(Callable ic,
67 compiler::InterpreterAssembler* assembler); 67 compiler::InterpreterAssembler* assembler);
68 68
69 // Generates code create a literal using via |function_id|.
Michael Starzinger 2015/10/13 11:06:44 nit: Missing "to" and redundant "via" in this sent
rmcilroy 2015/10/13 17:04:53 Done.
70 void DoCreateLiteral(Runtime::FunctionId function_id,
71 compiler::InterpreterAssembler* assembler);
72
69 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); 73 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table);
70 74
71 Isolate* isolate_; 75 Isolate* isolate_;
72 76
73 DISALLOW_COPY_AND_ASSIGN(Interpreter); 77 DISALLOW_COPY_AND_ASSIGN(Interpreter);
74 }; 78 };
75 79
76 } // namespace interpreter 80 } // namespace interpreter
77 } // namespace internal 81 } // namespace internal
78 } // namespace v8 82 } // namespace v8
79 83
80 #endif // V8_INTERPRETER_INTERPRETER_H_ 84 #endif // V8_INTERPRETER_INTERPRETER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698