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

Side by Side Diff: src/objects.h

Issue 25164003: Defer allocation of native function literals. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/parser.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 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 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 V(kLiveEdit, "LiveEdit") \ 1199 V(kLiveEdit, "LiveEdit") \
1200 V(kLookupVariableInCountOperation, \ 1200 V(kLookupVariableInCountOperation, \
1201 "lookup variable in count operation") \ 1201 "lookup variable in count operation") \
1202 V(kMapIsNoLongerInEax, "Map is no longer in eax") \ 1202 V(kMapIsNoLongerInEax, "Map is no longer in eax") \
1203 V(kModuleDeclaration, "Module declaration") \ 1203 V(kModuleDeclaration, "Module declaration") \
1204 V(kModuleLiteral, "Module literal") \ 1204 V(kModuleLiteral, "Module literal") \
1205 V(kModulePath, "Module path") \ 1205 V(kModulePath, "Module path") \
1206 V(kModuleStatement, "Module statement") \ 1206 V(kModuleStatement, "Module statement") \
1207 V(kModuleVariable, "Module variable") \ 1207 V(kModuleVariable, "Module variable") \
1208 V(kModuleUrl, "Module url") \ 1208 V(kModuleUrl, "Module url") \
1209 V(kNativeFunctionLiteral, "Native function literal") \
1209 V(kNoCasesLeft, "no cases left") \ 1210 V(kNoCasesLeft, "no cases left") \
1210 V(kNoEmptyArraysHereInEmitFastAsciiArrayJoin, \ 1211 V(kNoEmptyArraysHereInEmitFastAsciiArrayJoin, \
1211 "No empty arrays here in EmitFastAsciiArrayJoin") \ 1212 "No empty arrays here in EmitFastAsciiArrayJoin") \
1212 V(kNonInitializerAssignmentToConst, \ 1213 V(kNonInitializerAssignmentToConst, \
1213 "non-initializer assignment to const") \ 1214 "non-initializer assignment to const") \
1214 V(kNonSmiIndex, "Non-smi index") \ 1215 V(kNonSmiIndex, "Non-smi index") \
1215 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ 1216 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \
1216 V(kNonSmiValue, "Non-smi value") \ 1217 V(kNonSmiValue, "Non-smi value") \
1217 V(kNotEnoughVirtualRegistersForValues, \ 1218 V(kNotEnoughVirtualRegistersForValues, \
1218 "not enough virtual registers for values") \ 1219 "not enough virtual registers for values") \
(...skipping 23 matching lines...) Expand all
1242 V(kPropertyAllocationCountFailed, "Property allocation count failed") \ 1243 V(kPropertyAllocationCountFailed, "Property allocation count failed") \
1243 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ 1244 V(kReceivedInvalidReturnAddress, "Received invalid return address") \
1244 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ 1245 V(kReferenceToAVariableWhichRequiresDynamicLookup, \
1245 "reference to a variable which requires dynamic lookup") \ 1246 "reference to a variable which requires dynamic lookup") \
1246 V(kReferenceToGlobalLexicalVariable, \ 1247 V(kReferenceToGlobalLexicalVariable, \
1247 "reference to global lexical variable") \ 1248 "reference to global lexical variable") \
1248 V(kReferenceToUninitializedVariable, "reference to uninitialized variable") \ 1249 V(kReferenceToUninitializedVariable, "reference to uninitialized variable") \
1249 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ 1250 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \
1250 V(kRegisterWasClobbered, "register was clobbered") \ 1251 V(kRegisterWasClobbered, "register was clobbered") \
1251 V(kScopedBlock, "ScopedBlock") \ 1252 V(kScopedBlock, "ScopedBlock") \
1252 V(kSharedFunctionInfoLiteral, "Shared function info literal") \
1253 V(kSmiAdditionOverflow, "Smi addition overflow") \ 1253 V(kSmiAdditionOverflow, "Smi addition overflow") \
1254 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ 1254 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \
1255 V(kStackFrameTypesMustMatch, "stack frame types must match") \ 1255 V(kStackFrameTypesMustMatch, "stack frame types must match") \
1256 V(kSwitchStatementMixedOrNonLiteralSwitchLabels, \ 1256 V(kSwitchStatementMixedOrNonLiteralSwitchLabels, \
1257 "SwitchStatement: mixed or non-literal switch labels") \ 1257 "SwitchStatement: mixed or non-literal switch labels") \
1258 V(kSwitchStatementTooManyClauses, "SwitchStatement: too many clauses") \ 1258 V(kSwitchStatementTooManyClauses, "SwitchStatement: too many clauses") \
1259 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ 1259 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \
1260 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ 1260 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \
1261 V(kTheInstructionToPatchShouldBeALoadFromPc, \ 1261 V(kTheInstructionToPatchShouldBeALoadFromPc, \
1262 "The instruction to patch should be a load from pc") \ 1262 "The instruction to patch should be a load from pc") \
(...skipping 8970 matching lines...) Expand 10 before | Expand all | Expand 10 after
10233 } else { 10233 } else {
10234 value &= ~(1 << bit_position); 10234 value &= ~(1 << bit_position);
10235 } 10235 }
10236 return value; 10236 return value;
10237 } 10237 }
10238 }; 10238 };
10239 10239
10240 } } // namespace v8::internal 10240 } } // namespace v8::internal
10241 10241
10242 #endif // V8_OBJECTS_H_ 10242 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698