/external/v8/src/interpreter/ |
mkpeephole.cc | 12 #include "src/interpreter/bytecode-peephole-table.h" 33 std::string BytecodeName(Bytecode bytecode) { 34 return "Bytecode::k" + std::string(Bytecodes::ToString(bytecode)); 40 static_cast<size_t>(Bytecode::kLast) + 1; 59 PeepholeActionAndData LookupActionAndData(Bytecode last, Bytecode current); 60 void BuildRow(Bytecode last, Row* row); 81 Bytecode last, Bytecode current) [all...] |
bytecodes.cc | 10 #include "src/interpreter/bytecode-traits.h" 61 const char* Bytecodes::ToString(Bytecode bytecode) { 62 switch (bytecode) { 64 case Bytecode::k##Name: \ 74 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale) { 77 std::string value(ToString(bytecode)); 79 Bytecode prefix_bytecode = OperandScaleToPrefixBytecode(operand_scale); 88 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) [all...] |
bytecodes.h | 13 #include "src/interpreter/bytecode-operands.h" 24 // Format is V(<bytecode>, <accumulator_use>, <operands>). 292 /* and one for each operand widening prefix bytecode */ \ 307 /* Illegal bytecode (terminates execution) */ \ 396 enum class Bytecode : uint8_t { 402 // evaluate to the same value as the last real bytecode. 409 // The maximum number of operands a bytecode may have. 412 // Returns string representation of |bytecode|. 413 static const char* ToString(Bytecode bytecode); 426 Bytecode bytecode = static_cast<Bytecode>(value); local [all...] |
bytecode-dead-code-optimizer.cc | 5 #include "src/interpreter/bytecode-dead-code-optimizer.h" 28 switch (node->bytecode()) { 29 case Bytecode::kReturn: 30 case Bytecode::kThrow: 31 case Bytecode::kReThrow: 49 switch (node->bytecode()) { 50 case Bytecode::kJump: 51 case Bytecode::kJumpConstant:
|
bytecode-peephole-table.h | 50 // Replacement bytecode (if valid). 51 Bytecode bytecode; member in struct:v8::internal::interpreter::final 58 static const PeepholeActionAndData* Lookup(Bytecode last, Bytecode current); 62 static_cast<size_t>(Bytecode::kLast) + 1;
|
bytecode-array-writer.cc | 5 #include "src/interpreter/bytecode-array-writer.h" 8 #include "src/interpreter/bytecode-label.h" 9 #include "src/interpreter/bytecode-register.h" 57 DCHECK(!Bytecodes::IsJump(node->bytecode())); 64 DCHECK(Bytecodes::IsJump(node->bytecode())); 105 DCHECK_NE(node->bytecode(), Bytecode::kIllegal); 107 Bytecode bytecode = node->bytecode(); local [all...] |
interpreter.h | 46 // Creates a compilation job which will generate bytecode for |info|. 49 // Return bytecode handler for |bytecode|. 50 Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale); 73 // Bytecode handler generator functions. 81 // Generates handler for given |bytecode| and |operand_scale| using 83 void InstallBytecodeHandler(Zone* zone, Bytecode bytecode, 167 uintptr_t GetDispatchCounter(Bytecode from, Bytecode to) const [all...] |
bytecode-pipeline.h | 10 #include "src/interpreter/bytecode-register-allocator.h" 11 #include "src/interpreter/bytecode-register.h" 24 // Interface for bytecode pipeline stages. 29 // Write bytecode node |node| into pipeline. The node is only valid 34 // Write jump bytecode node |node| which jumps to |label| into pipeline. 40 // Binds |label| to the current bytecode location. This call implicitly 50 // Flush the pipeline and generate a bytecode array. 76 // statement position associated with 7 but no bytecode associated 133 // A container for a generated bytecode, it's operands, and source information. 137 INLINE(BytecodeNode(Bytecode bytecode 236 Bytecode bytecode() const { return bytecode_; } function in class:v8::internal::interpreter::final [all...] |
bytecode-peephole-optimizer.cc | 5 #include "src/interpreter/bytecode-peephole-optimizer.h" 57 // bytecode to next stage as appropriate. 73 return last_.bytecode() != Bytecode::kIllegal; 77 // An action shouldn't leave a NOP as last bytecode unless it has 80 DCHECK(node->bytecode() != Bytecode::kNop || node->source_info().is_valid()); 87 // The rules for allowing the elision of the last bytecode based 102 // expression positions. Whenever the last bytecode is elided it's 106 // The last bytecode could be elided for the MAYBE cases if the las [all...] |
bytecode-array-accessor.cc | 5 #include "src/interpreter/bytecode-array-accessor.h" 7 #include "src/interpreter/bytecode-decoder.h" 32 Bytecode current_bytecode = Bytecodes::FromByte(current_byte); 48 Bytecode BytecodeArrayAccessor::current_bytecode() const { 52 Bytecode current_bytecode = Bytecodes::FromByte(current_byte); 179 Bytecode bytecode = current_bytecode(); local 180 if (interpreter::Bytecodes::IsJumpImmediate(bytecode)) { 182 if (bytecode == Bytecode::kJumpLoop) [all...] |
bytecode-register-optimizer.h | 10 #include "src/interpreter/bytecode-pipeline.h" 17 // registers. The bytecode generator uses temporary registers 48 // Prepares for |bytecode|. 49 template <Bytecode bytecode, AccumulatorUse accumulator_use> 51 if (Bytecodes::IsJump(bytecode) || bytecode == Bytecode::kDebugger || 52 bytecode == Bytecode::kSuspendGenerator) [all...] |
/external/javassist/src/main/javassist/compiler/ |
ProceedHandler.java | 2 * Javassist, a Java-bytecode translator toolkit. 18 import javassist.bytecode.Bytecode; 28 void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError;
|
AccessorMaker.java | 2 * Javassist, a Java-bytecode translator toolkit. 19 import javassist.bytecode.*; 61 Bytecode code = new Bytecode(cp); 121 Bytecode code = new Bytecode(cp); 173 Bytecode code = new Bytecode(cp); 175 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); 179 code.addGetfield(Bytecode.THIS, fieldName, fieldType) [all...] |
Javac.java | 2 * Javassist, a Java-bytecode translator toolkit. 27 import javassist.bytecode.Bytecode; 28 import javassist.bytecode.CodeAttribute; 29 import javassist.bytecode.LocalVariableAttribute; 30 import javassist.bytecode.BadBytecode; 31 import javassist.bytecode.Opcode; 39 private Bytecode bytecode; field in class:Javac 52 this(new Bytecode(thisClass.getClassFile2().getConstPool(), 0, 0) [all...] |
/external/v8/src/debug/ |
debug-evaluate.cc | 15 #include "src/interpreter/bytecode-array-iterator.h" 329 bool BytecodeHasNoSideEffect(interpreter::Bytecode bytecode) { 330 typedef interpreter::Bytecode Bytecode; 332 if (Bytecodes::IsWithoutExternalSideEffects(bytecode)) return true; 333 if (Bytecodes::IsCallOrConstruct(bytecode)) return true; 334 if (Bytecodes::WritesBooleanToAccumulator(bytecode)) return true; 335 if (Bytecodes::IsJumpIfToBoolean(bytecode)) return true; 336 if (Bytecodes::IsPrefixScalingBytecode(bytecode)) return true 526 interpreter::Bytecode bytecode = it.current_bytecode(); local [all...] |
/external/javassist/src/main/javassist/ |
CtNewWrappedConstructor.java | 2 * Javassist, a Java-bytecode translator toolkit. 18 import javassist.bytecode.*; 37 Bytecode code = makeBody(declaring, declaring.getClassFile2(), 48 protected static Bytecode makeBody(CtClass declaring, ClassFile classfile, 58 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); 89 code.add(Bytecode.RETURN);
|
CtField.java | 2 * Javassist, a Java-bytecode translator toolkit. 18 import javassist.bytecode.*; 335 * @see javassist.bytecode.Descriptor 336 * @see javassist.bytecode.SignatureAttribute 410 * See {@link javassist.bytecode.AttributeInfo}. 427 * See {@link javassist.bytecode.AttributeInfo}. 813 abstract int compile(CtClass type, String name, Bytecode code, 819 Bytecode code, Javac drv) throws CannotCompileException; 829 int compile(CtClass type, String name, Bytecode code, 836 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)) [all...] |
CtNewMethod.java | 2 * Javassist, a Java-bytecode translator toolkit. 18 import javassist.bytecode.*; 231 Bytecode code = new Bytecode(cp, 2, 1); 236 code.addGetfield(Bytecode.THIS, fieldName, fieldType); 239 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); 272 Bytecode code = new Bytecode(cp, 3, 3); 278 code.addPutfield(Bytecode.THIS, fieldName, fieldType); 282 code.addPutstatic(Bytecode.THIS, fieldName, fieldType) [all...] |
CtNewWrappedMethod.java | 2 * Javassist, a Java-bytecode translator toolkit. 18 import javassist.bytecode.*; 44 Bytecode code = makeBody(declaring, declaring.getClassFile2(), body, 50 static Bytecode makeBody(CtClass clazz, ClassFile classfile, 58 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); 73 Bytecode code) 111 code.addInvokestatic(Bytecode.THIS, bodyname, desc); 113 code.addInvokespecial(Bytecode.THIS, bodyname, desc); 171 static int compileParameterList(Bytecode code [all...] |
CtMethod.java | 2 * Javassist, a Java-bytecode translator toolkit. 18 import javassist.bytecode.*; 285 Bytecode code = CtNewWrappedMethod.makeBody(clazz, 341 int compile(Bytecode code) throws CannotCompileException { 380 int compile(Bytecode code) throws CannotCompileException { 401 int compile(Bytecode code) throws CannotCompileException { 422 int compile(Bytecode code) throws CannotCompileException {
|
CtNewConstructor.java | 2 * Javassist, a Java-bytecode translator toolkit. 18 import javassist.bytecode.*; 141 Bytecode code = new Bytecode(cp, 1, 1); 151 code.add(Bytecode.RETURN);
|
/external/javassist/src/main/javassist/convert/ |
TransformBefore.java | 2 * Javassist, a Java-bytecode translator toolkit. 21 import javassist.bytecode.*; 83 Bytecode save = new Bytecode(cp, 0, 0); 84 Bytecode load = new Bytecode(cp, 0, 0); 96 private void makeCode2(Bytecode save, Bytecode load,
|
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
AnalyzerTest.java | 1 package test.javassist.bytecode.analysis; 10 import javassist.bytecode.AccessFlag; 11 import javassist.bytecode.BadBytecode; 12 import javassist.bytecode.Bytecode; 13 import javassist.bytecode.CodeIterator; 14 import javassist.bytecode.MethodInfo; 15 import javassist.bytecode.Opcode; 16 import javassist.bytecode.analysis.Analyzer; 17 import javassist.bytecode.analysis.Frame [all...] |
/external/javassist/src/main/javassist/util/proxy/ |
ProxyFactory.java | 2 * Javassist, a Java-bytecode translator toolkit. 29 import javassist.bytecode.*; 860 Bytecode code = new Bytecode(cp, 0, 0); 867 code.addOpcode(Bytecode.RETURN); [all...] |
/external/javassist/src/main/javassist/expr/ |
Cast.java | 2 * Javassist, a Java-bytecode translator toolkit. 19 import javassist.bytecode.*; 82 * Replaces the explicit cast operator with the bytecode derived from 114 Bytecode bytecode = jc.getBytecode(); local 115 storeStack(params, true, paramVar, bytecode); 118 bytecode.addConstZero(retType); 119 bytecode.addStore(retVar, retType); // initialize $_ 122 bytecode.addLoad(retVar, retType); 124 replace0(pos, bytecode, 3) [all...] |